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