Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 587 Bytes

File metadata and controls

11 lines (9 loc) · 587 Bytes
layout api_prebidjs
title pbjs.getHighestUnusedBidResponseForAdUnitCode(adUnitCode)
description getHighestUnusedBidResponseForAdUnitCode API
sidebarType 1

Use this method to retrieve the highest unused bid for the specified adUnit. Unused means not it's not rendered. Returns null when no suitable bid exists.

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.