github.com/prebid/prebid-server/v2@v2.18.0/adapters/yieldlab/yieldlabtest/exemplary/gdpr.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 728,
    11                "h": 90
    12              }
    13            ]
    14          },
    15          "ext": {
    16            "bidder": {
    17              "adslotId": "12345",
    18              "supplyId": "123456789",
    19              "targeting": {
    20                "key1": "value1",
    21                "key2": "value2"
    22              },
    23              "extId": "abc"
    24            }
    25          }
    26        }
    27      ],
    28      "device": {
    29        "ifa": "hello-ads",
    30        "devicetype": 4,
    31        "connectiontype": 6,
    32        "geo": {
    33          "lat": 51.499488,
    34          "lon": -0.128953
    35        },
    36        "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",
    37        "ip": "169.254.13.37",
    38        "h": 1098,
    39        "w": 814
    40      },
    41      "regs": {
    42        "ext": {
    43          "gdpr": 1
    44        }
    45      },
    46      "site": {
    47        "id": "fake-site-id",
    48        "publisher": {
    49          "id": "1"
    50        },
    51        "page": "http://localhost:9090/gdpr.html"
    52      },
    53      "user": {
    54        "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c",
    55        "ext": {
    56          "consent": "BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02"
    57        }
    58      }
    59    },
    60    "httpCalls": [
    61      {
    62        "expectedRequest": {
    63          "headers": {
    64            "Accept": [
    65              "application/json"
    66            ],
    67            "Cookie": [
    68              "id=34a53e82-0dc3-4815-8b7e-b725ede0361c"
    69            ],
    70            "Referer": [
    71              "http://localhost:9090/gdpr.html"
    72            ],
    73            "User-Agent": [
    74              "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"
    75            ],
    76            "X-Forwarded-For": [
    77              "169.254.13.37"
    78            ]
    79          },
    80          "uri": "https://ad.yieldlab.net/testing/12345?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&content=json&gdpr=1&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",
    81          "impIDs":["test-imp-id"]
    82        },
    83        "mockResponse": {
    84          "status": 200,
    85          "body": [
    86            {
    87              "id": 12345,
    88              "price": 201,
    89              "advertiser": "yieldlab",
    90              "adsize": "728x90",
    91              "pid": 1234,
    92              "did": 5678,
    93              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
    94            }
    95          ]
    96        }
    97      }
    98    ],
    99    "expectedBidResponses": [
   100      {
   101        "currency": "EUR",
   102        "bids": [
   103          {
   104            "bid": {
   105              "adm": "<script src=\"https://ad.yieldlab.net/d/12345/123456789/728x90?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&gdpr=1&id=abc&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&pvid=40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5&ts=testing\"></script>",
   106              "crid": "12345123433",
   107              "dealid": "1234",
   108              "id": "12345",
   109              "impid": "test-imp-id",
   110              "price": 2.01,
   111              "w": 728,
   112              "h": 90
   113            },
   114            "type": "banner"
   115          }
   116        ]
   117      }
   118    ]
   119  }