Learn how to use the auctions API to create auctions for listings and banners.
/auctions
endpoint allows you to run up to 5 auctions in one request.
The full spec for this endpoint is found here.
This can be quite a lot to take in at once, so let’s stick to the basics now.
Every request body should be provided as JSON and is generally structured as follows.
auctions
field. You can provide 1 to 5 auctions in a single request.type
that will determine whether it’s auctioning listings or banners.slots
field, this determines the maximum number of winners of the auction.results
property.slots
of the auction.error
flag indicates whether an auction succeeded.rank
a 1-based number corresponding to its position in winners
.resolvedBidId
identifying the bid that made this winner win. This ID is used to relate the bid to events.