github.com/prebid/prebid-server/v2@v2.18.0/adapters/yieldlab/yieldlabtest/supplemental/invalid_reg_ext.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-with-wrong-DSA-type", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "banner": { 8 "format": [ 9 { 10 "w": 728, 11 "h": 90 12 } 13 ] 14 }, 15 "ext": { 16 "bidder": { 17 "adslotId": "12345", 18 "supplyId": "123456789", 19 "targeting": { 20 "key1": "value1", 21 "key2": "value2" 22 }, 23 "extId": "abc" 24 } 25 } 26 } 27 ], 28 "device": { 29 "ifa": "hello-ads", 30 "devicetype": 4, 31 "connectiontype": 6, 32 "geo": { 33 "lat": 51.499488, 34 "lon": -0.128953 35 }, 36 "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36", 37 "ip": "169.254.13.37", 38 "h": 1098, 39 "w": 814 40 }, 41 "regs": { 42 "ext": { 43 "gdpr": 1, 44 "DSA": "" 45 } 46 }, 47 "site": { 48 "id": "fake-site-id", 49 "publisher": { 50 "id": "1" 51 }, 52 "page": "http://localhost:9090/gdpr.html" 53 }, 54 "user": { 55 "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c", 56 "ext": { 57 "consent": "BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02" 58 } 59 } 60 }, 61 "expectedMakeRequestsErrors": [ 62 { 63 "value": "failed to parse Regs.Ext object from Yieldlab response: json: cannot unmarshal string into Go struct field openRTBExtRegsWithDSA.dsa of type yieldlab.dsaRequest", 64 "comparison": "literal" 65 } 66 ] 67 }