github.com/prebid/prebid-server@v0.275.0/adapters/ix/ixtest/supplemental/bad-request.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": 300,
    11                              "h": 250
    12                          }
    13                      ]
    14                  },
    15                  "ext": {
    16                      "bidder": {
    17                          "siteId": "569749"
    18                      }
    19                  }
    20              }
    21          ]
    22      },
    23      "httpCalls": [
    24          {
    25              "expectedRequest": {
    26                  "uri": "http://host/endpoint",
    27                  "body": {
    28                      "id": "test-request-id",
    29                      "imp": [
    30                          {
    31                              "id": "test-imp-id",
    32                              "banner": {
    33                                  "format": [
    34                                      {
    35                                          "w": 300,
    36                                          "h": 250
    37                                      }
    38                                  ],
    39                                  "w": 300,
    40                                  "h": 250
    41                              },
    42                              "ext": {
    43                                  "bidder": {
    44                                      "siteId": "569749"
    45                                  }
    46                              }
    47                          }
    48                      ]
    49                  }
    50              },
    51              "mockResponse": {
    52                  "status": 400,
    53                  "body": {}
    54              }
    55          }
    56      ],
    57      "expectedMakeBidsErrors": [
    58          {
    59              "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    60              "comparison": "literal"
    61          }
    62      ]
    63  }