github.com/prebid/prebid-server/v2@v2.18.0/adapters/theadx/theadxtest/supplemental/bad-request.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [{
     5          "id": "test-imp-id",
     6          "native": {
     7            "request": ""
     8          },
     9          "ext": {
    10            "bidder": {
    11              "tagid": 12345
    12            }
    13          }
    14        }]
    15    },
    16    "httpCalls": [
    17      {
    18        "expectedRequest": {
    19          "uri": "https://ssp.theadx.com/request",
    20          "body": {
    21            "id": "test-request-id",
    22            "imp": [{
    23              "ext": {
    24                "bidder": {
    25                  "tagid": 12345
    26                }
    27              },
    28              "id": "test-imp-id",
    29              "native": {
    30                "request": ""
    31              },
    32              "tagid": "12345"
    33            }]
    34          },
    35          "impIDs":["test-imp-id"]
    36        },
    37        "mockResponse": {
    38          "status": 400
    39        }
    40      }
    41    ],
    42    "expectedBidResponses": [],
    43    "expectedMakeBidsErrors": [ 
    44      {
    45        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    46        "comparison": "literal" 
    47      }
    48    ]
    49  }