github.com/prebid/prebid-server/v2@v2.18.0/adapters/oms/omstest/supplemental/400-response-from-target.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "app": { 5 "bundle": "test.app.bundle" 6 }, 7 "device": { 8 "ifa": "test-ifa-123456", 9 "ip": "91.199.242.236", 10 "ua": "random user agent", 11 "os": "android" 12 }, 13 "regs": { 14 "ext": { 15 "us_privacy": "1YYY" 16 } 17 }, 18 "imp": [ 19 { 20 "id": "test-imp-id", 21 "banner": { 22 "format": [ 23 { 24 "w": 300, 25 "h": 250 26 } 27 ] 28 }, 29 "ext": { 30 "bidder": { 31 "pid": "12345" 32 } 33 } 34 } 35 ] 36 }, 37 "httpCalls": [ 38 { 39 "expectedRequest": { 40 "uri": "http://rt.marphezis.com/pbs", 41 "headers": {}, 42 "body": { 43 "id": "test-request-id", 44 "app": { 45 "bundle": "test.app.bundle" 46 }, 47 "device": { 48 "ifa": "test-ifa-123456", 49 "ip": "91.199.242.236", 50 "ua": "random user agent", 51 "os": "android" 52 }, 53 "regs": { 54 "ext": { 55 "us_privacy": "1YYY" 56 } 57 }, 58 "imp": [ 59 { 60 "id": "test-imp-id", 61 "banner": { 62 "format": [ 63 { 64 "w": 300, 65 "h": 250 66 } 67 ] 68 }, 69 "ext": { 70 "bidder": { 71 "pid": "12345" 72 } 73 } 74 } 75 ] 76 }, 77 "impIDs":["test-imp-id"] 78 }, 79 "mockResponse": { 80 "status": 400 81 } 82 } 83 ], 84 "expectedMakeBidsErrors": [ 85 { 86 "value": "Unexpected status code: 400. Bad request from publisher. Run with request.debug = 1 for more info.", 87 "comparison": "literal" 88 } 89 ] 90 } 91