github.com/prebid/prebid-server@v0.275.0/adapters/eplanning/eplanningtest/supplemental/invalid-response-unmarshall-error.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "banner": { 8 "w": 600, 9 "h": 300 10 }, 11 "ext": { 12 "bidder": { 13 "ci": "12345", 14 "adunit_code": "test_adunitcode" 15 } 16 } 17 } 18 ] 19 }, 20 21 "httpCalls": [ 22 { 23 "expectedRequest": { 24 "uri": "http://rtb.e-planning.net/pbs/1/12345/1/FILE/ROS?e=testadunitcode%3A600x300&ncb=1&ur=FILE", 25 "body": {} 26 }, 27 "mockResponse": { 28 "status": 200, 29 "body": { 30 "sI": { "k": "12345" }, 31 "sec": "ROS", 32 "sp": [ 33 { 34 "k": "testadunitcode", 35 "a": [{ 36 "crid": "abcdef123456789", 37 "id": "adid12345", 38 "w": "600", 39 "h": 300 40 }] 41 } 42 ] 43 } 44 } 45 } 46 ], 47 48 "expectedMakeBidsErrors": [ 49 { 50 "value": "Error unmarshaling HB response: json: cannot unmarshal string into Go struct field (hbResponseAd\\.sp\\.a\\.w|hbResponseAd\\.w) of type uint64", 51 "comparison": "regex" 52 } 53 ] 54 } 55