HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

addAndCondition

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

Type: void

Parameters

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

What’s Next
Did this page help you?