github.com/prebid/prebid-server@v0.275.0/adapters/appnexus/appnexustest/supplemental/status-400.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "imp": [
     5        {
     6          "id": "test-imp-id",
     7          "banner": {
     8            "format": [
     9              {
    10                "w": 300,
    11                "h": 250
    12              },
    13              {
    14                "w": 300,
    15                "h": 600
    16              }
    17            ]
    18          },
    19          "ext": {
    20            "bidder": {
    21              "placement_id": 1,
    22              "position": "above"
    23            }
    24          }
    25        }
    26      ]
    27    },
    28  
    29    "httpCalls": [
    30      {
    31        "expectedRequest": {
    32          "uri": "http://ib.adnxs.com/openrtb2",
    33          "body": {
    34            "id": "test-request-id",
    35            "ext": {
    36              "appnexus": {
    37                "hb_source": 5
    38              }
    39            },
    40            "imp": [
    41              {
    42                "id": "test-imp-id",
    43                "banner": {
    44                  "format": [
    45                    {
    46                      "w": 300,
    47                      "h": 250
    48                    },
    49                    {
    50                      "w": 300,
    51                      "h": 600
    52                    }
    53                  ],
    54                  "w": 300,
    55                  "pos": 1,
    56                  "h": 250
    57                },
    58                "ext": {
    59                  "appnexus": {
    60                    "placement_id": 1
    61                  }
    62                }
    63              }
    64            ]
    65          }
    66        },
    67        "mockResponse": {
    68          "status": 400,
    69          "body": {}
    70        }
    71      }
    72    ],
    73    "expectedMakeBidsErrors": [
    74      {
    75        "value": "Unexpected status code: 400. Run with request.debug = 1 for more info",
    76        "comparison": "literal"
    77      }
    78    ]
    79  }