github.com/prebid/prebid-server/v2@v2.18.0/adapters/yieldlab/yieldlabtest/exemplary/multiple_impressions.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          "id": "test-imp-id2",
    29          "banner": {
    30            "format": [
    31              {
    32                "w": 300,
    33                "h": 250
    34              }
    35            ]
    36          },
    37          "ext": {
    38            "bidder": {
    39              "adslotId": "67890",
    40              "supplyId": "123456789",
    41              "targeting": {
    42                "key1": "value1",
    43                "key2": "value2"
    44              },
    45              "extId": "abc"
    46            }
    47          }
    48        }
    49      ],
    50      "user": {
    51        "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c"
    52      },
    53      "device": {
    54        "ifa": "hello-ads",
    55        "devicetype": 4,
    56        "connectiontype": 6,
    57        "geo": {
    58          "lat": 51.499488,
    59          "lon": -0.128953
    60        },
    61        "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",
    62        "ip": "169.254.13.37",
    63        "h": 1098,
    64        "w": 814
    65      },
    66      "site": {
    67        "id": "fake-site-id",
    68        "publisher": {
    69          "id": "1"
    70        },
    71        "page": "http://localhost:9090/gdpr.html"
    72      }
    73    },
    74    "httpCalls": [
    75      {
    76        "expectedRequest": {
    77          "headers": {
    78            "Accept": [
    79              "application/json"
    80            ],
    81            "Cookie": [
    82              "id=34a53e82-0dc3-4815-8b7e-b725ede0361c"
    83            ],
    84            "Referer": [
    85              "http://localhost:9090/gdpr.html"
    86            ],
    87            "User-Agent": [
    88              "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"
    89            ],
    90            "X-Forwarded-For": [
    91              "169.254.13.37"
    92            ]
    93          },
    94          "uri": "https://ad.yieldlab.net/testing/12345,67890?content=json&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90%2C67890%3A300x250&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads",
    95          "impIDs":["test-imp-id","test-imp-id2"]
    96        },
    97        "mockResponse": {
    98          "status": 200,
    99          "body": [
   100            {
   101              "id": 12345,
   102              "price": 201,
   103              "advertiser": "yieldlab",
   104              "adsize": "728x90",
   105              "pid": 1234,
   106              "did": 5678,
   107              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
   108            },
   109            {
   110              "id": 67890,
   111              "price": 131,
   112              "advertiser": "yieldlab",
   113              "adsize": "300x250",
   114              "pid": 1234,
   115              "did": 5678,
   116              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
   117            }
   118          ]
   119        }
   120      }
   121    ],
   122    "expectedBidResponses": [
   123      {
   124        "currency": "EUR",
   125        "bids": [
   126          {
   127            "bid": {
   128              "adm": "<script src=\"https://ad.yieldlab.net/d/12345/123456789/728x90?id=abc&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&pvid=40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5&ts=testing\"></script>",
   129              "crid": "12345123433",
   130              "dealid": "1234",
   131              "id": "12345",
   132              "impid": "test-imp-id",
   133              "price": 2.01,
   134              "w": 728,
   135              "h": 90
   136            },
   137            "type": "banner"
   138          },
   139          {
   140            "bid": {
   141              "adm": "<script src=\"https://ad.yieldlab.net/d/67890/123456789/300x250?id=abc&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&pvid=40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5&ts=testing\"></script>",
   142              "crid": "67890123433",
   143              "dealid": "1234",
   144              "id": "67890",
   145              "impid": "test-imp-id2",
   146              "price": 1.31,
   147              "w": 300,
   148              "h": 250
   149            },
   150            "type": "banner"
   151          }
   152        ]
   153      }
   154    ]
   155  }