Skip to main content

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 resource type is LineItemCreatives.

Sample response

A successful response returns a 200 OK.
When the line item has no associated creatives, lineItemCreatives is empty and mediaType is null:

Caveat

The response can contain the same creative.id more than once when approved and proposed revisions of that creative are associated with the line item. Use creative.modifiedAt to distinguish the revisions.
For example, the response below contains approved and proposed revisions of the same creative:

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 resource type is Creatives.

Line Item Creative Attributes

Sample Auction Creative request

Response attributes

Sample Auction Creative response

A successful Upsert request returns a 200 OK

Errors

This endpoint does not support partial success. When one or more creative fail validation, the response will contain entries in the errors 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 resource type is Creatives.

Sample request

Sample responses

A successful delete returns 200 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.

Errors and warnings

This endpoint does not support partial success. Errors are returned in the errors array.