Skip to main content
Getting StartedLearn more about how open auction line items work with our API here!
 

Endpoints

Info
  • Create operations using the POST method expect every Required field; omitting Optional fields will set those fields to Default values
  • Update operations using the PUT method expect every Writeable field; omitting these fields is equivalent to setting them to null, if possible
 

Line Item Attributes

  • Input excludes platform feesAccepted values: at least the greatest value of minBid across all products in the line item Default: 0.3 Writeable? Y / Nullable? N | | maxBid | decimal | If optimizing for conversion or revenue, the maximum amount allowed to bid for each display (respected regardless of targetBid). Does not apply if optimizing for clicks Bidding is uncapped if omitted or set to nullℹ️ Note:- Must meet minBid for line item to deliver ads, which depends on selected products (available through the Catalog)
  • Input excludes platform feesAccepted values: at least 0.1 Writeable? Y / Nullable? Y | | status | enum | Line item status, can only be updated by user to active or paused Other values are applied automatically depending start/end dates, financials or missing attributes required for line item to deliver ads. To understand the conditions that cause status changes, check out Campaign & Line Item StatusAccepted values: active, paused, scheduled, ended, budgetHit, noFunds, draft, arquived Writeable? N / Nullable? N | | createdAt | timestamp | Timestamp of line item creation, in UTCAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm (in ISO-8601) Writeable? N / Nullable? N | | updatedAt | timestamp | Timestamp of last line item update, in UTCAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm (in ISO-8601 ) Writeable? N / Nullable? N |
*Required

Create an Onsite Sponsored Products Line Item

This endpoint creates a new Onsite Sponsored Products line item in the specified campaign. Sample Request
Sample Response

Get All Onsite Sponsored Products Line Items

This endpoint lists all Onsite Sponsored Products line items in the specified campaign. Results are paginated Sample Request
Sample Response

Get a Specific Onsite Sponsored Products Line Item

This endpoint retrieves the specified Onsite Sponsored Products line item Sample Request
Sample Response

Update a Specific Onsite Sponsored Products Line Item

This endpoint updates the specified Onsite Sponsored Products line item. In this example, we enable auto daily pacing by setting a monthly pace simultaneously. Note that with auto daily pacing enabled, daily pacing is automatically calculated and overwrites its previous value, if any. Also, note the draft state of the line item because products to be promoted have not yet been added. Sample Request
Sample Response

Responses