github.com/prebid/prebid-server@v0.275.0/adapters/unruly/unrulytest/supplemental/status-code-400.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "video": {
     8            "mimes": [
     9              "video/mp4"
    10            ],
    11            "minduration": 1,
    12            "maxduration": 2,
    13            "protocols": [
    14              1,
    15              3,
    16              5
    17            ],
    18            "w": 1020,
    19            "h": 780,
    20            "startdelay": 1,
    21            "placement": 1,
    22            "playbackmethod": [
    23              2
    24            ],
    25            "delivery": [
    26              1
    27            ],
    28            "api": [
    29              1,
    30              2,
    31              3,
    32              4
    33            ]
    34          },
    35          "ext": {
    36            "bidder": {
    37              "siteId": 72721,
    38              "siteid": 0
    39            }
    40          }
    41        }
    42      ]
    43    },
    44    "httpCalls": [
    45      {
    46        "expectedRequest": {
    47          "uri": "http://targeting.unrulymedia.com/unruly_prebid_server",
    48          "body": {
    49            "id": "test-request-id",
    50            "imp": [
    51              {
    52                "id": "test-imp-id",
    53                "video": {
    54                  "mimes": [
    55                    "video/mp4"
    56                  ],
    57                  "minduration": 1,
    58                  "maxduration": 2,
    59                  "protocols": [1,3,5],
    60                  "w": 1020,
    61                  "h": 780,
    62                  "startdelay": 1,
    63                  "placement": 1,
    64                  "playbackmethod": [2],
    65                  "delivery": [1],
    66                  "api": [1,2,3,4]
    67                },
    68                "ext": {
    69                  "bidder": {
    70                    "siteId": 72721,
    71                    "siteid": 0
    72                  }
    73                }
    74              }
    75            ]
    76          }
    77        },
    78        "mockResponse": {
    79          "status": 400
    80        }
    81      }
    82    ],
    83    "expectedMakeBidsErrors": [
    84      {
    85        "comparison": "literal",
    86        "value": "unexpected status code: 400. Run with request.debug = 1 for more info"
    87      }
    88    ]
    89  }