code: function prebidBid(serverBid, cur) {
    if (cur == null || cur == '') {
      cur = 'USD';
    }
    const bid = {
      requestId: serverBid.impid,
      ad: serverBid.adm,
      cpm: serverBid.price,
      creativeId: serverBid.adid,
      currency: cur,
      dealId: serverBid.dealid || '',
      width: serverBid.w,
      height: serverBid.h,
      mediaType: 'banner',
      netRevenue: true,
      ttl: serverBid.ttl || 300,
      nurl: serverBid.nurl || '',
      isBurl: typeof (serverBid.burl) == 'string' && serverBid.burl.length > 0,
    };
  
    return bid;
  }
docs: Unpack the Server's Bid into a Prebid-compatible one.
  @param serverBid
  @return Bid