code: function(serverResponse, bidRequest) {
      const bidResponses = [];
      let response = serverResponse.body;
      if (!isResponseValid(response)) {
        return bidResponses;
      }
  
      const bidResponse = {
        requestId: bidRequest.bidId,
        cpm: response.cpm,
        width: response.width,
        height: response.height,
        creativeId: response.creativeId,
        currency: response.currency ? response.currency : 'USD',
        netRevenue: response.netRevenue ? response.netRevenue : true,
        ttl: response.ttl ? response.ttl : 86400
      };
  
      if (response.hasOwnProperty('dealId')) {
        bidResponse.dealId = response.dealId;
      }
  
      if (response.content_type.indexOf('vast') > -1) {
        if (typeof response.vastUrl !== 'undefined') {
          bidResponse.vastUrl = response.vastUrl;
        } else {
          bidResponse.vastXml = response.content;
        }
        bidResponse.mediaType = VIDEO;
      } else {
        bidResponse.ad = response.content;
        bidResponse.mediaType = BANNER;
      }
  
      bidResponses.push(bidResponse);
      return bidResponses;
    }
docs: Unpack the response from the server into a list of bids.
  
  @param {ServerResponse} serverResponse A successful response from the server.
  @return {Bid[]} An array of bids which were nested inside the server.