github.com/prebid/prebid-server/v2@v2.18.0/adapters/screencore/screencoretest/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              "placementId": "placementId"
    37            }
    38          }
    39        }
    40      ]
    41    },
    42    "httpCalls": [
    43      {
    44        "expectedRequest": {
    45          "uri": "http://h1.screencore.io/?kp=accountId&kn=placementId",
    46          "body": {
    47            "id": "some-request-id",
    48            "imp": [
    49              {
    50                "id": "some-impression-id",
    51                "video": {
    52                  "mimes": [
    53                    "video/mp4"
    54                  ],
    55                  "minduration": 120,
    56                  "maxduration": 150,
    57                  "w": 640,
    58                  "h": 480
    59                },
    60                "tagid": "ogTAGID"
    61              }
    62            ],
    63            "app": {
    64              "publisher": {
    65                "id": "123456789"
    66              },
    67              "cat": [
    68                "IAB22-1"
    69              ],
    70              "bundle": "com.app.awesome",
    71              "name": "Awesome App",
    72              "domain": "awesomeapp.com",
    73              "id": "123456789"
    74            },
    75            "user": {
    76              "buyeruid": "awesome-user"
    77            },
    78            "tmax": 1000
    79          },
    80          "impIDs":["some-impression-id"]
    81        },
    82        "mockResponse": {
    83          "status": 400
    84        }
    85      }
    86    ],
    87    "expectedBidResponses": [],
    88    "expectedMakeBidsErrors": [
    89      {
    90        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    91        "comparison": "literal"
    92      }
    93    ]
    94  }