Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added new API method pbjs.getNoBids() #1056

Merged
merged 2 commits into from
Dec 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions dev-docs/publisher-api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This page has documentation for the public API methods of Prebid.js.
* [.getHighestCpmBids([adUnitCode])](#module_pbjs.getHighestCpmBids)
* [.getAllWinningBids()](#module_pbjs.getAllWinningBids)
* [.getAllPrebidWinningBids()](#module_pbjs.getAllPrebidWinningBids)
* [.getNoBids()](#module_pbjs.getNoBids)
* [.setTargetingForGPTAsync([codeArr])](#module_pbjs.setTargetingForGPTAsync)
* [.setTargetingForAst()](#module_pbjs.setTargetingForAst)
* [.renderAd(doc, id)](#module_pbjs.renderAd)
Expand Down Expand Up @@ -442,6 +443,16 @@ Use this method to get all of the bids that have won their respective auctions b

<hr class="full-rule">

<a name="module_pbjs.getNoBids"></a>

### pbjs.getNoBids() ⇒ `Array`

Use this method to get all of the bid requests that resulted in a NO_BID. These are bid requests that were sent to a bidder but, for whatever reason, the bidder decided not to bid on. Used by debugging snippet in [Tips for Troubleshooting](http://prebid.org/dev-docs/troubleshooting-tips.html).

+ `pbjs.getNoBids()`: returns an array of bid request objects that were deliberately not bid on by a bidder.

<hr class="full-rule">

<a name="module_pbjs.setTargetingForGPTAsync"></a>

### pbjs.setTargetingForGPTAsync([codeArr])
Expand Down