The Post Checkout Banner Ad Context
What Are Post Checkout Banner Ads?
The Context
A Simple Context
POST $BASE_URL/v1/ads/generate HTTP/1.1
accept: application/json
content-type: application/json
Authorization: Basic your_api_key_here
{
"catalogId": "string",
"customerId": "string",
"pageType": "string",
"currentCartItems": [
{
"gtin": "string=pa_id",
"quantity": "number",
"regularUnitPrice": "number",
"totalOrderItemPriceAfterDiscounts": "number",
"adId": "string",
}
],
"maxNumberOfAds": "number",
"contentStandardId": "contentStandardId1",
"bannerSlotIds": ["slotId1"],
"sessionId": "String"
}A mock version can be seen below:
What Happens when an Ad Is Successfully Requested
A mock version can be seen below:
A Larger Cart Context
A mock version can be seen below:
What Happens when an Ad Is Successfully Requested
A mock version can be seen below:
A Larger Complex Cart Context
A mock version can be seen below:
What Happens when an Ad Is Successfully Requested
A mock version can be seen below:
PreviousRequesting a Home Page Banner AdNextGraceful Fallback in the Event That No Ads Are Displayed
Last updated