github.com/prebid/prebid-server@v0.275.0/adapters/yieldlab/yieldlabtest/exemplary/schain_multiple_nodes.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 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 "source": { 29 "ext": { 30 "schain": { 31 "ver": "1.0", 32 "complete": 1, 33 "nodes": [ 34 { 35 "asi": "exchange1.com", 36 "sid": "1234", 37 "hp": 1, 38 "ext": "text" 39 }, 40 { 41 "asi": "exchange2.com", 42 "sid": "abcd", 43 "hp": 1, 44 "ext": 1 45 } 46 ] 47 } 48 } 49 }, 50 "user": { 51 "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c" 52 }, 53 "device": { 54 "ifa": "hello-ads", 55 "devicetype": 4, 56 "connectiontype": 6, 57 "geo": { 58 "lat": 51.499488, 59 "lon": -0.128953 60 }, 61 "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", 62 "ip": "169.254.13.37", 63 "h": 1098, 64 "w": 814 65 }, 66 "site": { 67 "id": "fake-site-id", 68 "publisher": { 69 "id": "1" 70 }, 71 "page": "http://localhost:9090/gdpr.html" 72 } 73 }, 74 "httpCalls": [ 75 { 76 "expectedRequest": { 77 "headers": { 78 "Accept": [ 79 "application/json" 80 ], 81 "Cookie": [ 82 "id=34a53e82-0dc3-4815-8b7e-b725ede0361c" 83 ], 84 "Referer": [ 85 "http://localhost:9090/gdpr.html" 86 ], 87 "User-Agent": [ 88 "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" 89 ], 90 "X-Forwarded-For": [ 91 "169.254.13.37" 92 ] 93 }, 94 "uri": "https://ad.yieldlab.net/testing/12345?content=json&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&schain=1.0%2C1%21exchange1.com%2C1234%2C1%2C%2C%2C%2C%2522text%2522%21exchange2.com%2Cabcd%2C1%2C%2C%2C%2C1&sizes=12345%3A728x90&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads" 95 }, 96 "mockResponse": { 97 "status": 200, 98 "body": [ 99 { 100 "id": 12345, 101 "price": 201, 102 "advertiser": "yieldlab", 103 "adsize": "728x90", 104 "pid": 1234, 105 "did": 5678, 106 "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5" 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?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 "id": "12345", 122 "impid": "test-imp-id", 123 "price": 2.01, 124 "w": 728, 125 "h": 90 126 }, 127 "type": "banner" 128 } 129 ] 130 } 131 ] 132 }