code: function createBid(bidResponse, mediaType) {
    let bid = {
      requestId: bidResponse.requestId,
      creativeId: bidResponse.cmpId,
      height: bidResponse.height,
      currency: bidResponse.cur,
      width: bidResponse.width,
      cpm: bidResponse.cpm,
      netRevenue: true,
      mediaType,
      ttl: 3600
    };
  
    if (mediaType === DISPLAY) {
      return Object.assign(bid, {
        ad: bidResponse.ad
      });
    }
  
    Object.assign(bid, {
      vastUrl: bidResponse.vastUrl
    });
  
    if (mediaType === OUTSTREAM) {
      Object.assign(bid, {
        mediaType: 'video',
        adResponse: bidResponse,
        renderer: newRenderer(bidResponse.requestId)
      });
    }
  
    return bid;
  }
docs: Configure new bid by response
  @param bidResponse {object}
  @param mediaType {Object}
  @returns {object}