Skip to content

Commit

Permalink
added new API method pbjs.getNoBids() (#1056)
Browse files Browse the repository at this point in the history
* added new API method pbjs.getNoBids()

* Fix typo
  • Loading branch information
snapwich authored and bretg committed Dec 20, 2018
1 parent f41bb3a commit fcf4ab1
Showing 1 changed file with 11 additions and 0 deletions.
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

0 comments on commit fcf4ab1

Please sign in to comment.