Learn how to use the auctions API to create auctions specifically for landing pages
category
and searchQuery
fields are left empty.
Here’s an example with only one banner slot on the search results page on desktop:
{
"auctions": [
{
"type": "banners",
"slots": 1,
"slotId": "backtoschool_banners_top",
"device": "desktop"
}
]
}
{
"results": [
{
"winners": [
{
"rank": 1,
"winnerType": "brand",
"winnerId": "p_PJbnN",
"resolvedBidId": "WyJlX1BKYm5OIiwiMTJhNTU4MjgtOGVhZC00Mjk5LTgzMjctY2ViYjAwMmEwZmE4IiwiYmFubmVyQWRzIiwiZGVmYXVsdCIsIiJd",
"asset": [
{
"url": "https://topsort.cdnprovider.com/lhs-banner-image-for-p_PJbnN-1x.png"
}
]
}
],
"error": false
}
]
}