Campaigns Endpoints
View and manage all your campaigns
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /accounts/{accountId}/campaigns | Create a new campaign for the specified account. |
| GET | /accounts/{accountId}/campaigns | Retrieve all campaigns associated with the specified account. |
| GET | /campaigns/{campaignId} | Retrieve details of a specific campaign by its ID. |
| PUT | /campaigns/{campaignId} | Update details of a specific campaign by its ID. |
Create Operations:
- When using the
POSTmethod to create a resource, all Required fields must be included. Any Optional fields that are omitted will be set to their default values.Update Operations:
- When using the
PUTmethod to update a resource, all Write fields can be specified. Omitting any of these fields is treated as setting them tonull, where applicable.
Campaign Attributes
Attribute | Data Type | Description |
|---|---|---|
|
| Campaign ID, generated internally by Criteo Accepted values: int64 |
|
| Account ID associated with the campaign, generated internally by Criteo Accepted values: int64 |
|
| Campaign name; must be unique within an Account Accepted values: up to 255-chars string |
|
| Campaign type Accepted values: |
|
| Campaign lifetime spend cap; uncapped if omitted or set to Accepted values: equals/greater than zero |
|
| Amount the campaign has already spent Accepted values: equals/greater than zero |
|
| Amount the campaign has remaining until cap is hit; Accepted values: between zero and |
| list | List of brand IDs from promoted products in the campaign, originated from the retailer's Catalog - see also Brands Accepted values: list of strings |
|
| Post-click attribution window Accepted values: |
|
| Post-view attribution window Accepted values: |
|
| Post-click attribution scope Accepted values: |
|
| Post-view attribution scope Accepted values: |
| list | List of Balances the campaign is able to draw from; at least one balance is required for a campaign to start Accepted values: list of |
|
| Campaign status, derived from the status of Line Items it holds; Accepted values: |
|
| The maximum monthly spend allowed for the campaign in the currency of the account. The spend is constrained by remaining account balance and total budget of the campaign. Monthly budget spend reset monthly at the start of the month based on the account timezone Accepted values: |
|
| The maximum daily spend allowed for the campaign in the currency of the account, as long as not set to Accepted values: |
|
| Auto daily pacing flag for the campaign budget. The daily pacing value is automatically calculated with respect to the days left in the month for the account. The campaign's remaining account balance, total budget, and monthly pacing value are constrained by account's timezone and the campaign status. If auto daily pacing is enabled, Accepted values: |
|
| Campaign start date. The campaign starts inactive if invalid start date is not today or end date is in previous day. Accepted values: ⚠️ Note: if time/timezone designators are not provided, the default value to be considered will be |
|
| Campaign end date. The campaign starts inactive if invalid start date is not today or end date is in previous day Accepted values: ⚠️ Note: if time/timezone designators are not provided, the default value to be considered will be |
|
| Timestamp of campaign creation, in UTC Accepted values: |
|
| Timestamp of last campaign update, in UTC Accepted values: |
|
| This optional field, exclusively accessible to marketplaces within the European Union (in compliance with the Digital Service Act - DSA), will display the name of the company associated with the advertisement. Accepted values: up to 255-chars string |
|
| This optional field, exclusively accessible to marketplaces within the European Union (in compliance with the Digital Service Act - DSA), will display the name of the company (on behalf of Accepted values: up to 255-chars string |
|
| The retailer this campaign is associated with. Writeable? Y (at create) / Nullable? Y (for non-retailer-budget campaigns) |
(*) Required for create operations
Digital Service Act (DSA)In compliance with the Digital Services Act (DSA), marketplaces within the European Union will receive information about the company name associated with each advertisement.
Create a Campaign
This endpoint creates a Sponsored Products (type: auction) or Onsite Display (type: preferred) campaign.
Retailer budget vs Criteo budget: Including retailerId in the request creates a retailer budget campaign. Omitting retailerId (or setting it to null) creates a standard Criteo budget campaign — retailerId will be null in the response.
Balance mapping at create time: You may optionally include drawableBalanceIds to map the campaign to one or more retailer budget balances at creation. All compatibility rules apply (same retailer, same billing type, same demand account). You can also map balances separately after creation using POST /balances/{balanceId}/campaigns/append.
Note on
403vs400A
403on campaign create means theretailerIdyou set is not recognized as an authorized retailer for your account. A400with a specific mismatch code means the retailer is valid but incompatible with the balance you included (see Error responses).Legacy version behavior (
2025-10and earlier): Returns400when attempting to create a retailer budget campaign.
Retailer budgets campaigns
When creating a campaign for a retailer-budget balance,
retailerIdmust be provided and must match theretailerIdof the balance. Mismatched values will return aRetailerMismatchWithBalanceerror. Learn more about Retailer budgets here.

https://api.criteo.com/{version}/retail-media/accounts/{accountId}/campaigns
Sample Request
curl -L -X POST 'https://api.criteo.com/2026-01/retail-media/accounts/{accountId}/campaigns' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <MY_ACCESS_TOKEN>' \
-d '{
"data": {
"type": "Campaign",
"attributes": {
"name": "My Retailer Budget Campaign",
"type": "auction",
"retailerId": "123",
"drawableBalanceIds": ["100000000000000001"],
"startDate": "2026-06-01T00:00:00+00:00",
"clickAttributionWindow": "30D",
"viewAttributionWindow": "none",
"clickAttributionScope": "sameSkuCategory",
"viewAttributionScope": "sameSkuCategory",
"isAutoDailyPacing": false
}
}
}'Sample Response
{
"data": {
"id": "100000000000000001",
"type": "RetailMediaCampaignV202301",
"attributes": {
"accountId": "123",
"promotedBrandIds": [],
"budgetSpent": 0.0,
"budgetRemaining": null,
"status": "inactive",
"createdAt": "2026-05-29T20:33:27+00:00",
"updatedAt": "2026-05-29T20:33:27+00:00",
"type": "auction",
"drawableBalanceIds": ["100000000000000001"],
"clickAttributionWindow": "30D",
"viewAttributionWindow": "none",
"retailerId": 123,
"name": "My Retailer Budget Campaign",
"budget": null,
"monthlyPacing": null,
"dailyPacing": null,
"isAutoDailyPacing": false,
"startDate": "2026-06-01T00:00:00+00:00",
"endDate": null,
"clickAttributionScope": "sameSkuCategory",
"viewAttributionScope": "sameSkuCategory",
"companyName": null,
"onBehalfCompanyName": null
}
}
}Get All Campaigns by Account ID
This endpoint returns all campaigns for an account.
As of
2026-01,retailerIdis included in each campaign's attributes. Use theretailerIdquery parameter to filter campaigns by retailer.Legacy version behavior (
2025-10and earlier): Retailer budget campaigns are not returned;retailerIdis not present in the attribute set.
Results are paginated using pageIndex and pageSize query parameters; if omitted, defaults to 0 and 25, respectively - see API Response

