{
  "mockBidRequest": {
    "id": "test-request-id",
    "imp": [
      {
        "id": "test-imp-id",
        "banner": {
          "format": [
            {
              "w": 728,
              "h": 90
            }
          ]
        },
        "ext": {
          "bidder": {
            "adslotId": "12345",
            "supplyId": "123456789",
            "targeting": {
              "key1": "value1",
              "key2": "value2"
            },
            "extId": "abc"
          }
        }
      }
    ],
    "device": {
      "ifa": "hello-ads",
      "devicetype": 4,
      "connectiontype": 6,
      "geo": {
        "lat": 51.499488,
        "lon": -0.128953
      },
      "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36",
      "ip": "169.254.13.37",
      "h": 1098,
      "w": 814
    },
    "regs": {
      "ext": {
        "gdpr": 1
      }
    },
    "site": {
      "id": "fake-site-id",
      "publisher": {
        "id": "1"
      },
      "page": "http://localhost:9090/gdpr.html"
    },
    "user": {
      "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c",
      "ext": {
        "consent": "BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02"
      }
    }
  },
  "httpCalls": [
    {
      "expectedRequest": {
        "headers": {
          "Accept": [
            "application/json"
          ],
          "Cookie": [
            "id=34a53e82-0dc3-4815-8b7e-b725ede0361c"
          ],
          "Referer": [
            "http://localhost:9090/gdpr.html"
          ],
          "User-Agent": [
            "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36"
          ],
          "X-Forwarded-For": [
            "169.254.13.37"
          ]
        },
        "uri": "https://ad.yieldlab.net/testing/12345?content=json&gdpr=1&gdpr_consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads",
        "impIDs":["test-imp-id"]
      },
      "mockResponse": {
        "status": 200,
        "body": [
          {
            "id": 12345,
            "price": 201,
            "advertiser": "yieldlab",
            "adsize": "728x90",
            "pid": 1234,
            "did": 5678,
            "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
          }
        ]
      }
    }
  ],
  "expectedBidResponses": [
    {
      "currency": "EUR",
      "bids": [
        {
          "bid": {
            "adm": "<script src=\"https://ad.yieldlab.net/d/12345/123456789/728x90?gdpr=1&gdpr_consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&id=abc&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&pvid=40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5&ts=testing\"></script>",
            "crid": "12345123433",
            "dealid": "1234",
            "id": "12345",
            "impid": "test-imp-id",
            "price": 2.01,
            "w": 728,
            "h": 90,
            "adomain": ["yieldlab"]
          },
          "type": "banner"
        }
      ]
    }
  ]
}
