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

     1  
     2  {
     3    "mockBidRequest": {
     4      "id": "request-id",
     5      "app": {
     6        "publisher": {
     7          "id": "123456789"
     8        },
     9        "cat": [
    10          "IAB9-1"
    11        ],
    12        "bundle": "com.app.test",
    13        "name": "Test App",
    14        "id": "12345678"
    15      },
    16      "device": {
    17        "ua": "useragent",
    18        "ip": "100.100.100.100",
    19        "language": "en"
    20      },
    21      "tmax": 1000,
    22      "user": {
    23        "id": "some-user"
    24      },
    25      "imp": [
    26        {
    27          "id": "impression-id",
    28          "tagid": "tid",
    29          "video": {
    30            "mimes": [
    31              "video/mp4"
    32            ],
    33            "w": 640,
    34            "h": 480,
    35            "minduration": 30,
    36            "maxduration": 150
    37          },
    38  	      "ext": {
    39              "bidder": {
    40                "placementId": "f897beb0daba0253d8e59a098eef9311"
    41              }
    42            }
    43        }
    44      ]
    45    },
    46  
    47    "httpCalls": [{
    48      "expectedRequest": {
    49        "headers": {
    50          "Content-Type": [
    51            "application/json;charset=utf-8"
    52          ],
    53          "Accept": [
    54            "application/json"
    55          ]
    56        },
    57        "uri": "http://point.contextualadv.com/?t=3&partner=f897beb0daba0253d8e59a098eef9311",
    58        "body": {
    59          "id": "request-id",
    60          "device": {
    61            "ua": "useragent",
    62            "ip": "100.100.100.100",
    63            "language": "en"
    64          },
    65          "imp": [
    66            {
    67              "id": "impression-id",
    68              "video": {
    69                "mimes": [
    70                  "video/mp4"
    71                ],
    72                "minduration": 30,
    73                "maxduration": 150,
    74                "w": 640,
    75                "h": 480
    76              },
    77              "tagid": "tid"
    78            }
    79          ],
    80          "app": {
    81            "publisher": {
    82              "id": "123456789"
    83            },
    84            "cat": [
    85              "IAB9-1"
    86            ],
    87            "bundle": "com.app.test",
    88            "name": "Test App",
    89            "id": "12345678"
    90          },
    91          "user": {
    92            "id": "some-user"
    93          },
    94          "tmax": 1000
    95        },
    96        "impIDs":["impression-id"]
    97      },
    98      "mockResponse": {
    99        "status": 400
   100      }
   101    }],
   102    "expectedBidResponses": [],
   103    "expectedMakeBidsErrors": [
   104      {
   105        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
   106        "comparison": "literal"
   107      }
   108    ]
   109  }