Get All Winning Bids
This method returns all bids that have won their respective auctions and have also been rendered on the page. Useful for troubleshooting your integration
var allBids = pbjs.getAllWinningBids();
  • debug: boolean

    Boolean to indicate if debugging is turned on or off.

    Accepted Values
    Parm Description
    Random There is no order to the bidders. This is the default setting.
An array of bid objects.
{ bids: [object] }
  • bids: array

    An array of bid objects.

Sample Response
bids : [{...}, {...}]
Tip: Type pbjs.getAllWinningBids() in the console.log to quickly review which winning bids were returned.