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

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "tmax": 1000,
     6      "user": {
     7        "buyeruid": "awesome-user"
     8      },
     9      "app": {
    10        "publisher": {
    11          "id": "123456789"
    12        },
    13        "cat": [
    14          "IAB22-1"
    15        ],
    16        "bundle": "com.app.awesome",
    17        "name": "Awesome App",
    18        "domain": "awesomeapp.com",
    19        "id": "123456789"
    20      },
    21      "imp": [
    22        {
    23          "id": "some-impression-id",
    24          "tagid": "ogTAGID",
    25          "video": {
    26            "mimes": [
    27              "video/mp4"
    28            ],
    29            "w": 640,
    30            "h": 480,
    31            "minduration": 120,
    32            "maxduration": 150
    33          },
    34          "ext": {
    35            "bidder": {
    36              "supply_id": "1"
    37            }
    38          }
    39        }
    40      ]
    41    },
    42  
    43    "httpCalls": [{
    44      "expectedRequest": {
    45        "uri": "http://test.adelement.com/openrtb2/auction?supply_id=1",
    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    "expectedBidResponses": [],
    87    "expectedMakeBidsErrors": [
    88      {
    89        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    90        "comparison": "literal"
    91      }
    92    ]
    93  }