Skip to content
Merged
Show file tree
Hide file tree
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
16 changes: 8 additions & 8 deletions dev-docs/bidder-adaptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -1166,16 +1166,16 @@ export const spec = {
* Determines whether or not the given bid request is valid.
*
* @param {BidRequest} bid The bid params to validate.
* @return boolean True if this is a valid bid, and false otherwise.
* @return {boolean} True if this is a valid bid, and false otherwise.
*/
isBidRequestValid: function(bid) {
return !!(bid.params.placementId || (bid.params.member && bid.params.invCode));
},
/**
* Make a server request from the list of BidRequests.
*
* @param {validBidRequests[]} - an array of bids
* @return ServerRequest Info describing the request to the server.
* @param {BidRequest[]} validBidRequests - an array of bids
* @return {ServerRequest} Info describing the request to the server.
*/
buildRequests: function(validBidRequests) {
const payload = {
Expand Down Expand Up @@ -1260,31 +1260,31 @@ export const spec = {

/**
* Register bidder specific code, which will execute if bidder timed out after an auction
* @param {data} Containing timeout specific data
* @param {Object} data Containing timeout specific data
*/
onTimeout: function(data) {
// Bidder specifc code
}

/**
* Register bidder specific code, which will execute if a bid from this bidder won the auction
* @param {Bid} The bid that won the auction
* @param {Bid} bid The bid that won the auction
*/
onBidWon: function(bid) {
// Bidder specific code
}

/**
* Register bidder specific code, which will execute when the adserver targeting has been set for a bid from this bidder
* @param {Bid} The bid of which the targeting has been set
* @param {Bid} bid The bid of which the targeting has been set
*/
onSetTargeting: function(bid) {
// Bidder specific code
}

/**
* Register bidder specific code, which will execute if the bidder responded with an error
* @param {error, bidderRequest} An object with the XMLHttpRequest error and the bid request object
* @param {Object} params An object with the XMLHttpRequest error and the bid request object
*/
onBidderError: function({ error, bidderRequest }) {
// Bidder specific code
Expand All @@ -1293,7 +1293,7 @@ export const spec = {
/**
* Register bidder specific code, which will execute if the ad
* has been rendered successfully
* @param {bid} bid request object
* @param {Bid} bid Bid request object
*/
onAdRenderSucceeded: function(bid) {
// Bidder specific code
Expand Down
2 changes: 1 addition & 1 deletion examples/video/outstream/pb-ve-outstream-dfp.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h4>Place this code in the page header.</h4>
<div class="pb-code-hl-wrap">
<pre class="pb-code-hl">
<!--put javascript code here-->
&lt;script async src="//securepubads.g.doubleclick.net/tag/js/gpt.js"&gt;&lt;/script&gt;
&lt;script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"&gt;&lt;/script&gt;

&lt;script&gt;

Expand Down