Experience Audiences - List

Returns the audiences of a member group, across all of its experiences. Deleted audiences are not returned. Results are ordered by audience_id ascending. An audience is a Databricks-computed group of users defined by an action rule (audience_criteria): users whose count of a given action (impression, click or conversion) within a lookback window of 1 to 60 days satisfies a comparison against a number, optionally limited to a product feed attribute value. Audiences belong to an experience and become targetable only after they are published. Requires the audience_builder_management permission (read) for the member group. The migration that created the permission grants read, write, create and delete to the Super Admin, Internal Admin and Client Admin roles. The endpoint is only available when the is-audience-builder-enabled feature flag is on for the caller; otherwise it returns 404. All filters are optional and combine with AND.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns the audiences of a member group across all of its experiences, ordered by audience_id ascending, without deleted audiences. An audience is a Databricks-computed group of users defined by an action rule: users whose number of impressions, clicks or conversions within a lookback window of 1 to 60 days meets a comparison against a count, optionally limited to a product feed attribute value. An audience belongs to an experience and can be targeted only after it is published.

Callers need the audience builder permission (read) for the member group, which the Super Admin, Internal Admin and Client Admin roles have. The endpoint is only available when the audience builder feature is enabled for the caller; otherwise it responds as if it did not exist.

Inputs

Field Type Description Required
memberGroupId integer (path) The member group id (provided by Koddi) Yes
status string (query) Return only audiences with this status (exact match): inactive, pending or active. No
published boolean (query) Return only published (true) or unpublished (false) audiences. No
search string (query) Case-insensitive substring match on the audience name. No
audience_guid string (query) Return only the audience with this GUID. No
experience_id integer (query) Return only audiences of this experience. No
limit integer (query) Maximum audiences to return. Default and maximum 200; values below 1 or above 200 are treated as 200. No
offset integer (query) Number of audiences to skip. Default 0. No

Response

The body is {"status": "success", "result": {"audiences": [...]}}. Each item in audiences has these fields:

Field Type Description
audience_id integer The audience ID.
member_group_id integer The member group that owns the audience.
audience_guid string The audience GUID (UUID generated when the audience is created). Once published, it is the value of the experience's Audience (user_segments) targeting option.
audience_name string The audience name.
audience_description string The audience description. Empty string when none was given.
experience_id integer The experience the audience belongs to.
experience_targeting_id integer or null The ID of the targeting dimension the audience was published into. Null until published.
experience_targeting_option_id integer or null The ID of the targeting option created when the audience was published. Null until published.
published boolean True once the audience has been published.
audience_criteria.action_count integer The number of actions the user must have, compared using action_comparison.
audience_criteria.action_comparison string One of >, >=, ==, <=, <.
audience_criteria.action_type string One of impression, click, conversion.
audience_criteria.lookback_window integer Lookback window in days (1 to 60).
audience_criteria.product_feed_attr object or null Optional product feed attribute filter; null when the audience has none.
audience_criteria.product_feed_attr.attribute_id integer The product feed attribute ID.
audience_criteria.product_feed_attr.attribute_value string The attribute value to match.
audience_count integer or null Number of users in the audience, written back from the Databricks job result. Null until a result is received.
ad_groups_targeting_count integer or null The number of active ad groups that target this audience. Null when the audience is not published.
status string inactive, pending or active. New audiences are inactive; publishing sets pending; the Databricks result then sets the reported status.
synced_with_databricks boolean True when the criteria match the last successful Databricks run. Set to false when criteria change or a run fails.
last_databricks_update string (date-time) or null When the last Databricks result was recorded. Null if none yet.
created_by integer The ID of the user who created the audience.
created_at string (date-time) When the audience was created.
last_edited_by integer The ID of the user who last edited the audience.
last_edited_at string (date-time) When the audience was last edited.
Path Params
int32
required

The member group id (provided by Koddi)

Query Params
string

Return only audiences with this status (exact match). Audience statuses are inactive, pending and active.

boolean

Return only published (true) or unpublished (false) audiences. Must be a boolean value.

Return only audiences whose name contains this text (case-insensitive substring match).

string

Return only the audience with this GUID.

integer

Return only audiences of this experience. 0 or omitted means no filter.

integer
≤ 200
Defaults to 200

Maximum number of audiences to return. Values below 1 or above 200 are treated as 200.

integer
Defaults to 0

Number of audiences to skip.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json