Get Highest CPM Bids
Returns an array of winning bids.
pbjs.getHighestCpmBids([adUnitCode]);
Arguments:
  • [adUnitCode]: array

    An array containing adUnitCodes. When passed, returns an array with the winning bid object for that ad unit.

    If no argument is passed, returns an array of winning bid objects for each ad unit on the page.

Response
An array of bid objects.
{ bids: [object] }
  • bids: array

    An array of bid objects.

Sample Response
					
bids : [{...}, {...}]