github.com/prebid/prebid-server@v0.275.0/endpoints/openrtb2/sample-requests/invalid-whole/site-ext-amp.json (about)

     1  {
     2    "description": "Request's amp value in site's ext is invalid",
     3    "mockBidRequest": {
     4      "id": "some-request-id",
     5      "site": {
     6        "page": "test.somepage.com",
     7        "ext": {
     8          "amp": 2
     9        }
    10      },
    11      "imp": [
    12        {
    13          "id": "my-imp-id",
    14          "banner": {
    15            "format": [
    16              {
    17                "w": 300,
    18                "h": 600
    19              }
    20            ]
    21          },
    22          "pmp": {
    23            "deals": [
    24              {
    25                "id": "some-deal-id"
    26              }
    27            ]
    28          },
    29          "ext": {
    30            "appnexus": {
    31              "placementId": 12883451
    32            }
    33          }
    34        }
    35      ],
    36      "ext": {
    37        "prebid": {
    38          "targeting": {
    39            "pricegranularity": "low"
    40          },
    41          "cache": {
    42            "bids": {}
    43          }
    44        }
    45      }
    46    },
    47    "expectedReturnCode": 400,
    48    "expectedErrorMessage": "Invalid request: request.site.ext.amp must be either 1, 0, or undefined\n"
    49  }