modules/adtelligentBidAdapter.js
function getMediaType(bidderRequest) {
  const videoMediaType = utils.deepAccess(bidderRequest, 'mediaTypes.video');
  const context = utils.deepAccess(bidderRequest, 'mediaTypes.video.context');

  return !videoMediaType ? DISPLAY : context === OUTSTREAM ? OUTSTREAM : VIDEO;
}
function getMediaType(bidderRequest) {
  const videoMediaType = utils.deepAccess(bidderRequest, 'mediaTypes.video');
  const context = utils.deepAccess(bidderRequest, 'mediaTypes.video.context');

  return !videoMediaType ? DISPLAY : context === OUTSTREAM ? OUTSTREAM : VIDEO;
}
function getMediaType ( bidderRequest ) { const videoMediaType = utils . deepAccess ( bidderRequest , 'mediaTypes.video' ) ; const context = utils . deepAccess ( bidderRequest , 'mediaTypes.video.context' ) ; return ! videoMediaType ? DISPLAY : context === OUTSTREAM ? OUTSTREAM : VIDEO ; }
Prepare all parameters for request
@param bidderRequest {object}
@returns {object}
Prepare all parameters for request