github.com/prebid/prebid-server@v0.275.0/adapters/adhese/adhesetest/supplemental/res-invalid-price.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 }, 43 "mockResponse": { 44 "status": 200, 45 "body": [{ 46 "origin": "APPNEXUS", 47 "originInstance": "", 48 "ext": "js", 49 "slotName": "_main_page_-leaderboard", 50 "adType": "leaderboard", 51 "originData": { 52 "seatbid": [ 53 { 54 "bid": [ 55 { 56 "crid": "60613369", 57 "dealid": null 58 } 59 ], 60 "seat": "958" 61 } 62 ] 63 }, 64 "width": "728", 65 "height": "90", 66 "body": "<div style='background-color:red; height:250px; width:300px'></div>", 67 "tracker": "https://hosts-demo.adhese.com/rtb_gateway/handlers/client/track/?id=a2f39296-6dd0-4b3c-be85-7baa22e7ff4a", 68 "impressionCounter": "https://hosts-demo.adhese.com/rtb_gateway/handlers/client/track/?id=a2f39296-6dd0-4b3c-be85-7baa22e7ff4a", 69 "extension": { 70 "prebid": { 71 "cpm": { 72 "amount": 10, 73 "currency": "USD" 74 } 75 } 76 } 77 }] 78 } 79 } 80 ], 81 "expectedBidResponses": [], 82 "expectedMakeBidsErrors": [ 83 { 84 "value": "json: cannot unmarshal number into Go struct field CPMValues.*\\.amount of type string", 85 "comparison": "regex" 86 }, { 87 "value": "Response (.*\n.*)+ could not be parsed as generic Adhese bid", 88 "comparison": "regex" 89 } 90 ] 91 }