github.com/prebid/prebid-server/v2@v2.18.0/adapters/motorik/motoriktest/supplemental/status-code-bad-request.json (about) 1 2 { 3 "mockBidRequest": { 4 "id": "some-request-id", 5 "tmax": 1000, 6 "user": { 7 "buyeruid": "awesome-user" 8 }, 9 "app": { 10 "publisher": { 11 "id": "123456789" 12 }, 13 "cat": [ 14 "IAB22-1" 15 ], 16 "bundle": "com.app.awesome", 17 "name": "Awesome App", 18 "domain": "awesomeapp.com", 19 "id": "123456789" 20 }, 21 "imp": [ 22 { 23 "id": "some-impression-id", 24 "tagid": "ogTAGID", 25 "video": { 26 "mimes": [ 27 "video/mp4" 28 ], 29 "w": 640, 30 "h": 480, 31 "minduration": 120, 32 "maxduration": 150 33 }, 34 "ext": { 35 "bidder": { 36 "accountId": "accountId", 37 "placementId": "placementId" 38 } 39 } 40 } 41 ] 42 }, 43 44 "httpCalls": [{ 45 "expectedRequest": { 46 "uri": "http://us.example.com/?k=accountId&name=placementId", 47 "body": { 48 "id": "some-request-id", 49 "imp": [ 50 { 51 "id": "some-impression-id", 52 "video": { 53 "mimes": [ 54 "video/mp4" 55 ], 56 "minduration": 120, 57 "maxduration": 150, 58 "w": 640, 59 "h": 480 60 }, 61 "tagid": "ogTAGID" 62 } 63 ], 64 "app": { 65 "publisher": { 66 "id": "123456789" 67 }, 68 "cat": [ 69 "IAB22-1" 70 ], 71 "bundle": "com.app.awesome", 72 "name": "Awesome App", 73 "domain": "awesomeapp.com", 74 "id": "123456789" 75 }, 76 "user": { 77 "buyeruid": "awesome-user" 78 }, 79 "tmax": 1000 80 }, 81 "impIDs":["some-impression-id"] 82 }, 83 "mockResponse": { 84 "status": 400 85 } 86 }], 87 "expectedBidResponses": [], 88 "expectedMakeBidsErrors": [ 89 { 90 "value": "Unexpected status code: 400. Run with request.debug = 1 for more info", 91 "comparison": "literal" 92 } 93 ] 94 }