github.com/prebid/prebid-server@v0.275.0/adapters/beachfront/beachfronttest/supplemental/adm-video-schain.json (about) 1 { 2 "mockBidRequest": { 3 "id": "adm-video", 4 "imp": [ 5 { 6 "id": "video1", 7 "ext": { 8 "bidder": { 9 "appId": "videoAppId1" 10 } 11 }, 12 "video": { 13 "mimes": [ 14 "video/mp4" 15 ], 16 "context": "instream", 17 "w": 300, 18 "h": 250 19 } 20 } 21 ], 22 "site": { 23 "page": "https://some.domain.us/some/page.html" 24 }, 25 "device":{ 26 "ip":"192.168.168.168" 27 }, 28 "source": { 29 "fd": 1, 30 "ext": { 31 "schain": { 32 "complete": 1, 33 "ver": "1.0", 34 "nodes": [ 35 { 36 "asi": "somenode.com", 37 "sid": "some-sid", 38 "rid": "some-rid", 39 "hp": 1 40 } 41 ] 42 } 43 } 44 } 45 }, 46 47 "httpCalls": [ 48 { 49 "expectedRequest": { 50 "uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1", 51 "body": { 52 "id": "adm-video", 53 "imp": [ 54 { 55 "video": { 56 "w": 300, 57 "h": 250, 58 "mimes": [ 59 "video/mp4" 60 ] 61 }, 62 "id": "video1", 63 "secure": 1 64 } 65 ], 66 "site": { 67 "page": "https://some.domain.us/some/page.html", 68 "domain": "some.domain.us" 69 }, 70 "cur": [ 71 "USD" 72 ], 73 "device":{ 74 "devicetype": 2, 75 "ip":"192.168.168.168" 76 }, 77 "source": { 78 "fd": 1, 79 "ext": { 80 "schain": { 81 "complete": 1, 82 "ver": "1.0", 83 "nodes": [ 84 { 85 "asi": "somenode.com", 86 "sid": "some-sid", 87 "rid": "some-rid", 88 "hp": 1 89 } 90 ] 91 } 92 } 93 } 94 } 95 }, 96 "mockResponse": { 97 "status": 200, 98 "body": { 99 "id": "adm-video", 100 "seatBid": [ 101 { 102 "bid": [ 103 { 104 "id": "5fd7c8a6ff2f1f0d42ee6427", 105 "impid": "video1", 106 "price": 20, 107 "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>", 108 "adid": "1088", 109 "adomain": [ 110 "beachfront.io" 111 ], 112 "cid": "277", 113 "crid": "532", 114 "cat":["IAB2"], 115 "w": 300, 116 "h": 250, 117 "ext": { 118 "duration": 30 119 } 120 } 121 ], 122 "seat": "bfio-s-1" 123 } 124 ] 125 } 126 } 127 } 128 ], 129 130 "expectedBidResponses": [ 131 { 132 "currency": "USD", 133 "bids": [ 134 { 135 "bid": { 136 "id": "video1AdmVideo", 137 "impid": "video1", 138 "price": 20, 139 "adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>", 140 "adid": "1088", 141 "adomain": [ 142 "beachfront.io" 143 ], 144 "cid": "277", 145 "crid": "532", 146 "cat":["IAB2"], 147 "w": 300, 148 "h": 250, 149 "ext": { 150 "duration": 30 151 } 152 }, 153 "type": "video" 154 } 155 ] 156 } 157 ] 158 }