NoteThis page contains large tables. To improve readability, collapse the left panel.
Logical Operators: AND/OR/NOT
Operators Based on Data Types
Logical Operators: AND/OR/NOT
Logical operators help in defining conditions for audience segmentation.Example: Segmenting Users Based on Conditions
To better understand these operators, let’s consider an example with two conditions:- Condition A – The customer is of the gender male
- Condition B – The customer has performed an event in the last 15 days
Operators Based on Data Types
When applying attributes, use the different data types accepted by the system to provide values for the fields. For example, when providing customer information such as gender, you can only input a string value likemale or female.
Below, you can find information about the different data types and the operators available for the them in the system.
String Operators
String values store textual information, such as gender (for example “male” or “female”) or city (for example, “New York,” “London”). The following table explains how different string operators work with examples:Integer Operators
Integer values represent whole numbers such as age, purchase count, or event occurrences. The following table explains how different integer operators work with examples:List of Objects (LOO) Operators
List of Objects (LOO) operators apply when an attribute contains multiple values, such as a list of purchased products, visited locations, or transaction records. The following table explains how different List of Object operators work with examples:Object/Non-Customer Data (NCE) Operators
Object/NCE Operators In Profile Attributes
When using Object attributes or Non-Customer Entities (NCE) in audience segmentation, you must specify the relevant properties or attributes in the audience criteria. The available operators depend on the data type of these properties, such as String or Integer.
How It Works
- If you select an Object, include its properties in the audience criteria.
- If you select an NCE, include its attributes in the audience criteria.
- Operators vary based on the data type of the chosen properties or attributes.

Object/NCE Operators In Calculated Attributes
When Objects or Non-Customer Entity (NCE) attributes are used in Calculated Attributes, the ANY or ALL operators are available. Based on the data type (String or integer) of the selected Object property or the NCE attribute, different operators are displayed as shown below.


