github.com/prebid/prebid-server/v2@v2.18.0/adapters/gothamads/gothamadstest/supplemental/status-code-bad-request.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "some-request-id",
     4      "tmax": 1000,
     5      "user": {
     6        "buyeruid": "awesome-user"
     7      },
     8      "app": {
     9        "publisher": {
    10          "id": "123456789"
    11        },
    12        "cat": [
    13          "IAB22-1"
    14        ],
    15        "bundle": "com.app.awesome",
    16        "name": "Awesome App",
    17        "domain": "awesomeapp.com",
    18        "id": "123456789"
    19      },
    20      "imp": [
    21        {
    22          "id": "some-impression-id",
    23          "tagid": "ogTAGID",
    24          "video": {
    25            "mimes": [
    26              "video/mp4"
    27            ],
    28            "w": 640,
    29            "h": 480,
    30            "minduration": 120,
    31            "maxduration": 150
    32          },
    33          "ext": {
    34            "bidder": {
    35              "accountId": "accountId"
    36            }
    37          }
    38        }
    39      ]
    40    },
    41    "httpCalls": [
    42      {
    43        "expectedRequest": {
    44          "uri": "http://us-e-node1.gothamads.com/?pass=accountId",
    45          "body": {
    46            "id": "some-request-id",
    47            "imp": [
    48              {
    49                "id": "some-impression-id",
    50                "video": {
    51                  "mimes": [
    52                    "video/mp4"
    53                  ],
    54                  "minduration": 120,
    55                  "maxduration": 150,
    56                  "w": 640,
    57                  "h": 480
    58                },
    59                "tagid": "ogTAGID"
    60              }
    61            ],
    62            "app": {
    63              "publisher": {
    64                "id": "123456789"
    65              },
    66              "cat": [
    67                "IAB22-1"
    68              ],
    69              "bundle": "com.app.awesome",
    70              "name": "Awesome App",
    71              "domain": "awesomeapp.com",
    72              "id": "123456789"
    73            },
    74            "user": {
    75              "buyeruid": "awesome-user"
    76            },
    77            "tmax": 1000
    78          },
    79          "impIDs":["some-impression-id"]
    80        },
    81        "mockResponse": {
    82          "status": 400
    83        }
    84      }
    85    ],
    86    "expectedBidResponses": [],
    87    "expectedMakeBidsErrors": [
    88      {
    89        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    90        "comparison": "literal"
    91      }
    92    ]
    93  }