A FEW THINGS TO KNOWShoppers browsing through the retailer’s search page may utilize search for phrases associated with line item products where the line item may not be allowed to search on that page. Similar to this scenario, the shopper can also enter search phrases that align with products permitted to serve on a page. The keyword API endpoint allows you to control your Onsite Sponsored Products line item by providing visibility to users what keywords are applied to line items, and also allows for users to determine which keyword to target positively or negatively. The endpoint can also provide keyword bidding capabilities to optimize line items based on relevant keywords.Check out the Onsite Sponsored Products page for a complete summary of Criteo’s keyword service.
Endpoints
Attributes
required
Data Type: stringDefault: Computerized valueDescription: The external line item id
Data Type: enumDefault:
InReviewDescription: Review the keyword’s status, only applicable for PositiveExactMatch keywords.Values: Keywords not reviewed by the automatic keyword service will be reviewed and approved by the retailer.InReview- keyword has been submitted manually, and the review is still pendingApproved- keyword was approved manuallyAutoApproved- keyword was approved automaticallyRejected- keyword was rejected manuallyAutoRejected- keyword was rejected automaticallyRecommended- keyword was recommended by our keyword model
required
Data Type: enumDefault:
PositiveExactMatchDescription: The matching algorithm to be used when comparing this keyword with shopper search phrases.Values:PositiveExactMatch- normalized keyword is an exact match for the normalized search phrase bidNegativeExactMatch- normalized keyword is an exact match for the normalized search phrase do not bidNegativeBroadMatch- normalized keyword is a substring of the normalized search phrase do not bid
Data Type: decimalDefault:
nullDescription: The bid override for the positive keyword. The keyword will use the default line item bid if the value is null. The currency of the bid is the default currency for the retailer.Values: decimal value- Keyword bids must be equal or greater than the retailer
minBidand equal or less than the line itemmaxBid. - You may use the Open Auction Line Item API to view and check if you’re setting a keyword bid that is more than the allowed amount. You may also reference the Catalog API to check for the product sku minimum bid, which offers the retailer min. bid value.
Data Type: booleanDefault:
nullDescription: Controls if the keyword will be added or removed from the line item.Values: true, falserequired
Data Type: numberDefault: N/ADescription: Keywords supplied by the user matching this normalized keyword phrase binned by match type.Values:
negativeBroad- collection of supplied negative broad phrasesnegativeExact- collection of supplied negative exact phrasespositiveExact- collection of supplied positive exact phrases
Data Type: date-timeDefault: Computerized valueDescription: Date keyword was created in the line item.Values: yyyy-mm-dd T hh:mm:ss
Data Type: date-timeDefault: Computerized valueDescription: Last date keyword was updated in the line-item.Values: yyyy-mm-dd T hh:mm:ss
Data Type: stringDefault:
nullDescription: Raw text of the keyword to be added or removed.Values: minLength: 0, maxLeght: 255Get Keywords by Line Item Id
Sample RequestAdd or Remove Keyword from Line Item
Negative Targeting v1The negative keyword targeting in this API will eventually replace the Negative Keyword Targeting endpoints. You may continue using those endpoints without disrupting your services. We recommend reviewing and testing the new Keyword endpoints to prepare for a future migration to these new endpoints.
Set Bid on Keyword
💡Info: Bids can be set on a keyword at any time, even when the keyword are stillInReview state
Sample Request