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


Adds a target group condition using the AND operator in Optimizely Campaign.

Type: void


sessionIdStringID of the session
modificationIdStringIdentifier created by beginConditionModification .
negateConditionbooleanSee Type conversion and formatting rules
attributeNameStringSee Type conversion and formatting rules
operationStringSee Available operators
operationParametersString[ ]See Attribute values

Return values

  • Code structure

    void addAndCondition(String sessionId, String modificationId, boolean negateCondition, String attributeName, String operation, String[] operationParameters)