/2026-01/retail-media/accounts/{account-id}/creatives - Criteo Docs
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
API Request Example
cURL
curl --request POST \
--url https://api.criteo.com/2026-01/retail-media/accounts/{account-id}/creatives \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"retailerId": 123,
"templateId": 123,
"templateVariableValues": [
{
"id": "<string>",
"choiceVariableValue": {
"chosenOptions": [
"<string>"
]
},
"colorVariableValue": {
"color": "<string>"
},
"filesVariableValue": {
"assetIds": [
"<string>"
]
},
"hyperlinkVariableValue": {
"url": "<string>"
},
"textVariableValue": {
"text": "<string>"
},
"videoVariableValue": {
"duration": "<string>",
"height": 123,
"url": "<string>",
"width": 123
}
}
],
"brandId": 123,
"id": "<string>"
}
'
Python
import requests
url = "https://api.criteo.com/2026-01/retail-media/accounts/{account-id}/creatives"
payload = {
"name": "<string>",
"retailerId": 123,
"templateId": 123,
"templateVariableValues": [
{
"id": "<string>",
"choiceVariableValue": { "chosenOptions": ["<string>"] },
"colorVariableValue": { "color": "<string>" },
"filesVariableValue": { "assetIds": ["<string>"] },
"hyperlinkVariableValue": { "url": "<string>" },
"textVariableValue": { "text": "<string>" },
"videoVariableValue": {
"duration": "<string>",
"height": 123,
"url": "<string>",
"width": 123
}
}
],
"brandId": 123,
"id": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
JavaScript (Fetch API)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
retailerId: 123,
templateId: 123,
templateVariableValues: [
{
id: '<string>',
choiceVariableValue: {chosenOptions: ['<string>']},
colorVariableValue: {color: '<string>'},
filesVariableValue: {assetIds: ['<string>']},
hyperlinkVariableValue: {url: '<string>'},
textVariableValue: {text: '<string>'},
videoVariableValue: {duration: '<string>', height: 123, url: '<string>', width: 123}
}
],
brandId: 123,
id: '<string>'
})
};
fetch('https://api.criteo.com/2026-01/retail-media/accounts/{account-id}/creatives', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Response
{
"data": {
"attributes": {
"environments": [
{
"environments": []
}
],
"formatId": 123,
"name": "<string>",
"retailerId": 123,
"templateId": 123,
"templateName": "<string>",
"templateVariableValues": [
{
"id": "<string>",
"choiceVariableValue": { "chosenOptions": [ "<string>" ] },
"colorVariableValue": { "color": "<string>" },
"filesVariableValue": { "assetIds": [ "<string>" ] },
"hyperlinkVariableValue": { "url": "<string>" },
"textVariableValue": { "text": "<string>" },
"videoVariableValue": {
"duration": "<string>",
"height": 123,
"url": "<string>",
"width": 123
}
}
],
"associatedLineItemIds": [ "<string>" ],
"brandId": 123,
"id": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
},
"id": "<string>",
"type": "<string>"
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"source": {},
"stackTrace": "<string>",
"title": "<string>",
"traceId": "<string>",
"traceIdentifier": "<string>"
}
],
"warnings": [
{
"code": "<string>",
"detail": "<string>",
"instance": "<string>",
"source": {},
"stackTrace": "<string>",
"title": "<string>",
"traceId": "<string>",
"traceIdentifier": "<string>"
}
]
}
Authorization
The access token received from the authorization server in the OAuth 2.0 flow is required in the authorization header.