HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

create

Creates a persistent target group in Optimizely Campaign.

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

Type: long

Parameters

NameTypeValue
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)

What’s Next
Did this page help you?