github.com/prebid/prebid-server/v2@v2.18.0/adapters/sharethrough/sharethroughtest/supplemental/error-bad-request.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "web-banner",
     4      "tmax": 3000,
     5      "imp": [
     6        {
     7          "id": "banner-imp-id",
     8          "ext": {
     9            "bidder": {
    10              "pkey": "pkey"
    11            }
    12          },
    13          "banner": {
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 250
    18              }
    19            ]
    20          }
    21        }
    22      ],
    23      "app": {
    24        "bundle": "com.fake.app",
    25        "publisher": {
    26          "id": "42",
    27          "name": "whatever.pub"
    28        }
    29      },
    30      "device": {
    31        "w": 1200,
    32        "h": 900
    33      }
    34    },
    35    "httpCalls": [
    36      {
    37        "expectedRequest": {
    38          "uri": "http://whatever.url",
    39          "headers": {
    40            "Content-Type": [
    41              "application/json;charset=utf-8"
    42            ],
    43            "Accept": [
    44              "application/json"
    45            ]
    46          },
    47          "body": {
    48            "id": "web-banner",
    49            "tmax": 3000,
    50            "imp": [
    51              {
    52                "id": "banner-imp-id",
    53                "tagid": "pkey",
    54                "ext": {
    55                  "bidder": {
    56                    "pkey": "pkey"
    57                  }
    58                },
    59                "banner": {
    60                  "format": [
    61                    {
    62                      "w": 300,
    63                      "h": 250
    64                    }
    65                  ]
    66                }
    67              }
    68            ],
    69            "device": {
    70              "w": 1200,
    71              "h": 900
    72            },
    73            "app": {
    74              "bundle": "com.fake.app",
    75              "publisher": {
    76                "id": "42",
    77                "name": "whatever.pub"
    78              }
    79            },
    80            "source": {
    81              "ext": {
    82                "version": "",
    83                "str": "10.0"
    84              }
    85            }
    86          },
    87          "impIDs":["banner-imp-id"]
    88        },
    89        "mockResponse": {
    90          "status": 400
    91        }
    92      }
    93    ],
    94    "expectedMakeBidsErrors": [
    95      {
    96        "value": "Unexpected status code: 400.",
    97        "comparison": "regex"
    98      }
    99    ]
   100  }