github.com/prebid/prebid-server/v2@v2.18.0/adapters/adtrgtme/adtrgtmetest/supplemental/status-code-bad-request.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-req-id", 4 "tmax": 1000, 5 "user": { 6 "buyeruid": "test-user" 7 }, 8 "app": { 9 "publisher": { 10 "id": "123456789" 11 }, 12 "cat": [ 13 "IAB22-1" 14 ], 15 "bundle": "com.app.test", 16 "name": "test-app", 17 "domain": "test-app.com", 18 "id": "123456789" 19 }, 20 "imp": [ 21 { 22 "id": "test-imp-id", 23 "tagid": "test-adtarget-tag-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 "site_id": 123456789 36 } 37 } 38 } 39 ] 40 }, 41 "httpCalls": [ 42 { 43 "expectedRequest": { 44 "uri": "http://localhost/ssp?s=123456789&prebid", 45 "body": { 46 "id": "test-req-id", 47 "imp": [ 48 { 49 "id": "test-imp-id", 50 "video": { 51 "mimes": [ 52 "video/mp4" 53 ], 54 "minduration": 120, 55 "maxduration": 150, 56 "w": 640, 57 "h": 480 58 }, 59 "tagid": "test-adtarget-tag-id" 60 } 61 ], 62 "app": { 63 "publisher": { 64 "id": "123456789" 65 }, 66 "cat": [ 67 "IAB22-1" 68 ], 69 "bundle": "com.app.test", 70 "name": "test-app", 71 "domain": "test-app.com", 72 "id": "123456789" 73 }, 74 "user": { 75 "buyeruid": "test-user" 76 }, 77 "tmax": 1000 78 }, 79 "impIDs":["test-imp-id"] 80 }, 81 "mockResponse": { 82 "status": 400 83 } 84 } 85 ], 86 "expectedBidResponses": [], 87 "expectedMakeBidsErrors": [ 88 { 89 "value": "Unexpected status code: [ 400 ]", 90 "comparison": "literal" 91 } 92 ] 93 }