Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket


Creates a persistent target group in Optimizely Campaign.

The target group is still  valid after the end of the session.

Type: long


sessionIdStringID of the session
filterNameStringInternal name of the target group
negateConditionbooleanSee Type conversion and formatting rules
attributeNameStringSee Type conversion and formatting rules
operationStringSee Available operators
operationParametersString[ ]See Attribute values

Return values

ID of the target group

Code structure

long create(String sessionId, String filterName, boolean negateCondition, String attributeName, String operation, String[] operationParameters)