github.com/prebid/prebid-server@v0.275.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        },
    96        "mockResponse": {
    97          "status": 200,
    98          "body": [
    99            {
   100              "id": 12345,
   101              "price": 201,
   102              "advertiser": "yieldlab",
   103              "adsize": "728x90",
   104              "pid": 1234,
   105              "did": 5678,
   106              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
   107            },
   108            {
   109              "id": 67890,
   110              "price": 131,
   111              "advertiser": "yieldlab",
   112              "adsize": "300x250",
   113              "pid": 1234,
   114              "did": 5678,
   115              "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5"
   116            }
   117          ]
   118        }
   119      }
   120    ],
   121    "expectedBidResponses": [
   122      {
   123        "currency": "EUR",
   124        "bids": [
   125          {
   126            "bid": {
   127              "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>",
   128              "crid": "12345123433",
   129              "dealid": "1234",
   130              "id": "12345",
   131              "impid": "test-imp-id",
   132              "price": 2.01,
   133              "w": 728,
   134              "h": 90
   135            },
   136            "type": "banner"
   137          },
   138          {
   139            "bid": {
   140              "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>",
   141              "crid": "67890123433",
   142              "dealid": "1234",
   143              "id": "67890",
   144              "impid": "test-imp-id2",
   145              "price": 1.31,
   146              "w": 300,
   147              "h": 250
   148            },
   149            "type": "banner"
   150          }
   151        ]
   152      }
   153    ]
   154  }