github.com/prebid/prebid-server@v0.275.0/endpoints/openrtb2/sample-requests/invalid-whole/site-app-both.json (about) 1 { 2 "description": "Bid request comes with both site and app fields, it should only come with one or the other", 3 "mockBidRequest": { 4 "id": "req-id", 5 "site": { 6 "page": "test.mysite.com" 7 }, 8 "app": {}, 9 "imp": [ 10 { 11 "id": "imp-id", 12 "video": { 13 "mimes": [ 14 "video/mp4" 15 ] 16 }, 17 "ext": { 18 "appnexus": { 19 "placementId": 12883451 20 } 21 } 22 } 23 ] 24 }, 25 "expectedReturnCode": 400, 26 "expectedErrorMessage": "Invalid request: request.site or request.app must be defined, but not both.\n" 27 }