modules/freeWheelAdserverVideo.js
function getBidsForAdpod(bidsReceived, adPodAdUnits) {
  let adUnitCodes = adPodAdUnits.map((adUnit) => adUnit.code);
  return bidsReceived
    .filter((bid) => adUnitCodes.indexOf(bid.adUnitCode) != -1 && (bid.video && bid.video.context === ADPOD))
}
function getBidsForAdpod(bidsReceived, adPodAdUnits) {
  let adUnitCodes = adPodAdUnits.map((adUnit) => adUnit.code);
  return bidsReceived
    .filter((bid) => adUnitCodes.indexOf(bid.adUnitCode) != -1 && (bid.video && bid.video.context === ADPOD))
}
function getBidsForAdpod ( bidsReceived , adPodAdUnits ) { let adUnitCodes = adPodAdUnits . map ( ( adUnit ) => adUnit . code ) ; return bidsReceived . filter ( ( bid ) => adUnitCodes . indexOf ( bid . adUnitCode ) != - 1 && ( bid . video && bid . video . context === ADPOD ) ) }
This function returns bids for adpod adunits
@param {Array[Object]} bidsReceived
@param {Array[Object]} adPodAdUnits
@returns {Array[Object]} bids of mediaType adpod
This function returns bids for adpod adunits