Overview
Line Item Creatives associate a Creative to a line item. If a creative support product mappings, the creative’s product collections define product placements within the creative. For more information on creative discovery (including product collection requirements), see Creative Search.Endpoints
Fetch Line Item Creatives
Retrieve the creatives and associated creative product collections on an Onsite Display Auction line item.Path parameters
Response attributes
The resourcetype is LineItemCreatives.
Sample response
A successful response returns a200 OK.
Example response (200)
Example response (200)
lineItemCreatives is empty and mediaType is null:
Example response (200)
Example response (200)
Caveat
For example, the response below contains approved and proposed revisions of the same creative:Example response (200)
Example response (200)
Errors
Upsert Line Item Creatives
Associate one or more creatives to a line item, and define the creative’s product collections. If the creative is already mapped to the line item, the association will be updated instead of duplicated. Existing line item creatives that are omitted from the request are unmodified.Path parameters
Request attributes
The resourcetype is Creatives.
Line Item Creative Attributes
Sample Auction Creative request
Example request
Example request
Response attributes
Sample Auction Creative response
A successful Upsert request returns a200 OK
Example response (200)
Example response (200)
Errors
This endpoint does not support partial success. When one or more creative fail validation, the response will contain entries in theerrors array.
Delete Line Item Creatives
Remove one or more creative, and associated creative product collections, from an Onsite Display Auction line item. Removing the creative’s association from a line item does not delete the Creative resource itself.Path parameters
Request attributes
The resourcetype is Creatives.
Sample request
Example request
Example request
Sample responses
A successful delete returns200 OK.
When one or more creative IDs are not associated with the line item, the response includes a warning for each unmatched ID. Matching associations are still removed.
Example response (200)
Example response (200)
Errors and warnings
This endpoint does not support partial success. Errors are returned in theerrors array.