github.com/prebid/prebid-server/v2@v2.18.0/adapters/kayzen/kayzentest/supplemental/status-code-bad-request.json (about)

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "tmax": 1000,
     6      "user": {
     7        "buyeruid": "0000-000-000-0000"
     8      },
     9      "app": {
    10        "publisher": {
    11          "id": "123456789"
    12        },
    13        "cat": [
    14          "IAB22-1"
    15        ],
    16        "bundle": "com.app.awesome",
    17        "name": "Awesome App",
    18        "domain": "awesomeapp.com",
    19        "id": "123456789"
    20      },
    21      "imp": [
    22        {
    23          "id": "some-impression-id",
    24          "video": {
    25            "mimes": [
    26              "video/mp4"
    27            ],
    28            "w": 640,
    29            "h": 480,
    30            "minduration": 120,
    31            "maxduration": 150
    32          },
    33          "ext": {
    34            "bidder": {
    35              "zone": "dc",
    36              "exchange": "ex"
    37            }
    38          }
    39        }
    40      ]
    41    },
    42  
    43    "httpCalls": [{
    44      "expectedRequest": {
    45        "uri": "https://example-dc.com/?exchange=ex",
    46        "body": {
    47          "id": "some-request-id",
    48          "imp": [
    49            {
    50              "id": "some-impression-id",
    51              "video": {
    52                "mimes": [
    53                  "video/mp4"
    54                ],
    55                "minduration": 120,
    56                "maxduration": 150,
    57                "w": 640,
    58                "h": 480
    59              }
    60            }
    61          ],
    62          "app":  {
    63            "publisher": {
    64              "id": "123456789"
    65            },
    66            "cat": [
    67              "IAB22-1"
    68            ],
    69            "bundle": "com.app.awesome",
    70            "name": "Awesome App",
    71            "domain": "awesomeapp.com",
    72            "id": "123456789"
    73          },
    74          "user": {
    75            "buyeruid": "0000-000-000-0000"
    76          },
    77          "tmax": 1000
    78        },
    79        "impIDs":["some-impression-id"]
    80      },
    81      "mockResponse": {
    82        "status": 400
    83      }
    84    }],
    85    "expectedBidResponses": [],
    86    "expectedMakeBidsErrors": [
    87      {
    88        "value": "Unexpected status code: 400. Bad request from publisher. Run with request.debug = 1 for more info.",
    89        "comparison": "literal"
    90      }
    91    ]
    92  }