Executes Promo Assets matching the search criteria
Behaviour
This API retrieves promo assets that match the specified search criteria and executes them using the user's data. Refer to the Query Parameters section below for available filtering options.
The response includes a list of executed promo assets that are ready for rendering.
Authentication
Authentication is not mandatory to access this API. However, if any promo asset rules rely on SSO data to function correctly, users without an SSO token will not meet the rule criteria and therefore will not match the variant. To utilise SSO-powered rules effectively, provide the user's SSO token, if available.
Query Parameters
This API supports a number of query parameters to filter and retrieve relevant promo assets.
-
pagesupports pagination. Page number, zero-indexed [optional, default = 0] -
sizesupports pagination. It is recommended never to exceed a value greater than 100 items [optional, default = 30] -
sort. Sort parameter. [optional, default=-publishDate] -
categoriesis a comma-delimited list of categories assigned to promo assets. The response will include all promo assets which have one of the specific categories set. -
titleis a string that is present in the promo asset title. The response will include all promo assets which have this string in the title. -
sortis the field used to sort the content, for example,publishDate. Adding a '-' to the sort field means to sort in descending order; for example,-publishDate. (The default sort is-publishDate.) -
linkedIdsis a comma-delimited list of data providers and their corresponding IDs. The response will include all promo assets which have one of the specific linkedIds set in the promo asset. The format of a list of linkedIds is:SOURCE:ID,ID,ID|SOURCE:ID|SOURCE:ID,IDand so forth. -
publishedparameter is a boolean filter that ensures only published assets are returned by the API -
deviceIdthe device ID associated to the user, if available. Helps supports rules utilising user data for anonymous users. -
startTimeFromfilter results to only include assets starting after or on the provided ISO 8601 (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') datetime -
startTimeTofilter results to only include assets starting before or on the provided ISO 8601 (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') datetime -
closeTimeFromfilter results to only include assets closing after or on the provided ISO 8601 (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') datetime -
closeTimeTofilter results to only include assets closing before or on the provided ISO 8601 (yyyy-MM-dd'T'HH:mm:ss.SSS'Z') datetime
