Table of Contents



Overview

In the UI and API, three distinct verbs are used to handle segments: Include, Exclude, and Require. Each verb applies different logic to segment targeting for line items.

Include Verb

When a segment is included in the targeting of a line item, any user who belongs to that segment will be targeted by the line item.

Example:
If a line item is targeting "include segment-1" and "include segment-2," the user will be targeted if they are in segment-1, segment-2, or both.


Exclude Verb

When a segment is excluded in the targeting of a line item, any user who belongs to that segment will not be targeted.

Example:
If a line item is targeting "exclude segment-3" and "exclude segment-4," a user will not be targeted if they are in either segment-3 or segment-4.


Require Verb

When a segment is required for targeting a line item, the user must belong to that segment in order to be targeted.

Example:
If a line item is targeting "require segment-5" and "require segment-6," the user must belong to both segment-5 and segment-6 to be targeted.


Mixing Include, Exclude, and Require

When multiple verbs are used together in a single targeting setup, the user must meet the criteria of all the verbs in order to be targeted.

Examples:

  1. Include + Require:
    If a line item targets "include segment-1", "include segment-2", and "require segment-5," the user must:

  2. Include + Exclude:
    If a line item targets "include segment-1", "include segment-2", "exclude segment-3", and "exclude segment-4," the user must:

  3. Exclude + Require:
    If a line item targets "exclude segment-3", "exclude segment-4", and "require segment-5," the user must: