github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/invalid-whole/user-gdpr-consent-invalid.json (about)

     1  {
     2    "description": "Invalid GDPR consent string in user field",
     3    "mockBidRequest": {
     4      "id": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5",
     5      "site": {
     6        "page": "prebid.org",
     7        "publisher": {
     8          "id": "a3de7af2-a86a-4043-a77b-c7e86744155e"
     9        }
    10      },
    11      "source": {
    12        "tid": "b9c97a4b-cbc4-483d-b2c4-58a19ed5cfc5"
    13      },
    14      "tmax": 1000,
    15      "imp": [
    16        {
    17          "id": "/19968336/header-bid-tag-0",
    18          "ext": {
    19            "appnexus": {
    20              "placementId": 12883451
    21            }
    22          },
    23          "banner": {
    24            "format": [
    25              {
    26                "w": 300,
    27                "h": 250
    28              },
    29              {
    30                "w": 300,
    31                "h": 300
    32              }
    33            ]
    34          }
    35        }
    36      ],
    37      "user": {
    38        "ext": {
    39          "consent": 2
    40        }
    41      }
    42    },
    43    "expectedReturnCode": 400,
    44    "expectedErrorMessage": "Invalid request: request.user.ext object is not valid: expects \" or n, but found 2"
    45  }