github.com/prebid/prebid-server/v2@v2.18.0/adapters/beintoo/beintootest/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://ib.beintoo.com", 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 "tagid": "654321" 31 }] 32 }, 33 "impIDs":["some_test_ad"] 34 }, 35 "mockResponse": { 36 "status": 200, 37 "body": { 38 "id": "some_test_auction", 39 "seatbid": [{ 40 "seat": "12356", 41 "bid": [{ 42 "adm": "<div id=\"123456789_ad\"><script>!function(){console.log\"Hello, world.\";}();<\/script><\/div>", 43 "id": "uuid", 44 "impid": "some_test_ad_id", 45 "ttl": 300, 46 "crid": "94395500", 47 "w": "300", 48 "price": 2.942808, 49 "adid": "94395500", 50 "h": 250 51 }] 52 }], 53 "cur": "USD" 54 } 55 } 56 }], 57 58 "expectedMakeBidsErrors": [ 59 { 60 "value": "Unable to unpackage bid response\\. Error: json: cannot unmarshal string into Go struct field (Bid\\.seatbid\\.bid\\.w|Bid\\.w) of type int64", 61 "comparison": "regex" 62 } 63 ] 64 }