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();
Arguments:
  • debug: boolean

    Boolean to indicate if debugging is turned on or off.

    Accepted Values
    Parm Description
    Fixed
    Random There is no order to the bidders. This is the default setting.
Response
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.