github.com/prebid/prebid-server/v2@v2.18.0/adapters/adhese/adhesetest/supplemental/res-invalid-height.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-req", 4 "imp": [ 5 { 6 "id": "test-req", 7 "banner": { 8 "format": [ 9 { 10 "w": 300, 11 "h": 250 12 } 13 ] 14 }, 15 "ext": { 16 "bidder": { 17 "account": "market", 18 "location": "_adhese_prebid_demo_", 19 "format": "leaderboard", 20 "targets": 21 { 22 "ci": ["gent", "brussels"], 23 "ag": ["55"], 24 "tl": ["all"] 25 } 26 } 27 } 28 } 29 ], 30 "site": { 31 "id": "test", 32 "publisher": { 33 "id": "123" 34 }, 35 "page": "dummy" 36 } 37 }, 38 "httpCalls": [ 39 { 40 "expectedRequest": { 41 "uri": "https://ads-market.adhese.com/json/sl_adhese_prebid_demo_-leaderboard/ag55/cigent;brussels/tlall/xfdummy", 42 "impIDs":["test-req"] 43 }, 44 "mockResponse": { 45 "status": 200, 46 "body": [{ 47 "origin": "APPNEXUS", 48 "originInstance": "", 49 "ext": "js", 50 "slotName": "_main_page_-leaderboard", 51 "adType": "leaderboard", 52 "originData": { 53 "seatbid": [ 54 { 55 "bid": [ 56 { 57 "crid": "60613369", 58 "dealid": null 59 } 60 ], 61 "seat": "958" 62 } 63 ] 64 }, 65 "width": "728", 66 "height": 90, 67 "body": "<div style='background-color:red; height:250px; width:300px'></div>", 68 "tracker": "https://hosts-demo.adhese.com/rtb_gateway/handlers/client/track/?id=a2f39296-6dd0-4b3c-be85-7baa22e7ff4a", 69 "impressionCounter": "https://hosts-demo.adhese.com/rtb_gateway/handlers/client/track/?id=a2f39296-6dd0-4b3c-be85-7baa22e7ff4a", 70 "extension": { 71 "prebid": { 72 "cpm": { 73 "amount": "10", 74 "currency": "USD" 75 } 76 } 77 } 78 }] 79 } 80 } 81 ], 82 "expectedBidResponses": [], 83 "expectedMakeBidsErrors": [ 84 { 85 "value": "json: cannot unmarshal number into Go struct field AdheseBid.height of type string", 86 "comparison": "literal" 87 }, { 88 "value": "Response (.*\n.*)+ could not be parsed as generic Adhese bid", 89 "comparison": "regex" 90 } 91 ] 92 }