github.com/prebid/prebid-server/v2@v2.18.0/adapters/revcontent/revcontenttest/supplemental/status_400.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [{"w": 300, "h": 50}]
     9          }
    10        }
    11      ],
    12      "site": {
    13        "domain": "test.com"
    14      }
    15    },
    16  
    17    "httpCalls": [
    18      {
    19        "expectedRequest": {
    20          "uri": "https://trends.revcontent.com/rtb?userId=1234&apiKey=abcd",
    21          "body": {
    22            "id": "test-request-id",
    23            "imp": [
    24              {
    25                "id":"test-imp-id",
    26                "banner": {
    27                  "format": [{"w": 300, "h": 50}]
    28                }
    29              }
    30            ],
    31            "site": {
    32              "domain": "test.com"
    33            }
    34          },
    35          "impIDs":["test-imp-id"]
    36        },
    37        "mockResponse": {
    38          "status": 400,
    39          "body": {}
    40        }
    41      }
    42    ],
    43  
    44    "expectedMakeBidsErrors": [
    45      {
    46        "comparison": "literal",
    47        "value": "unexpected status code: 400."
    48      }
    49    ]
    50  }