github.com/prebid/prebid-server/v2@v2.18.0/adapters/cwire/cwiretest/supplemental/badresponse.json (about) 1 { 2 "mockBidRequest": { 3 "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", 4 "cur": [ 5 "CHF" 6 ], 7 "imp": [ 8 { 9 "id": "102", 10 "banner": { 11 "h": 250, 12 "w": 300, 13 "pos": 0 14 } 15 } 16 ], 17 "site": { 18 "page": "http://www.foobar.com/1234.html" 19 }, 20 "device": { 21 "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0" 22 }, 23 "user": { 24 "id": "55816b39711f9b5acf3b90e313ed29e51665623f", 25 "geo": { 26 "country": "ch", 27 "region": "basel-stadt", 28 "city": "basel" 29 } 30 } 31 }, 32 "httpCalls": [ 33 { 34 "expectedRequest": { 35 "uri": "https://cwi.re/prebid/adapter-endpoint", 36 "headers": { 37 "Content-Type": [ 38 "application/json;charset=utf-8" 39 ], 40 "Accept": [ 41 "application/json" 42 ] 43 }, 44 "body": { 45 "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", 46 "cur": [ 47 "CHF" 48 ], 49 "imp": [ 50 { 51 "id": "102", 52 "banner": { 53 "h": 250, 54 "w": 300, 55 "pos": 0 56 } 57 } 58 ], 59 "site": { 60 "page": "http://www.foobar.com/1234.html" 61 }, 62 "device": { 63 "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0" 64 }, 65 "user": { 66 "id": "55816b39711f9b5acf3b90e313ed29e51665623f", 67 "geo": { 68 "country": "ch", 69 "region": "basel-stadt", 70 "city": "basel" 71 } 72 } 73 }, 74 "impIDs":["102"] 75 }, 76 "mockResponse": { 77 "status": 200, 78 "body": { 79 "id": 3 80 } 81 } 82 } 83 ], 84 "expectedMakeBidsErrors": [ 85 { 86 "value": "Error while decoding response, err: .*", 87 "comparison": "regex" 88 } 89 ] 90 }