Search Creatives
Retrieving Creatives for a Specific Advertiser
Creatives created through Criteo’s API will be returned for the designated advertiser ID. Only static images, HTML Ad Tags, Adaptive and dynamic creatives created through API and Commerce Growth are returned. The API will return an array of the IDs, formats and creative specific attributes 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 creative to return in the response. The default is 0.
limitThe number of creatives to be returned. The default is 50.
Retrieving a Specific Creative
Creative created through Criteo’s API will be returned for the designated creative ID. The API will return an array of the ID, format and creative specific attributes for the specified creative ID. Please note that the creative ID is required in the request URL.Generating new Creatives
You can use API endpoints detailed below to generate new creatives. Depending on the Creative format chosen some attributes will vary. Here is the list of attributes that can be included in the request. If not specified as optional, the attribute is mandatory.nameThe name of Creative
description (optional)The description of Creative
formatIt should have the value
Image, Dynamic, Adaptive or HtmlTag
datasetIdDataset linked to the Creative
ImageWriteAttributes (optional)Encapsulates all the attributes of Image creatives, it’s mandatory only for creatives of that format.
HtmlTagWriteAttributes (optional)Encapsulates all the attributes of HtmlTag creatives, it’s mandatory only for creatives of that format.
DynamicWriteAttributes (optional)Encapsulates all the attributes of Dynamic creatives, it’s mandatory only for creatives of that format.
AdaptiveWriteAttributes (optional)Encapsulates all the attributes of Adaptive creatives, it’s mandatory only for creatives of that format.
Creating A New Image Creative
A new image creative can be created for a specific advertiser by making a POST call to the creatives endpoint. The request body should specify the name, adset id, description (optional), format (Image), dataset ID and image attributes of the new image creative.
Creating a new HTML Ad Tags
A new HTML Ad Tag can be created for a specific advertiser by making a POST call to the creatives endpoint. The request body should specify the name, adset id, description (optional), format (HtmlTag), dataset ID and HTML attributes of the new HTML creative.
Creating a new dynamic creative
A new dynamic creative can be created for a specific advertiser by making a POST call to the creatives endpoint. The request body should specify the name, adset id, description (optional), format (Dynamic), dataset ID, inventory type (native or display) and dynamic attributes of the new HTML Tag creative.
Dynamic attributes
logoBase64StringLogo displayed in the banner.
creativeBackgroundColorBackground colour of the banner. Hexadecimal value
bodyTextColorMain text colour used in the banner. Hexadecimal value
pricesColorColour applied to the product prices. Hexadecimal value
primaryFontPrimary font used in the banners. Available fonts listed here
callsToActionArray of Call-to-Action.
productImageDisplayDisplay format of the product images. Can be
ShowFullImage (images fit inside the allocated space) or ZoomOnImage. If you choose ZoomOnImage, there may be some image cropping
Creating a new Adaptive creative
A new Adaptive creative can be created for a specific advertiser by making a POST call to the creatives endpoint. The path should specify the Advertiser Id. The request body should specify the adaptiveWriteAttributes . adaptiveWriteAttributes elementslayoutsThe adaptive formats that should be enabled. It can contain any of the following values: “Editorial”, “Montage“ or “InBannerVideo”.
logoBase64StringLogo image as a base-64 encoded string Accepted formats: jpeg, png under 5MB (same as dynamic creatives)
headlineTextThe headline of the banner.
headlineFontThe font of the headline.
descriptionTextThe description of the banner.
descriptionFontThe font of the description.
colorsThe color aliases used by Adaptive banners in Hexadecimal format. All of the following have to be defined: → logoAreaAndTitleColor: The color of the logo area → backgroundColor: The color of the background. → text1Color: The color of the headline and description. → text2Color: The color of the image set headline. → ctaBackgroundColor: The color of the background of the cta button. → ctaTextColor: The color of the text in cta button.
callsToActionA Call-to-Action (CTA) is an action-driven instruction to your audience intended to provoke an immediate response, such as “Buy now” or “Go!”.
ImageSetsBase64Represents multiple image sets, each image set consists of the headline and multiple images in base64. Accepted formats: jpeg, png, under 5MB NOTE: this field becomes required only if Montage layout is enabled, the field is useless for the other formats
imageDisplayValue can be “ShowFullImage” or “ZoomOnImage”. Choose whether your image set should fit inside the allocated space (“ShowFullImage”) or whether they should fill that space (“ZoomOnImage”). If ZoomOnImage is chosen, there may be some image cropping. NOTE: the field becomes required when Montage layout is enabled or if the the scope of the ad that the user wants to create later is Native, this option is not used in the other cases
videoBase64StringsRepresents one video as base64 in different ratios. Ideally 2 videos will be provided, one having a horizontal ratio and the other one a vertical ratio so that the use can deploy its creative. Accepted formats: mp4, under 25MB. NOTE: this field becomes required only if “InBannerVideo” layout is enabled.
landingPageUrlThe web redirection url to which the user will be redirected upon clicking on the banner
Previewing a Creative
You can generate the preview HTML of a creative given a size (width x height). The parameters are passed as query parameters and not in the body. Dynamic attributescreative-id(mandatory) The id of the creative to preview
height(mandatory) the height of the banner to generat
width(mandatory) the width of the banner to generate
Updating a creative
The creative name, description and creative specific attributes can be updated by making a PUT request to the creatives endpoint with a specific creative ID in the URL path. Please note that the advertiser ID, dataset ID, ad set ID and format (Image, HtmlTag,Adaptive or Dynamic) are required in the PUT body.
Deleting a creative
A creative can be deleted by specifying the creative id in the URL path of a DELETE call to the creatives endpoint. The API will return an array with the creative ID that was deleted.Validation Errors
user-request-forbidden-advertiserThe 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-statusThe 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.