github.com/prebid/prebid-server/v2@v2.18.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 "impIDs":["test-imp-banner-id"] 49 }, 50 "mockResponse": { 51 "status": 200, 52 "body": "fail for unmarshal" 53 } 54 } 55 ], 56 57 "expectedMakeBidsErrors": [ 58 { 59 "value": "json: cannot unmarshal string into Go value of type openrtb2.BidResponse", 60 "comparison": "literal" 61 } 62 ] 63 }