Endpoints
| Verb | Endpoint | Description |
|---|---|---|
| POST | /retail-media/accounts/{account-id}/audiences/search | Returns a list of audiences that match the provided filters. If present, the filters are AND’ed together when applied. You can search audiences by audience IDs, retailer IDs and/or segment IDs. |
Audience Attributes
| Attribute | Data Type | Description |
|---|---|---|
id | string | Audience ID, generated internally by CriteoAccepted values: string of int64 Writeable? N / Nullable? N |
name | string | Audience nameAccepted values: string Writeable? Y / Nullable? N |
description | string | Description of the AudienceAccepted values: string Writeable? Y / Nullable? N |
accountId | string | Account ID associated with the Audience, generated internally by CriteoAccepted values: string of int64 Writeable? N / Nullable? N |
retailerId* | string | Retailer ID, associated with the Audience Segment, generated internally by CriteoAccepted values: string of int64 Writeable? N / Nullable? N |
algebra | object | Algebra node with the definition of how the different audience segments are combined together to create the audience, using logical operators and, or and notAccepted values: see Algebra Nodes Writeable? N / Nullable? N |
createdAt | timestamp | Timestamp of Audience creation, in UTCAccepted values: yyyy-mm-ddThh:mm:ss.msZ (in ISO-8601 ) Writeable? N / Nullable? N |
createdById | string | User ID who created the Audience (null if created by a service)Accepted values: string Writeable? N / Nullable? Y |
updatedAt | timestamp | Timestamp of last Audience update, in UTCAccepted values: yyyy-mm-ddThh:mm:ss.msZ(in ISO-8601) Writeable? N / Nullable? N |
Search Audiences
This endpoint returns a list of audiences that match the provided filters. If present, the filters are AND’ed together when applied. You can search audiences by audience IDs, retailer IDs and/or segment IDs. Results are paginated usingoffset and limit query parameters; if omitted, defaults to 0 and 500, respectively - see API Response
Sample Request: searching by Retailer ID only