winnerType can be “product”, “brand”, “vendor”, or “url” based on the target of the winning banner ads campaign.
Learn how to use the auctions API to create auctions for search results
{
"auctions": [
{
"type": "banners",
"slots": 1,
"slotId": "search_banner_top",
"device": "mobile",
"searchQuery": "blue running shoes"
}
]
}
{
"results": [
{
"winners": [
{
"rank": 1,
"winnerType": "product",
"winnerId": "p_PJbnN",
"resolvedBidId": "WyJlX1BKYm5OIiwiMTJhNTU4MjgtOGVhZC00Mjk5LTgzMjctY2ViYjAwMmEwZmE4IiwiYmFubmVyQWRzIiwiZGVmYXVsdCIsIiJd",
"asset": [
{
"url": "https://topsort.cdnprovider.com/lhs-banner-image-for-p_PJbnN-1x.png"
}
]
}
],
"error": false
}
]
}
Was this page helpful?