Overview
The product pool of a line item holds the products that the line item can promote. Adding a product makes it available to the line item; it does not assign it to a Creative Product Collection. Adding products is the step that follows creating a line item with Line Item Core. Identify eligible products to add by accessing your account catalog.The long-term goal is to support product operations across line item types. Initial documented support targets Onsite Display Auction line items and uses
productType DisplayProduct with displayProductDetails. Additional product types will be documented as support is added./line-items/{lineItemId}/products/append), which remains available in the meantime.
Endpoints
Add Products to a Line Item
Adds one or more products to the product pool of an existing line item. Planned EndpointPath parameters
Request attributes
The resource
type is Products. Do not send response-only fields such as approvalStatus inside displayProductDetails.
Behavior
- All items in the request must be added successfully; otherwise, no items are added to the product pool. If any
productIdis invalid, the entire request fails and the product pool is left unchanged. - A
productIdis invalid if it is missing, not present in the retailer catalog, marked as deleted, or unavailable in the line item’s account. - Adding a
productIdthat is already in the product pool is a no-op. No duplicate is created and no error is returned for that product. - Duplicate
productIdvalues within the same request are deduplicated. The product is added once. - Products are added to the product pool only. They are not assigned to a Creative Product Collection.