Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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)