HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

createTemporary

Creates a temporary target group in Optimizely Campaign.

The target group becomes invalid after the end of the session.

πŸ“˜

Note

Temporary target groups cannot be used for mailings. Use them to filter the results of a query.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session
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 createTemporary(String sessionId, boolean negateCondition, String attributeName, String operation, String[] operationParameters)

What’s Next
Did this page help you?