Back to Publisher API Reference

pbjs.getHighestUnusedBidResponseForAdUnitCode(adUnitCode)

Use this method to retrieve the highest unused bid for the specified adUnit. Unused means not it’s not rendered.

This differs from getHighestCpmBids() in that getHighestCpmBids only considers bids for auctions that have completed (and are also unused), this function considers bids for ongoing auctions as well.

Back to Publisher API Reference