Search Ads
Retrieving Ads for a Specific Advertiser
Ads created through Criteo’s API will be returned for the designated advertiser ID. Only ads created through API and Commerce Growth are returned. The API will return an array of the IDs, name, description (if specified), creative ID, ad set ID, start date and end date (if specified) for the specified advertiser ID. Please note that the advertiser ID is required in the request URL. The offset and limit are optionals.offset0 based index of the first ad to return in the response. The default is 0.
limitThe number of ads to be returned. The default is 50.
Example Response Body
Retrieving a Specific Ad
Ad created through Criteo’s API will be returned for the designated ad ID. The API will return an array of the ID, name, description (if specified), creative ID, ad set ID, start date and end date (if specified) for the specified ad ID. Please note that the ad ID is required in the request URL.JSON
Creating A New Ad
A new ad can be created for a specific advertiser and from an existing creative by making a POST call to the ads endpoint. The request body should specify the name, description (optional), creative id, adset id, start date and end date (optional) of the new ad.Example Response Body
Deleting an ad
An ad can be deleted by specifying the ad ID in the URL path of a DELETE call to the ads’ endpoint. The API will return an array with the ad ID that was deleted.Example Response Body
Validation Errors
user-request-forbidden-advertiser The user doesn’t have the permission to access the specified advertiser.
user-request-forbidden-creativeThe user doesn’t have the permission to access the specified creative.
user-request-forbidden-adThe user doesn’t have the permission to access the specified ad.
invalid-action-with-managed-creativeThe action cannot be performed on a managed service creative.
invalid-action-with-managed-adThe action cannot be performed on a managed service ad.
invalid-creative-action-with-status The action cannot be performed due to the status of the creative.
invalid-imageOne of the images provided is invalid. Please check the image requirements here
invalid-redirection-url-imageThe redirection URL specified doesn’t match the advertiser domain.
invalid-html-tagOne of the HTML tags is not supported. Please check the list of supported ad servers here
invalid-creative-requestInvalid request on the Creative endpoint.
invalid-ad-requestInvalid request on the Ad endpoint.