github.com/prebid/prebid-server/v2@v2.18.0/adapters/silvermob/silvermobtest/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 "host": "eu", 37 "zoneid": "0" 38 } 39 } 40 } 41 ] 42 }, 43 44 "httpCalls": [{ 45 "expectedRequest": { 46 "uri": "http://eu.example.com/api/dsp/bid/0", 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 "ext": { 63 "bidder": { 64 "host": "eu", 65 "zoneid": "0" 66 } 67 } 68 } 69 ], 70 "app": { 71 "publisher": { 72 "id": "123456789" 73 }, 74 "cat": [ 75 "IAB22-1" 76 ], 77 "bundle": "com.app.awesome", 78 "name": "Awesome App", 79 "domain": "awesomeapp.com", 80 "id": "123456789" 81 }, 82 "user": { 83 "buyeruid": "awesome-user" 84 }, 85 "tmax": 1000 86 }, 87 "impIDs":["some-impression-id"] 88 }, 89 "mockResponse": { 90 "status": 400 91 } 92 }], 93 "expectedBidResponses": [], 94 "expectedMakeBidsErrors": [ 95 { 96 "value": "Bad Request status code: 400. Run with request.debug = 1 for more info", 97 "comparison": "literal" 98 } 99 ] 100 }