github.com/prebid/prebid-server/v2@v2.18.0/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty_transparency.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-with-empty-DSA-transparency", 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 "transparency": [ 46 { 47 } 48 ] 49 } 50 } 51 }, 52 "site": { 53 "id": "fake-site-id", 54 "publisher": { 55 "id": "1" 56 }, 57 "page": "http://localhost:9090/gdpr.html" 58 }, 59 "user": { 60 "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c", 61 "ext": { 62 "consent": "BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02" 63 } 64 } 65 }, 66 "httpCalls": [ 67 { 68 "expectedRequest": { 69 "headers": { 70 "Accept": [ 71 "application/json" 72 ], 73 "Cookie": [ 74 "id=34a53e82-0dc3-4815-8b7e-b725ede0361c" 75 ], 76 "Referer": [ 77 "http://localhost:9090/gdpr.html" 78 ], 79 "User-Agent": [ 80 "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" 81 ], 82 "X-Forwarded-For": [ 83 "169.254.13.37" 84 ] 85 }, 86 "uri": "https://ad.yieldlab.net/testing/12345?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&content=json&gdpr=1&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads", 87 "impIDs": ["test-imp-id"] 88 }, 89 "mockResponse": { 90 "status": 200, 91 "body": [ 92 { 93 "id": 12345, 94 "price": 201, 95 "advertiser": "yieldlab", 96 "adsize": "728x90", 97 "pid": 1234, 98 "did": 5678, 99 "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5", 100 "dsa": { 101 "transparency": [ 102 { 103 } 104 ] 105 } 106 } 107 ] 108 109 } 110 } 111 ], 112 "expectedBidResponses": [ 113 { 114 "currency": "EUR", 115 "bids": [ 116 { 117 "bid": { 118 "adm": "<script src=\"https://ad.yieldlab.net/d/12345/123456789/728x90?consent=BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02&gdpr=1&id=abc&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&pvid=40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5&ts=testing\"></script>", 119 "crid": "12345123433", 120 "dealid": "1234", 121 "ext": { 122 "dsa": { 123 "transparency": [ 124 { 125 } 126 ] 127 } 128 }, 129 "id": "12345", 130 "impid": "test-imp-id", 131 "price": 2.01, 132 "w": 728, 133 "h": 90 134 }, 135 "type": "banner" 136 } 137 ] 138 } 139 ] 140 }