github.com/prebid/prebid-server/v2@v2.18.0/adapters/adyoulike/adyouliketest/supplemental/status-bad-request.json (about)

     1  {
     2      "mockBidRequest": {
     3        "id": "test-request-id",
     4        "imp": [
     5          {
     6            "id": "banner-imp-id",
     7            "banner": {
     8              "format": [
     9                {
    10                  "w": 300,
    11                  "h": 250
    12                }
    13              ]
    14            },
    15            "ext": {
    16              "bidder": {
    17                "placement": "12345"
    18              }
    19            }
    20          }
    21        ]
    22      },
    23      "httpCalls": [
    24        {
    25          "expectedRequest": {
    26            "uri": "https://localhost/bid/4",
    27            "body": {
    28              "id": "test-request-id",
    29              "cur": ["USD"],
    30              "imp": [
    31                {
    32                  "banner": {
    33                    "format": [
    34                      {
    35                        "h": 250,
    36                        "w": 300
    37                      }
    38                    ]
    39                  },
    40                  "ext": {
    41                    "bidder": {
    42                      "placement": "12345"
    43                    }
    44                  },
    45                  "id": "banner-imp-id",
    46                  "tagid": "12345"
    47                }
    48              ]
    49            },
    50            "impIDs":["banner-imp-id"]
    51          },
    52        "mockResponse": {
    53          "status": 400,
    54          "body": {
    55          }
    56        }
    57      }
    58    ],
    59  
    60    "expectedBidResponses": [],
    61  
    62    "expectedMakeBidsErrors": [
    63      {
    64        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    65        "comparison": "literal"
    66      }
    67    ]
    68  }