Skip to content

Commit

Permalink
Fix comments for jsdoc warrnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinGumGum committed Jul 2, 2024
1 parent f15bbf4 commit 08d1cde
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions modules/gumgumBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,12 @@ function _getVidParams(attributes) {
}

/**
* Gets bidfloor
* @param {Object} mediaTypes
* @param {Number} bidfloor
* @param {Object} bid
* @returns {Number} floor
* Retrieves the bid floor value, which is the minimum acceptable bid for an ad unit.
* This function calculates the bid floor based on the given media types and other bidding parameters.
* @param {Object} mediaTypes - The media types specified for the bid, which might influence floor calculations.
* @param {number} staticBidFloor - The default or static bid floor set for the bid.
* @param {Object} bid - The bid object which may contain a method to get dynamic floor values.
* @returns {Object} An object containing the calculated bid floor and its currency.
*/
function _getFloor(mediaTypes, staticBidFloor, bid) {
const curMediaType = Object.keys(mediaTypes)[0] || 'banner';
Expand Down Expand Up @@ -290,10 +291,10 @@ function getEids(userId) {
}

/**
* Make a server request from the list of BidRequests.
*
* @param {validBidRequests[]} - an array of bids
* @return ServerRequest Info describing the request to the server.
* Builds requests for bids.
* @param {validBidRequests[]} validBidRequests - An array of valid bid requests.
* @param {Object} bidderRequest - The bidder's request information.
* @returns {Object[]} An array of server requests.
*/
function buildRequests(validBidRequests, bidderRequest) {
const bids = [];
Expand Down

0 comments on commit 08d1cde

Please sign in to comment.