Skip to content

Commit

Permalink
Merge pull request prebid#3 in ~MRUSNAK81/prebid.js from feature/test…
Browse files Browse the repository at this point in the history
…-3 to master

* commit '0417c0ceb90da98eb4112289ac5d1d0bd898e34c':
  Updated JSDoc no. 3
  Updated JSDoc no. 2
  Updated JSDoc
  • Loading branch information
marian-r committed Sep 12, 2016
2 parents 11f02d7 + 0417c0c commit 674071c
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions src/adapters/aol.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ var AolAdapter = function AolAdapter() {
var dummyUnitIdCount = 0;

/**
* @private create a div that we'll use as the
* @private
* create a div that we'll use as the
* location for the AOL unit; AOL will document.write
* if the div is not present in the document.
*
* @param {string} id to identify the div
* @return {string} the id used with the div
*/
Expand All @@ -52,7 +54,9 @@ var AolAdapter = function AolAdapter() {
}

/**
* @private Add a succesful bid response for aol
* @private
* Add a succesful bid response for aol
*
* @param {ADTECHResponse} response the response for the bid
* @param {ADTECHContext} context the context passed from aol
*/
Expand Down Expand Up @@ -90,7 +94,9 @@ var AolAdapter = function AolAdapter() {
}

/**
* @private Add an error bid response for aol
* @private
* Add an error bid response for aol
*
* @param {ADTECHResponse} response the response for the bid
* @param {ADTECHContext} context the context passed from aol
*/
Expand All @@ -113,7 +119,9 @@ var AolAdapter = function AolAdapter() {
}

/**
* @private map a prebid bidrequest to an ADTECH/aol bid request
* @private
* map a prebid bidrequest to an ADTECH/aol bid request
*
* @param {Bid} bid the bid request
* @return {Object} the bid request, formatted for the ADTECH/DAC api
*/
Expand Down Expand Up @@ -149,8 +157,8 @@ var AolAdapter = function AolAdapter() {
}

/**
* @private once ADTECH is loaded, request bids by
* calling ADTECH.loadAd
* @private
* once ADTECH is loaded, request bids by calling ADTECH.loadAd
*/
function _reqBids() {
if (!window.ADTECH) {
Expand All @@ -166,9 +174,11 @@ var AolAdapter = function AolAdapter() {
}

/**
* @public call the bids
* @public
* call the bids
* this requests the specified bids
* from aol marketplace
*
* @param {Object} params
* @param {Array} params.bids the bids to be requested
*/
Expand Down

0 comments on commit 674071c

Please sign in to comment.