github.com/prebid/prebid-server/v2@v2.18.0/adapters/datablocks/datablockstest/supplemental/bad-response-body.json (about) 1 { 2 "mockBidRequest": 3 { 4 "id": "some-request-id", 5 "imp": [ 6 { 7 "id": "some-impression-id", 8 "banner": 9 { 10 "format": [ 11 { 12 "w": 300, 13 "h": 250 14 }] 15 }, 16 "ext": 17 { 18 "bidder": 19 { 20 "host": "pbserver.dblks.net", 21 "sourceId": 123 22 } 23 } 24 }], 25 "site": 26 { 27 "page": "prebid.org" 28 }, 29 "device": 30 { 31 "ip": "8.8.8.10" 32 }, 33 "at": 1, 34 "tmax": 500 35 }, 36 "httpCalls": [ 37 { 38 "expectedRequest": 39 { 40 "uri": "http://pbserver.dblks.net/openrtb2?sid=123", 41 "body": 42 { 43 "id": "some-request-id", 44 "imp": [ 45 { 46 "id": "some-impression-id", 47 "banner": 48 { 49 "format": [ 50 { 51 "w": 300, 52 "h": 250 53 }] 54 }, 55 "ext": 56 { 57 "bidder": 58 { 59 "host": "pbserver.dblks.net", 60 "sourceId": 123 61 } 62 } 63 }], 64 "site": 65 { 66 "page": "prebid.org" 67 }, 68 "device": 69 { 70 "ip": "8.8.8.10" 71 }, 72 "at": 1, 73 "tmax": 500 74 }, 75 "impIDs":["some-impression-id"] 76 }, 77 "mockResponse": 78 { 79 "status": 200, 80 "body":"foobar" 81 } 82 }], 83 "expectedMakeBidsErrors": [ 84 { 85 "value": "json: cannot unmarshal string into Go value of type openrtb2.BidResponse", 86 "comparison": "literal" 87 } 88 ] 89 }