github.com/prebid/prebid-server/v2@v2.18.0/adapters/cpmstar/cpmstartest/supplemental/invalid-response-unmarshall-error.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some_test_auction", 4 "imp": [ 5 { 6 "id": "some_test_ad", 7 "banner": { 8 "w": 90, 9 "h": 728 10 }, 11 "ext": { 12 "bidder": { 13 "placementId": 154 14 } 15 } 16 } 17 ] 18 }, 19 "httpCalls": [ 20 { 21 "expectedRequest": { 22 "uri": "//host", 23 "body": { 24 "id": "some_test_auction", 25 "imp": [ 26 { 27 "id": "some_test_ad", 28 "banner": { 29 "h": 728, 30 "w": 90 31 }, 32 "ext": { 33 "placementId": 154 34 } 35 } 36 ] 37 }, 38 "impIDs":["some_test_ad"] 39 }, 40 "mockResponse": { 41 "status": 200, 42 "body": { 43 "id": "some_test_auction", 44 "seatbid": [ 45 { 46 "bid": [ 47 { 48 "id": "uuid", 49 "impid": "some_test_ad", 50 "w": "728", 51 "h": 90 52 } 53 ] 54 } 55 ], 56 "cur": "USD" 57 } 58 } 59 } 60 ], 61 "expectedMakeBidsErrors": [ 62 { 63 "value": "json: cannot unmarshal string into Go struct field Bid(\\.seatbid\\.bid)?\\.w of type int64", 64 "comparison": "regex" 65 } 66 ] 67 }