github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/invalid-whole/banner-no-size.json (about)

     1  {
     2      "description": "Banner Ad Without Sizes Defined",
     3      "mockBidRequest": {
     4          "id": "some-request-id",
     5          "site": {
     6              "page": "test.somepage.com"
     7          },
     8          "imp": [{
     9              "id": "some-imp-id",
    10              "banner": {},
    11              "ext": {
    12                  "prebid": {
    13                      "bidder": {
    14                          "appnexus": {
    15                              "placementId": 12883451
    16                          }
    17                      }
    18                  }
    19              }
    20          }]
    21      },
    22      "expectedErrorMessage": "Invalid request: request.imp[0].banner has no sizes. Define \"w\" and \"h\", or include \"format\" elements.",
    23      "expectedReturnCode": 400
    24  }