Lists audience segments (Customer Lists, lookalikes, pixel and engagement audiences) in a Snapchat Ads account
Lists audience segments (Customer Lists, lookalikes, pixel and engagement audiences) in a Snapchat Ads account. Segment IDs go into the ad squad targeting spec.
Select the Snapchat Ads account whose audience segments should be listed.
filters
array of FilterItem
No
-
Additional filters to apply when retrieving audience segments. The available fields to filter by are: - id: Filter by segment ID - name: Filter by segment name - source_type: Filter by source (FIRST_PARTY, ENGAGEMENT, PIXEL, MOBILE, FOOT_TRAFFIC_INSIGHTS, LOOKALIKE) - targetable_status: Filter by readiness (READY, NOT_READY, TOO_FEW_USERS) Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP_MATCH or IN_LIST.
limit
integer
No
100
Maximum number of segments to return. Default: 100.
The field to filter on, must be one of the current selected metrics or dimensions.
operator
string
Yes
-
The operator to use for filtering. Must be one of the supported values. Use REGEXP_MATCH to search/filter by multiple OR values like ’.(summer|holiday).’
value
string
Yes
-
The value to filter by, always as a string: text, a number, or a regex. For IN_LIST and NOT_IN_LIST, pass the values as one comma-separated string such as ‘a,b,c’, not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b.