code: function buildImp(bid) {
    const sizes = bid.sizes;
    const imp = {
      'id': bid.bidId,
      'tagid': bid.placementCode
    };
  
    imp.banner = {
      format: sizes.map(s => ({'w': s[0], 'h': s[1]})),
      topframe: 0
    };
    if (utils.getTopWindowLocation().protocol === 'https:') {
      imp.secure = 1;
    }
    return imp;
  }
docs: Builds parameters object for single impression