github.com/prebid/prebid-server/v2@v2.18.0/adapters/yieldlab/yieldlabtest/supplemental/dsa_empty.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-with-empty-DSA", 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 }, 48 "site": { 49 "id": "fake-site-id", 50 "publisher": { 51 "id": "1" 52 }, 53 "page": "http://localhost:9090/gdpr.html" 54 }, 55 "user": { 56 "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c", 57 "ext": { 58 "consent": "BOlOrv1OlOr2EAAABADECg-AAAApp7v______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-3zd4u_1vf99yfm1-7etr3tp_87ues2_Xur__79__3z3_9phP78k89r7337Ew-v02" 59 } 60 } 61 }, 62 "httpCalls": [ 63 { 64 "expectedRequest": { 65 "headers": { 66 "Accept": [ 67 "application/json" 68 ], 69 "Cookie": [ 70 "id=34a53e82-0dc3-4815-8b7e-b725ede0361c" 71 ], 72 "Referer": [ 73 "http://localhost:9090/gdpr.html" 74 ], 75 "User-Agent": [ 76 "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" 77 ], 78 "X-Forwarded-For": [ 79 "169.254.13.37" 80 ] 81 }, 82 "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", 83 "impIDs": ["test-imp-id"] 84 }, 85 "mockResponse": { 86 "status": 200, 87 "body": [ 88 { 89 "id": 12345, 90 "price": 201, 91 "advertiser": "yieldlab", 92 "adsize": "728x90", 93 "pid": 1234, 94 "did": 5678, 95 "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5", 96 "dsa": { 97 } 98 } 99 ] 100 101 } 102 } 103 ], 104 "expectedBidResponses": [ 105 { 106 "currency": "EUR", 107 "bids": [ 108 { 109 "bid": { 110 "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>", 111 "crid": "12345123433", 112 "dealid": "1234", 113 "ext": { 114 "dsa": { 115 } 116 }, 117 "id": "12345", 118 "impid": "test-imp-id", 119 "price": 2.01, 120 "w": 728, 121 "h": 90 122 }, 123 "type": "banner" 124 } 125 ] 126 } 127 ] 128 }