github.com/prebid/prebid-server@v0.275.0/adapters/cadent_aperture_mx/cadent_aperture_mxtest/supplemental/invalid-response-unmarshall-error.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some_test_auction", 4 "imp": [{ 5 "id": "some_test_ad", 6 "banner": { 7 "w": 90, 8 "h": 728 9 }, 10 "ext": { 11 "bidder": { 12 "tagid": "654321" 13 } 14 } 15 }] 16 }, 17 18 "httpCalls": [{ 19 "expectedRequest": { 20 "uri": "https://hb.emxdgt.com?t=1000&ts=2060541160", 21 "body": { 22 "id": "some_test_auction", 23 "imp": [{ 24 "banner": { 25 "h": 728, 26 "w": 90 27 }, 28 "id": "some_test_ad", 29 "secure": 0, 30 "ext": { 31 "bidder": { 32 "tagid": "654321" 33 } 34 }, 35 "tagid": "654321" 36 }] 37 } 38 }, 39 "mockResponse": { 40 "status": 200, 41 "body": { 42 "id": "some_test_auction", 43 "seatbid": [{ 44 "seat": "12356", 45 "bid": [{ 46 "adm": "<div id=\"123456789_ad\"><script>!function(){console.log\"Hello, world.\";}();<\/script><\/div>", 47 "id": "uuid", 48 "impid": "some_test_ad_id", 49 "ttl": 300, 50 "crid": "94395500", 51 "w": "300", 52 "price": 2.942808, 53 "adid": "94395500", 54 "h": 250 55 }] 56 }], 57 "cur": "USD" 58 } 59 } 60 }], 61 62 "expectedMakeBidsErrors": [ 63 { 64 "value": "Unable to unpackage bid response\\. Error: json: cannot unmarshal string into Go struct field (Bid\\.seatbid\\.bid\\.w|Bid\\.w) of type int64", 65 "comparison": "regex" 66 } 67 ] 68 }