github.com/prebid/prebid-server/v2@v2.18.0/adapters/yandex/yandextest/supplemental/simple-banner-status-400.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "request_id",
     4      "imp": [
     5        {
     6          "id": "imp_id",
     7          "banner": {
     8            "w": 300,
     9            "h": 600
    10          },
    11          "ext": {
    12            "bidder": {
    13              "page_id": 134001,
    14              "imp_id": 1
    15            }
    16          }
    17        }
    18      ],
    19      "site": {
    20        "domain": "www.example.com",
    21        "page": "http://www.example.com"
    22      },
    23      "cur": [
    24        "USD"
    25      ],
    26      "device": {
    27        "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
    28        "ip": "127.0.0.1"
    29      },
    30      "tmax": 500
    31    },
    32    "httpCalls": [
    33      {
    34        "expectedRequest": {
    35          "uri": "https://bs-metadsp.yandex.ru/prebid/134001?imp-id=1&ssp-cur=USD&ssp-id=10500&target-ref=www.example.com",
    36          "headers": {
    37            "User-Agent": [
    38              "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36"
    39            ],
    40            "X-Forwarded-For": [
    41              "127.0.0.1"
    42            ],
    43            "X-Real-Ip": [
    44              "127.0.0.1"
    45            ],
    46            "Content-Type": [
    47              "application/json;charset=utf-8"
    48            ],
    49            "Referer": [
    50              "http://www.example.com"
    51            ],
    52            "Accept": [
    53              "application/json"
    54            ]
    55          },
    56          "body": {
    57            "id": "request_id",
    58            "imp": [
    59              {
    60                "id": "imp_id",
    61                "banner": {
    62                  "w": 300,
    63                  "h": 600
    64                },
    65                "ext": {
    66                  "bidder": {
    67                    "page_id": 134001,
    68                    "imp_id": 1
    69                  }
    70                }
    71              }
    72            ],
    73            "site": {
    74              "domain": "www.example.com",
    75              "page": "http://www.example.com"
    76            },
    77            "cur": [
    78              "USD"
    79            ],
    80            "device": {
    81              "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
    82              "ip": "127.0.0.1"
    83            },
    84            "tmax": 500
    85          },
    86          "impIDs":["imp_id"]
    87        },
    88        "mockResponse": {
    89          "status": 400,
    90          "headers": {},
    91          "body": {}
    92        }
    93      }
    94    ],
    95    "expectedBidResponses": [],
    96    "expectedMakeBidsErrors": [
    97      {
    98        "value": "Unexpected status code",
    99        "comparison": "regex"
   100      }
   101    ]
   102  }