Product Importer API
This document outlines the Criteo Product Catalog API, including its available endpoints and the schema used in request payloads.
Usage workflow
The following diagram provides a high-level overview of the API call sequence for submitting one or more products to Criteo’s database.

- Step 1: Authenticate your app by calling the
/oauth2/token
endpoint (please see the dedicated guide for Authentication ), - Step 2: Criteo API will authenticate and authorize your app, and return you an access token to be used in the following calls,
- Step 3: Post your products’ updates in a JSON payload, calling the
POST /preview/retail-media/catalog/products/batch
resource, - Step 4: The Criteo API will then process the requested updates to the specified products, which may take up to one hour to complete,
- Step 5: Get a report on the status of your import by calling
GET /preview/retail-media/catalog/products/batch/report/{operation-token}
Best Practices
- Avoid updating your entire product catalog daily. Instead, update only those products whose data has actually changed, as the API is not intended to function as a feed ingestion mechanism.
- Do not send updates for unchanged products. Make sure to only send requests for new, updated, or deleted products, unless the products are going to expire.
- To ensure data remains up to date, make sure to send product updates immediately after changes occur. Do not delay updates in order to batch multiple changes together.
- Avoid including multiple updates for the same product within a single batch request. Such batches will be rejected, and an error response will be returned.
- Ensure that products are updated before they expire. By default, a product remains active for 30 days after its last update. To extend this period, you may use the
expirationDate
field to specify a custom expiration date - up to one year in the future. - Submit a deletion batch immediately after a product is removed from your store. Do not rely on the expiration date, as this may result in the product being displayed even though it is no longer available.
- Use the same value for the
itemGroupId
field to group all product variants. Product variants are similar products that differ only in one or more specific product attributes. (size
,color
,material
,pattern
,age range
,gender
, etc.). - The
id
anditemGroupId
fields must be different. Use theid
field to uniquely identify a single product and useitemGroupId
to group multiple products as variants. - Don't mix up
itemGroupId
andid
attributes. TheitemGroupId
must be chosen outside of theid
range. If a product has the sameid
as an existingitemGroupId
or vice versa, the behavior is undefined and updates on your products may be ignored. - Make sure to provide
itemGroupId
information in addition to theid
when deleting a product variant to avoid any inconsistencies.
URLs and methods
URLs
- For AMERICAS: api.us.criteo.com
- For APAC: api.as.criteo.com
- Fr EMEA: api.eu.criteo.com
Methods
Method | HTTP Request | Description |
---|---|---|
Authenticate |
| Get the token necessary to perform any action through our API. |
Batch |
| Request an asynchronous batch operation of insertions, updates, and deletes. Returns the location of the report of the operation |
Report |
| Get the report of the batch processing |
Rate limitations
- 1000 products per batch,
- One
partner_id
per request, - Two updates or more of one product on the same batch is not allowed.
Authentication
This endpoint allows to get detailed information on API authentication in our authentication guide.
Type | Endpoint | Objective | Parameters | Remarks |
---|---|---|---|---|
POST |
| Get the token necessary to perform any action through our API |
| The token will be valid for 900s |
You will need this token as an authorization for every other endpoint, which is in the form of a bearer token.
Batch
Description
This endpoint is used to publish a batch of operations to insert, update and deletes products. The batch is processed asynchronously. The response provides an operationToken
which can be used to track the status of the report of the operation.
Type | Endpoint | Parameters | Schema |
---|---|---|---|
POST |
| ProductsCustomBatchRequest
|
Responses
HTTP code | Description | Schema |
---|---|---|
202 | Batch accepted. The status of the operation can be tracked using the report endpoint and the operationToken. | |
400 | Bad Request. Allowed error types and errors:
| |
401 | Unauthorized. Allowed error types and errors:
| |
403 | Forbidden. Allowed error types and errors:
| |
413 | Request too long | No Content |
429 | Too Many Requests. Allowed error types and errors:
| |
500 | Internal Server Error. Allowed error types and errors:
| |
503 | Service Unavailable. Allowed error types and errors:
|
Produces
application/json
Definitions
BatchAcceptedResponse
BatchAcceptedResponse
A batch was accepted. The report can be accessed using the reporting endpoint.
Name | Schema |
---|---|
operationToken required | string |
CustomAttribute
CustomAttribute
Defines a custom attribute of a product.
Name | Description | Schema |
---|---|---|
name required | The name of the attribute. Underscores will be replaced by spaces upon insertion. | string |
value | The value of the attribute. | string |
Error
Error
Error descriptor.
Name | Description | Schema |
---|---|---|
code required | A MACHINE-READABLE error code string in kebab-case. Unique across Criteo | string |
detail | A HUMAN-READABLE detailed explanation specific to this occurrence of the problem.This should not be more that 1 paragraph | string |
instance | A MACHINE-READABLE URI reference that identifies the specific occurrence of the problem. This could be useful when we want to the return the API Endpoint identifying the exact resource related to the error. | string |
title | A short, HUMAN-READABLE summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. | string |
traceId | The MACHINE-READABLE correlation ID provided by the gateway | string |
type | A MACHINE-READABLE code specifying error category. This information is used on client side to focus on certain type of error, to either retry some processing or display only certain type of errors. | string |
FailResponse
FailResponse
Error server response.
Name | Description | Schema |
---|---|---|
errors required | List of errors | Error - array |
warnings | List of warnings | Warning - array |
Installment
Installment
Defines the installment of a product.
Name | Description | Schema |
---|---|---|
amount optional | The amount the buyer has to pay per month. | Price |
months optional | The number of installments the buyer has to pay. | Object |
LoyaltyPoints
LoyaltyPoints
Defines how a client earns loyalty points after buying this product.
Name | Description | Schema |
---|---|---|
name optional | Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters. | string |
pointsValue optional | The retailer’s loyalty points in absolute value. | Object |
ratio optional | The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0. | Number (double) |
Price
Price
Defines a price.
Name | Description | Schema |
---|---|---|
currency optional | The price represented as a number. | string |
value optional | The currency of the price. | string |
Product
Product
Defines a product to be inserted or updated.
name | description | schema |
---|---|---|
id required | A unique identifier for the item. Aka Product ID. | string |
offerId | Not used by Criteo. | string |
title | Title of the item. (max 500 UTF-8 chars). | string |
description | Description of the item. RECOMMENDED. (max 5000 UTF-8 chars). | string |
link | URL directly linking to your item's page on your website. (max 1000 UTF-8 chars). | string |
imageLink | URL of an image of the item. Supported formats: PNG, JPEG, GIF. (max 2000 UTF-8 chars). | string |
additionalImageLinks | Additional URLs of images of the item. | string array |
contentLanguage | The 2-letter ISO 639-1 language code for the item. | string |
targetCountry | The CLDR territory code for the item. | string |
channel | The item's channel ( | enum ( |
expirationDate | Date on which the item should expire, as specified upon insertion, in ISO 8601 format. By default the value of the expirationDate is 30 days. | string |
adult | Set to true if the item is targeted towards adults. RECOMMENDED. | boolean |
kind | Identifies what kind of resource this is. | enum (content#product) |
brand | Brand of the item. RECOMMENDED. | string |
color | Color of the item. | string |
googleProductCategory | Google's category of the item (see Google product taxonomy). RECOMMENDED. | string |
gtin | Global Trade Item Number (GTIN) of the item. RECOMMENDED. | string |
itemGroupId | Shared identifier for all variants of the same product. RECOMMENDED. | string |
material | The material of which the item is made. | string |
mpn | Manufacturer Part Number (MPN) of the item. RECOMMENDED. | string |
pattern | The item's pattern (e.g. polka dots). | string |
price | Price of the item. RECOMMENDED. | |
salePrice | Advertised sale price of the item. RECOMMENDED. | |
salePriceEffectiveDate | Date range during which the item is on sale. | string |
sizes | Size of the item. RECOMMENDED. Only one value is allowed. For variants with different sizes, insert a separate product for each size with the same | string array |
taxes | Tax information. | ProductTax array |
customAttributes | A list of custom (merchant-provided) attributes. This is useful for submitting attributes not explicitly exposed by the API. Declaring attributes explicitly exposed by the API using is forbidden | CustomAttribute array |
identifierExists | False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada. | boolean |
installment | Number and amount of installments to pay for an item. Brazil only. | |
loyaltyPoints | Loyalty points that users receive after purchasing the item. Japan only. | |
multipack | The number of identical products in a merchant-defined multipack. To avoid any overflow issue, pass it as a string. | object |
customLabel0 | Custom label 0 for custom grouping of items in a Shopping campaign. | string |
customLabel1 | Custom label 1 for custom grouping of items in a Shopping campaign. | string |
customLabel2 | Custom label 2 for custom grouping of items in a Shopping campaign. | string |
customLabel3 | Custom label 3 for custom grouping of items in a Shopping campaign. | string |
customLabel4 | Custom label 4 for custom grouping of items in a Shopping campaign. | string |
isBundle | Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price. | boolean |
mobileLink | accounts.link to a mobile-optimized version of the landing page. | string |
availabilityDate | The day a pre-ordered product becomes available for delivery, in ISO 8601 format. | string |
unitPricingMeasure | The measure and dimension of an item. | |
unitPricingBaseMeasure | The preference of the denominator of the unit price. | |
shipping | Shipping rules. | ProductShipping array |
shippingLabel | The shipping label of the product, used to group product in account-level shipping rules. | string |
shippingLength | Length of the item for shipping. | |
shippingWidth | Width of the item for shipping. | |
shippingHeight | Height of the item for shipping. | |
shippingWeight | Weight of the item for shipping. | |
displayAdsId | An identifier for an item for dynamic Retargeting campaigns. | string |
displayAdsSimilarIds | Advertiser-specified recommendations. | string |
displayAdsTitle | Title of an item for dynamic Retargeting campaigns. | string |
displayAdsLink | URL directly to your item's landing page for dynamic Retargeting campaigns. | string |
displayAdsValue | Offer margin for dynamic Retargeting campaigns. | number (double) |
sellOnGoogleQuantity | The quantity of the product that is available for selling on Google. Supported only for online products. | object |
promotionIds | The unique ID of a promotion. | string array |
maxHandlingTime | Maximal product handling time (in business days). | object |
minHandlingTime | Minimal product handling time (in business days). | object |
costOfGoodsSold | Cost of goods sold. Used for gross profit reporting. | |
source | The source of the offer, i.e., how the offer was created. | enum ( |
includedDestinations | The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in | string array |
excludedDestinations | The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). | string array |
adsLabels | Similar to | string array |
adsRedirect | Allows advertisers to override the item URL when the product is shown within the context of Product Ads. | string |
| Category keys of the item (formatted as in productTypes). | string array |
productTypes | Categories of the item (formatted as in products data specification). | string array |
ageGroup | Target age group of the item. | string |
availability | Availability status of the item. RECOMMENDED. | string |
condition | Condition or state of the item. | string |
gender | Target gender of the item. | string |
sizeSystem | System in which the size is specified. Recommended for apparel items. | string |
sizeType | The cut of the item. Recommended for apparel items. | string |
energyEfficiencyClass | The energy efficiency class as defined in EU directive 2010/30/EU. | string |
minEnergyEfficiencyClass | The energy efficiency class as defined in EU directive 2010/30/EU. | string |
maxEnergyEfficiencyClass | The energy efficiency class as defined in EU directive 2010/30/EU. | string |
taxCategory | The tax category of the product, used to configure detailed tax nexus in account-level tax settings. | string |
transitTimeLabel | The transit time label of the product, used to group product in account-level transit time tables. | string |
sellerId | ⚠️ Deprecated Field, please use | string |
externalSellerId | The external id of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads and RetailMedia. | string |
| The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads and RetailMedia. | string |
adsGrouping | Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise. | string |
numberOfReviews | The number of customer reviews for the product | integer (int32) |
productRating | The product rating for the product | string |
badge | URL of a badge image to display on the product. | string |
ProductShipping
ProductShipping
Defines the shipping information of a product.
Name | Description | Schema |
---|---|---|
country optional | The CLDR territory code of the country to which an item will ship. | string |
locationGroupName | The location where the shipping is applicable, represented by a location group name. | string |
locationId | The numeric ID of a location that the shipping rate applies to as defined in the AdWords API. | object |
postalCode | The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using | string |
price | Fixed shipping price, represented as a number. | |
region | The geographic region to which a shipping rate applies. | string |
service | A free-form description of the service class or delivery speed. | string |
ProductShippingDimension
ProductShippingDimension
Defines the shipping dimension of a product.
Name | Description | Schema |
---|---|---|
| The unit of value. | string |
| The dimension of the product used to calculate the shipping cost of the item. | number |
ProductShippingWeight
ProductShippingWeight
Defines the shipping weight of a product.
Name | Description | Schema |
---|---|---|
| The unit of value. | string |
| The weight of the product used to calculate the shipping cost of the item. | number |
ProductTax
ProductTax
Defines the tax information of a product.
Name | Description | Schema |
---|---|---|
country optional | The country within which the item is taxed, specified as a CLDR territory code. | string |
locationId | The numeric ID of a location that the tax rate applies to as defined in the AdWords API. | object |
postalCode | The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using | string |
rate | The percentage of tax rate that applies to the item price. | number |
region | The geographic region to which the tax rate applies. | string |
taxShip | Set to true if tax is charged on shipping. | boolean |
ProductUnitPricingBaseMeasure
ProductUnitPricingBaseMeasure
Defines a measurement.
Name | Description | Schema |
---|---|---|
unit optional | The unit of the denominator. | string |
value optional | The denominator of the unit price. | object |
ProductUnitPricingMeasure
ProductUnitPricingMeasure
Defines a measurement.
Name | Description | Schema |
---|---|---|
unit optional | The unit of measure. | string |
value optional | The measurement of an item. | number (double) |
ProductsCustomBatchRequest
ProductsCustomBatchRequest
Name | Description | Schema |
---|---|---|
entries required | The request entries to be processed in the batch. | ProductsCustomBatchRequestEntry - array |
ProductsCustomBatchRequestEntry
ProductsCustomBatchRequestEntry
A batch entry encoding a single non-batch products request.
Name | Description | Schema |
---|---|---|
batchId optional | An entry ID, unique within the batch request. | integer (int64) |
feedId | Not used by Criteo. | string |
merchantId | The ID of the managing account. Criteo: the partnerId. | integer (int32) |
method | The method of the batch entry. | enum ( |
product | The product to insert. Only required if the method is insert. | |
productId | The Product ID to delete. Only defined if the method is delete. | string |
ReportDetailError
ReportDetailError
An error on a batch operation.
Name | Schema |
---|---|
isServerRelated required | boolean |
message | string |
type | enum ( |
ReportDetailErrors
ReportDetailErrors
A list of errors on a batch operation.
Name | Schema |
---|---|
errors required | ReportDetailError - array |
productId required | string |
ReportOkResponse
ReportOkResponse
The report on a given operationToken is ready.
Name | Description | Schema |
---|---|---|
errorDetails required | The list of errors with details. | ReportDetailErrors - array |
importRequestTimestamp | The date when the original batch request was sent. | integer (int64) |
numberOfProductsDeleted | The number of products deleted. | integer (int32) |
numberOfProductsInTheBatch | The number of products present in the batch. | integer (int32) |
numberOfProductsUpserted | The number of products upserted. | integer (int32) |
numberOfProductsWithErrors | The number of products with errors. | integer (int32) |
status | The status of the operation. The operation is completed when the status is one of: | enum ( |
For more information about the semantics of each field, please refer to the Criteo Product Feed Specification.
Report
Description
This endpoint gets the report of an asynchronous batch operation previously requested.
Type | Endpoint | Parameters | Schema |
---|---|---|---|
GET |
| operation-token
| string |
Responses
HTTP Code | Description | Schema |
---|---|---|
| The report object | |
| Bad Request. Allowed error types and errors:
| |
| Unauthorized. Allowed error types and errors:
| |
| Forbidden. Allowed error types and errors:
| |
| Not Found. Allowed error types and errors:
| |
| Too Many Requests | No Content |
| Internal Server Error. Allowed error types and errors:
| |
| Service Unavailable. Allowed error types and errors:
|
Produces
application/json
Support
For more information about this API, please reach out to your contact at Criteo.
Updated about 23 hours ago