github.com/prebid/prebid-server/v2@v2.18.0/adapters/trustedstack/trustedstacktest/supplemental/invalid-req-400-status-code-bad-request.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "some-request-id",
     4      "tmax": 1000,
     5      "user": {
     6        "buyeruid": "0000-000-000-0000"
     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          "video": {
    24            "mimes": [
    25              "video/mp4"
    26            ],
    27            "w": 640,
    28            "h": 480,
    29            "minduration": 120,
    30            "maxduration": 150
    31          },
    32          "ext": {
    33            "bidder": {
    34              "cid": "8CUTSTCID",
    35              "crid": "999999999"
    36            }
    37          }
    38        }
    39      ]
    40    },
    41  
    42    "httpCalls": [{
    43      "expectedRequest": {
    44        "uri": "https://example.trustedstack.com/rtb/prebid?src=http%3A%2F%2Fhosturl.com",
    45        "body": {
    46          "id": "some-request-id",
    47          "imp": [
    48            {
    49              "id": "some-impression-id",
    50              "video": {
    51                "mimes": [
    52                  "video/mp4"
    53                ],
    54                "w": 640,
    55                "h": 480,
    56                "minduration": 120,
    57                "maxduration": 150
    58              },
    59              "ext": {
    60                "bidder": {
    61                  "cid": "8CUTSTCID",
    62                  "crid": "999999999"
    63                }
    64              }
    65            }
    66          ],
    67          "app":  {
    68            "publisher": {
    69              "id": "123456789"
    70            },
    71            "cat": [
    72              "IAB22-1"
    73            ],
    74            "bundle": "com.app.awesome",
    75            "name": "Awesome App",
    76            "domain": "awesomeapp.com",
    77            "id": "123456789"
    78          },
    79          "user": {
    80            "buyeruid": "0000-000-000-0000"
    81          },
    82          "tmax": 1000
    83        },
    84        "impIDs": ["some-impression-id"]
    85      },
    86      "mockResponse": {
    87        "status": 400
    88      }
    89    }],
    90    "expectedBidResponses": [],
    91    "expectedMakeBidsErrors": [
    92      {
    93        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    94        "comparison": "literal"
    95      }
    96    ]
    97  }