modules/freeWheelAdserverVideo.js
function getAdPodAdUnits(codes) {
  return auctionManager.getAdUnits()
    .filter((adUnit) => deepAccess(adUnit, 'mediaTypes.video.context') === ADPOD)
    .filter((adUnit) => (codes.length > 0) ? codes.indexOf(adUnit.code) != -1 : true);
}
function getAdPodAdUnits(codes) {
  return auctionManager.getAdUnits()
    .filter((adUnit) => deepAccess(adUnit, 'mediaTypes.video.context') === ADPOD)
    .filter((adUnit) => (codes.length > 0) ? codes.indexOf(adUnit.code) != -1 : true);
}
function getAdPodAdUnits ( codes ) { return auctionManager . getAdUnits ( ) . filter ( ( adUnit ) => deepAccess ( adUnit , 'mediaTypes.video.context' ) === ADPOD ) . filter ( ( adUnit ) => ( codes . length > 0 ) ? codes . indexOf ( adUnit . code ) != - 1 : true ) ; }
This function returns the adunit of mediaType adpod
@param {Array} codes adUnitCodes
@returns {Array[Object]} adunits of mediaType adpod
This function returns the adunit of mediaType adpod