Skip to main content
POST
/
preview
/
retail-media
/
accounts
/
{account-id}
/
creatives
/
search
/preview/retail-media/accounts/{account-id}/creatives/search
curl --request POST \
  --url https://api.criteo.com/preview/retail-media/accounts/{account-id}/creatives/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "attributes": {
      "brandIds": [
        "<string>"
      ],
      "creativeIds": [
        "<string>"
      ],
      "creativeName": "<string>",
      "creativeTypes": [],
      "pageTypes": [],
      "retailerIds": [
        "<string>"
      ],
      "templateIds": [
        "<string>"
      ]
    },
    "id": "<string>",
    "type": "<string>"
  }
}
'
{
  "data": [
    {
      "attributes": {
        "brandId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "lineItems": [
          "<string>"
        ],
        "modifiedAt": "2023-11-07T05:31:56Z",
        "name": "<string>",
        "pageType": [],
        "preview": "<string>",
        "retailerId": "<string>",
        "templateId": "<string>"
      },
      "id": "<string>",
      "type": "<string>"
    }
  ],
  "errors": [
    {
      "code": "<string>",
      "detail": "<string>",
      "instance": "<string>",
      "source": {},
      "stackTrace": "<string>",
      "title": "<string>",
      "traceId": "<string>"
    }
  ],
  "warnings": [
    {
      "code": "<string>",
      "detail": "<string>",
      "instance": "<string>",
      "source": {},
      "stackTrace": "<string>",
      "title": "<string>",
      "traceId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

account-id
string
required

External account id to retrieve creatives for

Query Parameters

limit
integer<int32>
default:50

limit to paginated result

Required range: 1 <= x <= 500
offset
integer<int32>
default:0

offset to paginated result

Required range: 0 <= x <= 2147483647

Body

application/json

search request filter

A top-level object that encapsulates a Criteo API request for a single entity.

data
object

A domain entity exposed by the API, identified by a unique id.

Response

200 - application/json

Creatives found

A top-level object that encapsulates a Criteo API response for several entities.

data
object[] | null
errors
object[] | null
read-only

Errors that occured during this call.

warnings
object[] | null
read-only

Warnings that occured during this call.