github.com/prebid/prebid-server/v2@v2.18.0/endpoints/openrtb2/sample-requests/invalid-whole/regs-ext-gdpr-string.json (about) 1 { 2 "description": "Invalid GDPR value in regs 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 "regs": { 38 "ext": { 39 "gdpr": "foo" 40 } 41 }, 42 "user": { 43 "ext": {} 44 } 45 }, 46 "expectedReturnCode": 400, 47 "expectedErrorMessage": "Invalid request: request.regs.ext is invalid: gdpr must be an integer\n" 48 }