- A line item holds promoted products to advertise on a single retailer.
- Line items include basic settings such as start and end dates, optional budget controls, and the associated retailer where ads are served.
- Budgets can also be managed at the campaign level.
- Several reports are available to track line item performance.
- Campaigns are limited to 10,000 non-archived line items.
- Line items are automatically archived 90 days after their end date.
Endpoints
Method | Endpoint | Description |
|---|---|---|
GET |
| Retrieve all line items associated with a specific account. |
GET |
| Retrieve details of a specific line item. |
Line Item Attributes
Attribute | Data Type | Description |
|---|---|---|
| string | Line item ID, generated internally by Criteo Accepted values: string of int64 Writeable? N / Nullable? N |
| string | Line item name, must be unique within a campaign Accepted values: up to 255-chars string Writeable? Y / Nullable? N |
| string | CampaignID, in which the respective line item belongs Accepted values: string of int64 Writeable? N / Nullable? N |
| enum | Campaigntype Accepted values: Writeable? Y / Nullable? N |
| string | RetailerID, in which the respective line item serves ad on Accepted values: string of int64 Writeable? N / Nullable? N |
| date | Start date of the line item, in theAccounttimezone; used to schedule its activation and start serving ads. To understand the conditions that will cause a status to change, check outCampaign & Line Item Status Accepted values: Writeable? Y / Nullable? N |
| date | End date of the line item, in theAccounttimezone; serves ads indefinitely if omitted or set to A timestamp can be included as well if the line item is desired to end at a certain time of day Accepted values: Default: if Writeable? Y / Nullable? Y |
| decimal | Line item lifetime spend cap, uncapped if omitted or set to Accepted values: Default: Writeable? Y / Nullable? Y |
| decimal | Budget amount the line item has already spent Accepted values: Default: Writeable? N / Nullable? N |
| decimal | Budget amount the line item has remaining until cap is hit; Accepted values: 0 ≤ Default: Writeable? N / Nullable? Y |
| enum | Line item status; can only be updated by a user to To understand the conditions that will cause a status to change, check outCampaign & Line Item Status Accepted values: Writeable? Y / Nullable? N |
| timestamp | Timestamp of line item creation, in UTC Accepted values: Writeable? N / Nullable? N |
| timestamp | Timestamp of last line item update, in UTC Accepted values: Default: same as Writeable? N / Nullable? N |
Get all Line Items
This endpoint lists all line items in the specified campaign. Results are paginated usingpageIndex and pageSize query parameters; if omitted, defaults to 0 and 25, respectively. See API Response.
Sample Request
Get a specific Line Item
This endpoint retrieves details for a specified line item by its ID Sample RequestResponses
Response | Description |
|---|---|
🟢
| Call completed successfully. The specified line item details are returned. |
🔴
| API user is not authorized to make requests for the account ID. To request authorization, follow the steps. |
🔴
| Line item ID not found. Ensure the
is correct and exists. |