github.com/prebid/prebid-server@v0.275.0/adapters/adot/adottest/supplemental/unmarshal_error.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-banner-id", 4 "imp": [ 5 { 6 "id": "test-imp-banner-id", 7 "banner": { 8 "format": [ 9 { 10 "w": 320, 11 "h": 250 12 } 13 ], 14 "w": 320, 15 "h": 250 16 }, 17 "ext": { 18 "adot": {} 19 } 20 } 21 ] 22 }, 23 "httpCalls": [ 24 { 25 "expectedRequest": { 26 "uri": "https://dsp.adotmob.com/headerbidding/bidrequest", 27 "body": { 28 "id": "test-request-banner-id", 29 "imp": [ 30 { 31 "id": "test-imp-banner-id", 32 "banner": { 33 "format": [ 34 { 35 "w": 320, 36 "h": 250 37 } 38 ], 39 "w": 320, 40 "h": 250 41 }, 42 "ext": { 43 "adot": {} 44 } 45 } 46 ] 47 } 48 }, 49 "mockResponse": { 50 "status": 200, 51 "body": "fail for unmarshal" 52 } 53 } 54 ], 55 56 "expectedMakeBidsErrors": [ 57 { 58 "value": "json: cannot unmarshal string into Go value of type openrtb2.BidResponse", 59 "comparison": "literal" 60 } 61 ] 62 }