-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pbjs.getHighestCpmBids for getting winning bids (#755)
* Extract winning bids code into own function * Refactor getWinningBids to support single adUnit or multiple adUnits * Redefine api into single function and refactor getWinningBids to return undefined for unfound adUnitCodes * Test public api function * Use changes in filter bids PR * Base changes off of master * Fix lint error * Return empty array if adUnit has no cpms > 0
- Loading branch information
1 parent
70b363f
commit 32e1d0f
Showing
2 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters