Bid Multipliers
Getting Started
The Criteo engine maximizes advertising performance while optimizing the shopper experience. It can automatically and intelligently control how much a line item delivers on each page type. In addition, bid multipliers provide campaign managers more control over managing bids at the line item level while also optimizing campaign performance goals at a page-type level.
-Bid multipliers are available at the Open Auction line items level. In addition, campaign managers can modify bids only on enabled page types.
-Bids can be increased up to 500% or decreased up to 50% on each page targeted at the line item level.
For example: If a line item bid is $1, with a bid multiplier, you can increase the Search page bid by 20% and decrease the homepage bid by 10%. The Criteo engine will optimize more delivery and performance on the search page while also allowing the control of which page types budget is mostly allocated towards.
Endpoints
Verb | Endpoint | Description |
---|---|---|
GET | /line-items/{lineItemId}/bid-multipliers | Returns all bid multipliers for valid page types of the specified line item. |
PUT | /line-items/{lineItemId}/bid-multipliers | Replaces all existing bid multipliers with the provided bid multipliers or the default value (1.0). Note: A PUT operation with an empty attributes object will reset all values to their default. |
Bid Multiplier Attributes
- Data Type: string
- Default Value: long-id
Description: Line item Id
- Data Type: decimal
- Default Value: 1.0
- Note: Bids can be increased up to 500% (6.00) or decreased up to 50% (0.50)
Description: Bid Multiplier applied to the Search Page Type
- Data Type: decimal
- Default Value: 1.0
- Note: Bids can be increased up to 500% (6.00) or decreased up to 50% (0.50)
Description: Bid Multiplier applied to the Home Page Type
- Data Type: decimal
- Default Value: 1.0
- Note: Bids can be increased up to 500% (6.00) or decreased up to 50% (0.50)
Description: Bid Multiplier applied to the Category Page Type
- Data Type: decimal
- Default Value: 1.0
- Note: Bids can be increased up to 500% (6.00) or decreased up to 50% (0.50)
Description: Bid Multiplier applied to the ProductDetail Page Type
- Data Type: decimal
- Default Value: 1.0
- Note: Bids can be increased up to 500% (6.00) or decreased up to 50% (0.50)
Description: Bid Multiplier applied to the Confirmation Page Type
- Data Type: decimal
- Default Value: 1.0
- Note: Bids can be increased up to 500% (6.00) or decreased up to 50% (0.50)
Description: Bid Multiplier applied to the Merchandising Page Type
- Data Type: decimal
- Default Value: 1.0
- Note: Bids can be increased up to 500% (6.00) or decreased up to 50% (0.50)
Description: Bid Multiplier applied to the Deals Page Type
Get Bid Multipliers
Returns all bid multipliers for valid page types of the specified line item.
https://api.criteo.com/2023-10/retail-media/line-items/{lineItemId}/bid-multipliers
Sample Request
curl -L -X GET 'https://api.criteo.com/2023-10/retail-media/line-items/347413132777078784/bid-multipliers' \
-H 'Accept: text/plain' \
-H 'Authorization: Bearer MY_ACCESS_TOKEN'
import requests
url = "https://api.criteo.com/2023-07/retail-media/line-items/347413132777078784/bid-multipliers"
payload={}
headers = {
'Accept': 'text/plain',
'Authorization': 'Bearer MY_ACCESS_TOKEN'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://api.criteo.com/2023-07/retail-media/line-items/347413132777078784/bid-multipliers")
.method("GET", body)
.addHeader("Accept", "text/plain")
.addHeader("Authorization", "Bearer MY_ACCESS_TOKEN")
.build();
Response response = client.newCall(request).execute();
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.criteo.com/2023-07/retail-media/line-items/347413132777078784/bid-multipliers');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Accept' => 'text/plain',
'Authorization' => 'Bearer MY_ACCESS_TOKEN'
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
Sample Response
// Sample Response
{
"data": {
"type": "LineItemBidMultipliers",
"attributes": {
"search": 1.10,
"home": 1.90,
"category": 1.50,
"productDetail": 1.60,
"confirmation": 1.30,
"merchandising": 1.70,
"checkout": 1.40,
"id": null
}
},
"warnings": [],
"errors": []
}
Update Page Type Bid Multipliers
Replaces all existing bid multipliers with the provided bid multipliers or the default value (1.0).
- Note: A PUT operation with an empty attributes object will reset all values to their default.
https://api.criteo.com/2023-10/retail-media/line-items/{lineItemId}/bid-multipliers
Sample Request
--Request
curl -L -X PUT 'https://api.criteo.com/2023-10/retail-media/line-items/347112182987198464/bid-multipliers' \
-H 'Content-Type: application/json' \
-H 'Accept: text/plain' \
-H 'Authorization: Bearer MY_ACCESS_TOKEN' \
--data-raw '{
"data": {
"attributes": {
"search": "1.10",
"home": "1.90",
"category": "1.50",
"productDetail": "1.60",
"confirmation": "1.30",
"merchandising": "1.70",
"checkout": "1.40"
},
"id": "347112182987198464",
"type": "RetailMediaBidMultiplier"
}
}'
import requests
import json
url = "https://api.criteo.com/2023-07/retail-media/line-items/347112182987198464/bid-multipliers"
payload = json.dumps({
"data": {
"attributes": {
"search": "1.10",
"home": "1.90",
"category": "1.50",
"productDetail": "0.49",
"confirmation": "1.30",
"merchandising": "1.70",
"checkout": "1.40"
},
"id": "347112182987198464",
"type": "RetailMediaBidMultiplier"
}
})
headers = {
'Content-Type': 'application/json',
'Accept': 'text/plain',
'Authorization': 'Bearer MY_ACCESS_TOKEN'
}
response = requests.request("PUT", url, headers=headers, data=payload)
print(response.text)
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n\t\"data\": {\n\t\t\"attributes\": {\n\t\t\t\"search\": \"1.10\",\n\t\t\t\"home\": \"1.90\",\n\t\t\t\"category\": \"1.50\",\n\t\t\t\"productDetail\": \"1.60\",\n\t\t\t\"confirmation\": \"1.30\",\n\t\t\t\"merchandising\": \"1.70\",\n\t\t\t\"checkout\": \"1.40\"\n\t\t},\n\t\t\"id\": \"347112182987198464\",\n\t\t\"type\": \"RetailMediaBidMultiplier\"\n\t}\n}");
Request request = new Request.Builder()
.url("https://api.criteo.com/2023-07/retail-media/line-items/347112182987198464/bid-multipliers")
.method("PUT", body)
.addHeader("Content-Type", "application/json")
.addHeader("Accept", "text/plain")
.addHeader("Authorization", "Bearer MY_ACCESS_TOKEN")
.build();
Response response = client.newCall(request).execute();
<?php
require_once "HTTP/Request2.php";
$request = new HTTP_Request2();
$request->setUrl(
"https://api.criteo.com/2023-07/retail-media/line-items/347112182987198464/bid-multipliers"
);
$request->setMethod(HTTP_Request2::METHOD_PUT);
$request->setConfig([
"follow_redirects" => true,
]);
$request->setHeader([
"Content-Type" => "application/json",
"Accept" => "text/plain",
"Authorization" => "Bearer MY_ACCESS_TOKEN",
]);
$request->setBody(
'{\n "data": {\n "attributes": {\n "search": "1.10",
\n "home": "1.90",
\n "category": "1.50",
\n "productDetail": "1.60",
\n "confirmation": "1.30",
\n "merchandising": "1.70",
\n "checkout": "1.40"
\n },
\n "id": "347112182987198464",
\n "type": "RetailMediaBidMultiplier"
\n }
\n}'
);
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
} else {
echo "Unexpected HTTP status: " .
$response->getStatus() .
" " .
$response->getReasonPhrase();
}
} catch (HTTP_Request2_Exception $e) {
echo "Error: " . $e->getMessage();
}
Sample Response
// Sample Response
{
"data": {
"attributes": {
"search": 1.10,
"home": 1.90,
"category": 1.50,
"productDetail": 0.50,
"confirmation": 1.30,
"merchandising": 1.70,
"checkout": 1.40,
"id": null
},
"id": null,
"type": "LineItemBidMultipliers"
},
"warnings": [],
"errors": []
}
Responses
Response | Description |
---|---|
🔵 200 | Call executed with success |
🔴 400 | BidMultiplierOutOfRange A bid multiplier provided is out of range of the expected range and could not be accepted IllegalValueProvided An invalid page type or poorly formated bid multiplier was provided |
🔴 401 | Unauthorized User doesnt have permission to edit a specified line item |
🔴 404 | LineItemDoesntExist Attempted to fetch or manipulate a line item that does not exist |
Updated about 1 year ago