github.com/prebid/prebid-server/v2@v2.18.0/adapters/yandex/yandextest/supplemental/multiple-imps-some-malformed.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "request_id",
     4      "imp": [
     5        {
     6          "id": "imp_id1",
     7          "banner": {
     8            "w": 300,
     9            "h": 600
    10          },
    11          "ext": {
    12            "bidder": {
    13              "page_id": 111,
    14              "imp_id": 1
    15            }
    16          }
    17        },
    18        {
    19          "id": "imp_id2",
    20          "ext": {
    21            "bidder": {
    22              "page_id": 222,
    23              "imp_id": 2
    24            }
    25          }
    26        }
    27      ],
    28      "site": {
    29        "domain": "www.example.com",
    30        "page": "http://www.example.com"
    31      },
    32      "cur": [
    33        "USD"
    34      ],
    35      "device": {
    36        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
    37        "ip": "127.0.0.1"
    38      },
    39      "tmax": 500
    40    },
    41    "httpCalls": [
    42      {
    43        "expectedRequest": {
    44          "uri": "https://bs-metadsp.yandex.ru/prebid/111?imp-id=1&ssp-cur=USD&ssp-id=10500&target-ref=www.example.com",
    45          "headers": {
    46            "User-Agent": [
    47              "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
    48            ],
    49            "X-Forwarded-For": [
    50              "127.0.0.1"
    51            ],
    52            "X-Real-Ip": [
    53              "127.0.0.1"
    54            ],
    55            "Content-Type": [
    56              "application/json;charset=utf-8"
    57            ],
    58            "Referer": [
    59              "http://www.example.com"
    60            ],
    61            "Accept": [
    62              "application/json"
    63            ]
    64          },
    65          "body": {
    66            "id": "request_id",
    67            "imp": [
    68              {
    69                "id": "imp_id1",
    70                "banner": {
    71                  "w": 300,
    72                  "h": 600
    73                },
    74                "ext": {
    75                  "bidder": {
    76                    "page_id": 111,
    77                    "imp_id": 1
    78                  }
    79                }
    80              }
    81            ],
    82            "site": {
    83              "domain": "www.example.com",
    84              "page": "http://www.example.com"
    85            },
    86            "cur": [
    87              "USD"
    88            ],
    89            "device": {
    90              "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
    91              "ip": "127.0.0.1"
    92            },
    93            "tmax": 500
    94          },
    95          "impIDs":["imp_id1"]
    96        },
    97        "mockResponse": {
    98          "status": 200,
    99          "headers": {},
   100          "body": {
   101            "id": "request_id",
   102            "seatbid": [
   103              {
   104                "bid": [
   105                  {
   106                    "id": "bid_id1",
   107                    "impid": "imp_id1",
   108                    "price": 1.25,
   109                    "crid": "crid",
   110                    "adm": "adm001",
   111                    "h": 600,
   112                    "w": 300
   113                  }
   114                ]
   115              }
   116            ],
   117            "bidid": "bid_id"
   118          }
   119        }
   120      }
   121    ],
   122    "expectedBidResponses": [
   123      {
   124        "bids": [
   125          {
   126            "bid": {
   127              "id": "bid_id1",
   128              "impid": "imp_id1",
   129              "price": 1.25,
   130              "adm": "adm001",
   131              "crid": "crid",
   132              "w": 300,
   133              "h": 600
   134            },
   135            "type": "banner"
   136          }
   137        ]
   138      }
   139    ],
   140    "expectedMakeRequestsErrors": [
   141      {
   142        "value": "Unsupported format",
   143        "comparison": "regex"
   144      }
   145    ]
   146  }