github.com/prebid/prebid-server@v0.275.0/adapters/medianet/medianettest/supplemental/invalid-req-400-status-code-bad-request.json (about) 1 2 { 3 "mockBidRequest": { 4 "id": "some-request-id", 5 "tmax": 1000, 6 "user": { 7 "buyeruid": "0000-000-000-0000" 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 "video": { 25 "mimes": [ 26 "video/mp4" 27 ], 28 "w": 640, 29 "h": 480, 30 "minduration": 120, 31 "maxduration": 150 32 }, 33 "ext": { 34 "bidder": { 35 "cid": "8CUTSTCID", 36 "crid": "999999999" 37 } 38 } 39 } 40 ] 41 }, 42 43 "httpCalls": [{ 44 "expectedRequest": { 45 "uri": "https://example.media.net/rtb/prebid?src=http%3A%2F%2Flocalhost%3A8080%2Fextrnal_url", 46 "body": { 47 "id": "some-request-id", 48 "imp": [ 49 { 50 "id": "some-impression-id", 51 "video": { 52 "mimes": [ 53 "video/mp4" 54 ], 55 "w": 640, 56 "h": 480, 57 "minduration": 120, 58 "maxduration": 150 59 }, 60 "ext": { 61 "bidder": { 62 "cid": "8CUTSTCID", 63 "crid": "999999999" 64 } 65 } 66 } 67 ], 68 "app": { 69 "publisher": { 70 "id": "123456789" 71 }, 72 "cat": [ 73 "IAB22-1" 74 ], 75 "bundle": "com.app.awesome", 76 "name": "Awesome App", 77 "domain": "awesomeapp.com", 78 "id": "123456789" 79 }, 80 "user": { 81 "buyeruid": "0000-000-000-0000" 82 }, 83 "tmax": 1000 84 } 85 }, 86 "mockResponse": { 87 "status": 400 88 } 89 }], 90 "expectedBidResponses": [], 91 "expectedMakeBidsErrors": [ 92 { 93 "value": "Unexpected status code: 400. Run with request.debug = 1 for more info", 94 "comparison": "literal" 95 } 96 ] 97 }