https://api.criteo.com/{version}/retail-media/accounts/{accountId}/campaigns?pageIndex={pageIndex}&pageSize={pageSize}
Sample Request
curl -L -X GET 'https://api.criteo.com/2026-01/retail-media/accounts/{accountId}/campaigns' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <MY_ACCESS_TOKEN>'import requests
url = "https://api.criteo.com/{version}/retail-media/accounts/4/campaigns?pageIndex=8&pageSize=2"
payload={}
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <MY_ACCESS_TOKEN>'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://api.criteo.com/{version}/retail-media/accounts/4/campaigns?pageIndex=8&pageSize=2")
.method("GET", body)
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer <MY_ACCESS_TOKEN>")
.build();
Response response = client.newCall(request).execute();<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.criteo.com/{version}/retail-media/accounts/4/campaigns?pageIndex=8&pageSize=2');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Accept' => 'application/json',
'Authorization' => 'Bearer <MY_ACCESS_TOKEN>'
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}Sample Response
{
"metadata": {
"totalItemsAcrossAllPages": 2533,
"currentPageSize": 25,
"currentPageIndex": 0,
"totalPages": 102
},
"data": [
{
"id": "100000000000000001",
"type": "RetailMediaCampaignV202301",
"attributes": {
"accountId": "123",
"promotedBrandIds": [],
"budgetSpent": 0.0,
"budgetRemaining": null,
"status": "inactive",
"createdAt": "2026-05-29T20:00:47+00:00",
"updatedAt": "2026-05-29T20:00:47+00:00",
"type": "auction",
"drawableBalanceIds": ["100000000000000002"],
"clickAttributionWindow": "30D",
"viewAttributionWindow": "none",
"retailerId": 123,
"name": "Sample Name",
"budget": null,
"monthlyPacing": null,
"dailyPacing": null,
"isAutoDailyPacing": false,
"startDate": "2026-06-01T00:00:00+00:00",
"endDate": null,
"clickAttributionScope": "sameSkuCategory",
"viewAttributionScope": "sameSkuCategory",
"companyName": null,
"onBehalfCompanyName": null
}
}
]
}Get a Specific Campaign
This endpoint retrieves the specified campaign.
As of
2026-01,retailerIdis included in the response attributes. Retailer budget campaigns also surfacecriteoPoNumberandretailerPoNumberfrom the mapped balance.Legacy version behavior (
2025-10and earlier): Returns400for retailer budget campaigns.

