code: function(validBidRequests, bidderRequest) {
      const auids = [];
      const bidsMap = {};
      const bids = validBidRequests || [];
      let priceType = 'net';
      let reqId;
  
      bids.forEach(bid => {
        if (bid.params.priceType === 'gross') {
          priceType = 'gross';
        }
        reqId = bid.bidderRequestId;
        if (!bidsMap[bid.params.uid]) {
          bidsMap[bid.params.uid] = [bid];
          auids.push(bid.params.uid);
        } else {
          bidsMap[bid.params.uid].push(bid);
        }
      });
  
      const payload = {
        u: utils.getTopWindowUrl(),
        pt: priceType,
        auids: auids.join(','),
        r: reqId
      };
  
      if (bidderRequest) {
        if (bidderRequest.timeout) {
          payload.wtimeout = bidderRequest.timeout;
        }
        if (bidderRequest.gdprConsent) {
          if (bidderRequest.gdprConsent.consentString) {
            payload.gdpr_consent = bidderRequest.gdprConsent.consentString;
          }
          payload.gdpr_applies =
            (typeof bidderRequest.gdprConsent.gdprApplies === 'boolean')
              ? Number(bidderRequest.gdprConsent.gdprApplies) : 1;
        }
      }
  
      return {
        method: 'GET',
        url: ENDPOINT_URL,
        data: utils.parseQueryStringParameters(payload).replace(/\&$/, ''),
        bidsMap: bidsMap,
      };
    }
docs: Make a server request from the list of BidRequests.
  
  @param {BidRequest[]} validBidRequests - an array of bids
  @param {bidderRequest} bidderRequest - bidder request object
  @return ServerRequest Info describing the request to the server.