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