Getting StartedLearn more about how open auction line items work with our API here!
Endpoints
Info
- Create operations using the
POSTmethod expect every Required (R) field; omitting Optional (O) fields will set those fields to Default values - Update operations using the
PUTmethod expect every Write (W) field; omitting these fields is equivalent to setting them tonull, if possible
Line Item Attributes
Data Type: stringDescription: Line Item IDAccepted Value: int64Default Values: NoneWrite? NoNullable? No
Data Type: stringDescription: Campaign IDAccepted Value: int64Default Value: NoneWrite? NoNullable? No
Data Type: stringDescription: Line item name; must be unique within a campaignAccepted Value: 255 char limitDefault Value: NoneWrite? YesNullable? No
Data Type: stringDescription: ID of the retailer the line item serves onAccepted Value: int64Default Value: NoneWrite? NoNullable? No
Data Type: dateDescription: Line item start date in the account
timeZoneAccepted Value: YYYY-MM-DDDefault Value: NoneWrite? YesNullable? NoData Type: dateDescription: Line item end date in the account
timeZone; serves indefinitely if omitted or set to nullAccepted Value: YYYY-MM-DDDefault Value: nullWrite? YesNullable? YesData Type: numberDescription: Line item lifetime spend cap; uncapped if omitted or set to
nullAccepted Value: at least 0Default Value: nullWrite? YesNullable? YesData Type: numberDescription: Amount the line item has already spentAccepted Value: at least 0Default Value:
0.0Write? NoNullable? NoData Type: numberDescription: Amount the line item has remaining until cap is hit;
null if budget is uncappedAccepted Value: between 0 and budgetDefault Value: nullWrite? NoNullable? YesData Type: numberDescription: Amount the line item can spend per calendar month in the account
timeZone; resets each calendar month; uncapped if omitted or set to nullAccepted Value: at least 0Default Value: nullWrite? YesNullable? YesData Type: numberDescription: Amount the line item can spend per day in the account timeZone; resets each day; overwritten by a calculation if
isAutoDailyPacing is configured; uncapped if omitted or set to nullAccepted Value: at least 0Default Value: nullWrite? YesNullable? YesData Type: booleanDescription: To activate, either line item
endDate and budget, or monthlyPace, must be specified; overwrites dailyPacing with a calculation if not set priorAccepted Value: true, falseDefault Value: falseWrite? YesNullable? NoData Type: enumDescription: Bid algorithm optimizing for sales conversions, sales revenue, or clicksAccepted Value:
conversion, revenue, clicksDefault Value: conversionWrite? YesNullable? NoData Type: numberDescription: If optimizing for
conversion or revenue, a target average amount to bid because each bid is modulated up or down by our optimization algorithm; bids stay constant if optimizing for clicks; must meet minBid for line item to serve; minBid depends on selected products and is retrieved through the catalog; input excludes platform feesAccepted Value: at least the greatest value of minBid across all products on the line itemDefault Value: 0.3Write? YesNullable? NoData Type: numberDescription: If optimizing for
conversion or revenue, the maximum amount allowed to bid for each bid; respected regardless of targetBid; must meet minBid for line item to serve; minBid depends on selected products and is retrieved through the catalog; bidding is uncapped if omitted or set to null; does not apply if optimizing for clicks; input excludes platform feesAccepted Value: at least 0.01Default Value: nullWrite? YesNullable? YesData Type: enumDescription: Line item status; can only be updated by a user to
active or paused; all other values are applied automatically depending on flight dates, financials, or missing attributes required for line item to serve. To understand the conditions that will cause a status to change, check out our status page.Accepted Value: active, paused, scheduled, ended, budgetHit, noFunds, draft, archivedDefault Value: NoneWrite? NoNullable? NoData Type: timestampDescription: Timestamp in UTC of line item creationAccepted Value: ISO-8601Default Value:
NoneWrite? NoNullable? NoData Type: timestampDescription: Timestamp in UTC of last line item updateAccepted Value: ISO-8601Default Value:
NoneWrite? NoNullable? No