https://api.criteo.com/{version}/retail-media/campaigns/{campaignId}
Sample Request
curl -L -X GET 'https://api.criteo.com/{version}/retail-media/campaigns/1240' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <MY_ACCESS_TOKEN>'import http.client
conn = http.client.HTTPSConnection("api.criteo.com")
payload = ''
headers = {
'Accept': 'application/json',
'Authorization': 'Bearer <MY_ACCESS_TOKEN>'
}
conn.request("GET", "/{version}/retail-media/campaigns/1240", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://api.criteo.com/{version}/retail-media/campaigns/1240")
.method("GET", body)
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Bearer <MY_ACCESS_TOKEN>")
.build();
Response response = client.newCall(request).execute();<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.criteo.com/{version}/retail-media/campaigns/1240');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Accept' => 'application/json',
'Authorization' => 'Bearer MY_ACCESS_TOKEN>'
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}Sample Response
{
"data": {
"id": "100000000000000001",
"type": "RetailMediaCampaignV202301",
"attributes": {
"accountId": "123",
"promotedBrandIds": [],
"budgetSpent": 0.0,
"budgetRemaining": null,
"status": "inactive",
"createdAt": "2026-05-29T20:00:47+00:00",
"updatedAt": "2026-05-29T20:00:47+00:00",
"type": "auction",
"drawableBalanceIds": ["100000000000000002"],
"clickAttributionWindow": "30D",
"viewAttributionWindow": "none",
"retailerId": 123,
"name": "Sample Name",
"budget": null,
"isAutoDailyPacing": false,
"startDate": "2026-06-01T00:00:00+00:00",
"endDate": null,
"clickAttributionScope": "sameSkuCategory",
"viewAttributionScope": "sameSkuCategory",
"companyName": null,
"onBehalfCompanyName": null
}
}
}Update a Specific Campaign
This endpoint allows you to update a specified campaign. The following example demonstrates how to switch to an uncapped campaign budget and modify the post-view attribution window.
Legacy version behavior (
2025-10and earlier): Returns400for retailer budget campaigns.

https://api.criteo.com/{version}/retail-media/campaigns/{campaignId}
Sample Request
curl -L -X PUT 'https://api.criteo.com/2026-01/retail-media/campaigns/{campaignId}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <MY_ACCESS_TOKEN>' \
-d '{
"data": {
"type": "Campaign",
"attributes": {
"name": "Updated Campaign Name",
"endDate": "2026-12-31T23:59:59+00:00"
}
}
}'Sample Response
{
"data": {
"id": "100000000000000001",
"type": "RetailMediaCampaignV202301",
"attributes": {
"accountId": "123",
"promotedBrandIds": [],
"budgetSpent": 0.0,
"budgetRemaining": null,
"status": "inactive",
"createdAt": "2026-05-29T20:00:47+00:00",
"updatedAt": "2026-05-29T20:00:47+00:00",
"type": "auction",
"drawableBalanceIds": ["100000000000000002"],
"clickAttributionWindow": "30D",
"viewAttributionWindow": "none",
"retailerId": 123,
"name": "Sample Name",
"budget": null,
"isAutoDailyPacing": false,
"startDate": "2026-06-01T00:00:00+00:00",
"endDate": null,
"clickAttributionScope": "sameSkuCategory",
"viewAttributionScope": "sameSkuCategory",
"companyName": null,
"onBehalfCompanyName": null
}
}
}Responses
All validation errors on campaign create use
code: "validation-error".The error type is identified by a bracketed prefix in the
titlefield.
| Status | Title | Description |
|---|---|---|
🔴 400 | [retailer-id-mismatch] | The retailerId on the campaign doesn't match the retailerId on one of the balances in drawableBalanceIds. Also returned when balances from multiple retailers are included. Full message: "Cannot map campaign {id} to insertion order {id}: they belong to different retailers." |
🔴 400 | [balance-type-mismatch] | Billing type mismatch — e.g. retailer budget campaign with a Criteo budget balance, or no-retailerId campaign with a retailer budget balance. Full message: "Cannot map campaign {id} to insertion order {id}: cannot map Criteo-budget balance to retailer-budget campaign". |
🔴 400 | [account-mismatch] | The balance in drawableBalanceIds belongs to a different demand account than the campaign being created. |
🔴 403 | authorization-unknown | The retailerId in the request is not recognized as an authorized retailer for this account — either the retailer ID is invalid or the account has not been approved as an authorized buyer. Use GET /retailers/search to discover eligible retailers first. A 403 does not mean a retailer mismatch; it means the retailer is unknown to the account. |
🔴 400 | Invalid isAutoDailyPacing | Cannot turn on IsAutoDailyPacing and add a DailyPacing value. IsAutoDailyPacing and Daily Pacing cannot be active at the same time. |
🔴 400 | Invalid Budget | Budget is not allowed for the Preferred campaign. |
🔴 400 | RetailerMismatchWithBalance | Campaign retailerId does not match the balance retailerId. Ensure the retailerId in campaign settings matches the retailerId on the balance you are associating. |
Updated about 10 hours ago