Experience Audience - Get by GUID

Returns one audience by its GUID. The GUID is the UUID generated when the audience was created; once the audience is published it is the value of the experience's Audience (user_segments) targeting option, so this lookup resolves a targeting value back to the audience. The audience must belong to the member group and experience in the path and must not be deleted; otherwise 404. For advertiser-level roles the caller must also have access to the experience; otherwise 404. ad_groups_targeting_count is always null on this endpoint. Requires the experience_configuration_management permission (read) for the member group; the migration that created it grants read to all eight standard roles (Super Admin, Internal Admin, Client Admin, Client Viewer and the four advertiser roles). The endpoint is only available when the is-audience-builder-enabled feature flag is on for the caller; otherwise it returns 404.

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

Returns one audience by its GUID. The GUID is generated when the audience is created. After the audience is published it is the value of the experience's Audience (user_segments) targeting option, so this endpoint lets you resolve a targeting value to its audience. The audience must belong to the member group and experience in the path and must not be deleted. Advertiser-level users must also have access to the experience.

Unlike the other audience reads, this one needs the experience configuration (read) permission, which all standard roles have, not the audience builder permission. It is still only available when the audience builder feature is enabled for the caller.

Inputs

Field Type Description Required
memberGroupId integer (path) The member group id (provided by Koddi) Yes
experienceId integer (path) The experience ID Yes
audienceGuid string (path) The audience GUID. Yes

Response

The body is {"status": "success", "result": {...}} where result is the audience:

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 Always null on this endpoint.
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)

int32
required

The experience ID

string
required

The audience GUID (the UUID string generated when the audience was created)

Responses

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