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

     1  {
     2    "mockBidRequest": {
     3      "id": "abc",
     4      "imp": [
     5        {
     6          "id": "imp123",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              }
    13            ],
    14            "w": 300,
    15            "h": 250
    16          },
    17          "ext": {
    18            "bidder": {
    19              "pub_id": "test",
    20              "zone_id": "fake",
    21              "force_bid": false
    22            }
    23          }
    24        }
    25      ]
    26    },
    27  
    28    "httpCalls": [
    29      {
    30        "expectedRequest": {
    31          "uri": "http://market-east.smrtb.com/json/publisher/rtb?pubid=test",
    32          "body":{
    33            "id": "abc",
    34            "imp": [{
    35              "id": "imp123",
    36              "tagid": "fake",
    37              "banner": {
    38                "format": [{
    39                  "w": 300,
    40                  "h": 250
    41                }],
    42                "w": 300,
    43                "h": 250
    44              },
    45              "ext": {
    46                "bidder": {
    47                  "pub_id": "test",
    48                  "zone_id": "fake",
    49                  "force_bid": false
    50                }
    51              }
    52            }],
    53            "ext": {
    54              "pub_id": "test"
    55            }
    56          },
    57          "impIDs":["imp123"]
    58        },
    59        "mockResponse": {
    60          "status": 400
    61        }
    62      }
    63    ],
    64  
    65    "expectedMakeBidsErrors": [
    66      {
    67        "value": "Invalid request.",
    68        "comparison": "literal"
    69      }
    70    ]
    71  }