github.com/prebid/prebid-server@v0.275.0/adapters/yieldlab/yieldlabtest/exemplary/video.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "ext": { 8 "bidder": { 9 "adslotId": "12345", 10 "supplyId": "123456789", 11 "targeting": { 12 "key1": "value1", 13 "key2": "value2" 14 }, 15 "extId": "abc" 16 } 17 }, 18 "video": { 19 "context": "instream", 20 "mimes": [ 21 "video/mp4" 22 ], 23 "playerSize": [ 24 [ 25 400, 26 600 27 ] 28 ], 29 "minduration": 1, 30 "maxduration": 2, 31 "protocols": [ 32 1, 33 2 34 ], 35 "w": 1, 36 "h": 2, 37 "startdelay": 1, 38 "placement": 1, 39 "playbackmethod": [ 40 2 41 ] 42 } 43 } 44 ], 45 "user": { 46 "buyeruid": "34a53e82-0dc3-4815-8b7e-b725ede0361c" 47 }, 48 "device": { 49 "ifa": "hello-ads", 50 "devicetype": 4, 51 "connectiontype": 6, 52 "geo": { 53 "lat": 51.499488, 54 "lon": -0.128953 55 }, 56 "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", 57 "ip": "169.254.13.37", 58 "h": 1098, 59 "w": 814 60 }, 61 "site": { 62 "id": "fake-site-id", 63 "publisher": { 64 "id": "1" 65 }, 66 "page": "http://localhost:9090/gdpr.html" 67 } 68 }, 69 "httpCalls": [ 70 { 71 "expectedRequest": { 72 "headers": { 73 "Accept": [ 74 "application/json" 75 ], 76 "Cookie": [ 77 "id=34a53e82-0dc3-4815-8b7e-b725ede0361c" 78 ], 79 "Referer": [ 80 "http://localhost:9090/gdpr.html" 81 ], 82 "User-Agent": [ 83 "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" 84 ], 85 "X-Forwarded-For": [ 86 "169.254.13.37" 87 ] 88 }, 89 "uri": "https://ad.yieldlab.net/testing/12345?content=json&ids=ylid%3A34a53e82-0dc3-4815-8b7e-b725ede0361c&lat=51.499488&lon=-0.128953&pvid=true&t=key1%3Dvalue1%26key2%3Dvalue2&ts=testing&yl_rtb_connectiontype=6&yl_rtb_devicetype=4&yl_rtb_ifa=hello-ads" 90 }, 91 "mockResponse": { 92 "status": 200, 93 "body": [ 94 { 95 "id": 12345, 96 "price": 201, 97 "advertiser": "yieldlab", 98 "adsize": "728x90", 99 "pid": 1234, 100 "did": 5678, 101 "pvid": "40cb3251-1e1e-4cfd-8edc-7d32dc1a21e5" 102 } 103 ] 104 } 105 } 106 ], 107 "expectedBidResponses": [ 108 { 109 "currency": "EUR", 110 "bids": [ 111 { 112 "bid": { 113 "crid": "12345123433", 114 "dealid": "1234", 115 "id": "12345", 116 "impid": "test-imp-id", 117 "nurl": "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", 118 "adm": "<VAST version=\"2.0\"><Ad id=\"12345\"><Wrapper><AdSystem>Yieldlab</AdSystem><VASTAdTagURI><![CDATA[ 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 ]]></VASTAdTagURI><Impression></Impression><Creatives></Creatives></Wrapper></Ad></VAST>", 119 "price": 2.01, 120 "w": 728, 121 "h": 90 122 }, 123 "type": "video" 124 } 125 ] 126 } 127 ] 128 }