Endpoints
Verb | Endpoint | Description |
|---|---|---|
GET |
| Retrieve a set of positive and negative keywords for a line item |
GET |
| Retrieve a collection of recommended keywords for a line item |
POST |
| Add or remove keywords from a line item |
POST |
| Set a bid override at keyword level |
Keyword Attributes
Attribute | Data Type | Description |
|---|---|---|
| string | Line ItemID, generated internally by Criteo Accepted values: string of int64 Writeable? N / Nullable? N |
| object | Keywords structure, indexed by normalized keyword phrases each of them containing structure of:
|
| enum | Matching algorithm type to be used when comparing this keyword with shopper search phrases. Accepted values:
Default: Writeable? N / Nullable? N |
| enum | Status of Keyword review, only applicable for Keywords not reviewed by the automatic keyword service will be reviewed and approved by the retailer. Accepted values:
Default: Writeable? N / Nullable? N |
| decimal | The bid override for the positive keyword. The keyword will use the default line item bid if the value is Accepted values: retailer’s Default: Writeable? Y / Nullable? Y |
| boolean | Control flag to add or remove the keyword from the line-item Accepted values: Writeable? N / Nullable? N |
| object | Keywords structure associated with line-item containing normalized keyword phrases and organized by match type. Parameters:
|
| string | Raw text of the keyword to be added or removed Accepted values: up to 255-chars string Writeable? Y / Nullable? N |
| timestamp | Timestamp when keyword was configured in the line-item (or recommended to line-item) Accepted values: Writeable? N / Nullable? N |
| timestamp | Timestamp when keyword was last modified in the line-item (or recommended to line-item) Accepted values: Writeable? N / Nullable? N |
- Writeable (Y/N): Indicates if the field can be modified in requests.
- Nullable (Y/N): Indicates if the field can accept null/empty values.
- Primary Key: A unique, immutable identifier of the entity, generated internally by Criteo. Primary keys are typically ID fields (e.g.,
retailerId,campaignId,lineItemId) and are usually required in the URL path.
Get Keywords by Line Item
Sample RequestGet Recommended Keywords by Line Item
This endpoint retrieves a collection of recommended keywords for a line item, created automatically by our keyword models.Add or remove Keyword from Line Item
200 successful status will return an empty object array
Set bid on Keyword
💡Info: Bids can be set on a keyword at any time, even when the keyword are stillInReview state
Sample Request
200 successful status will return an empty object array
Responses
Response | Description |
|---|---|
🔵 | Call completed with success |
🔵 |
|
🔴
| Setting a bid for a positive keyword that doesn’t exist on the line item. Error Message
Setting a keyword bid above the line-item Error Message
Setting a keyword bid below the retailer Error Message
|