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

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)