code: function(serverResponse, bidRequest) {
      let bid;
      let bids;
      let bidId;
      let bidObj;
      let bidResponses = [];
  
      bids = bidRequest.bidRequest;
  
      serverResponse = (serverResponse || {}).body;
      for (let i = 0; i < bids.length; i++) {
        bid = {};
        bidObj = bids[i];
        bidId = bidObj.bidId;
  
        if (serverResponse) {
          const decision = serverResponse.decisions && serverResponse.decisions[bidId];
          const price = decision && decision.pricing && decision.pricing.clearPrice;
  
          if (decision && price) {
            bid.requestId = bidId;
            bid.cpm = price;
            bid.width = decision.width;
            bid.height = decision.height;
            bid.unitId = bidObj.params.unitId;
            bid.unitName = bidObj.params.unitName;
            bid.ad = retrieveAd(decision, bid.unitId, bid.unitName);
            bid.currency = 'USD';
            bid.creativeId = decision.adId;
            bid.ttl = 30;
            bid.netRevenue = true;
            bid.referrer = utils.getTopWindowUrl();
  
            bidResponses.push(bid);
          }
        }
      }
  
      return bidResponses;
    }
docs: Unpack the response from the server into a list of bids.
  
  @param {*} serverResponse A successful response from the server.
  @return {Bid[]} An array of bids which were nested inside the server.