github.com/prebid/prebid-server/v2@v2.18.0/adapters/sovrn/sovrntest/video/multi-video.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id1", 7 "video": { 8 "mimes": [ 9 "video/mp4", 10 "video/3gpp", 11 "video/x-ms-wmv" 12 ], 13 "minduration": 5, 14 "maxduration": 30, 15 "protocols": [ 16 4, 17 5, 18 6, 19 8 20 ] 21 }, 22 "ext": { 23 "bidder": { 24 "tagid": "123456" 25 } 26 } 27 }, 28 { 29 "id": "test-imp-id2", 30 "video": { 31 "mimes": [ 32 "video/mp4", 33 "video/3gpp", 34 "video/x-ms-wmv" 35 ], 36 "minduration": 10, 37 "maxduration": 60, 38 "protocols": [ 39 4, 40 5, 41 6, 42 8 43 ] 44 }, 45 "ext": { 46 "bidder": { 47 "tagid": "654321" 48 } 49 } 50 } 51 ], 52 "device": { 53 "ua": "test-user-agent", 54 "ip": "123.123.123.123", 55 "language": "en", 56 "dnt": 0 57 }, 58 "site": { 59 "domain": "www.publisher.com", 60 "page": "http://www.publisher.com/awesome/site" 61 }, 62 "user": { 63 "buyeruid": "test_reader_id" 64 } 65 }, 66 "httpCalls": [ 67 { 68 "expectedRequest": { 69 "Accept": [ 70 "application/json" 71 ], 72 "headers": { 73 "Content-Type": [ 74 "application/json" 75 ], 76 "User-Agent": [ 77 "test-user-agent" 78 ], 79 "X-Forwarded-For": [ 80 "123.123.123.123" 81 ], 82 "Accept-Language": [ 83 "en" 84 ], 85 "Dnt": [ 86 "0" 87 ], 88 "Cookie": [ 89 "ljt_reader=test_reader_id" 90 ] 91 }, 92 "uri": "http://sovrn.com/test/endpoint", 93 "body": { 94 "id": "test-request-id", 95 "imp": [ 96 { 97 "id": "test-imp-id1", 98 "video": { 99 "mimes": [ 100 "video/mp4", 101 "video/3gpp", 102 "video/x-ms-wmv" 103 ], 104 "minduration": 5, 105 "maxduration": 30, 106 "protocols": [ 107 4, 108 5, 109 6, 110 8 111 ] 112 }, 113 "tagid": "123456", 114 "ext": { 115 "bidder": { 116 "tagid": "123456" 117 } 118 } 119 }, 120 { 121 "id": "test-imp-id2", 122 "video": { 123 "mimes": [ 124 "video/mp4", 125 "video/3gpp", 126 "video/x-ms-wmv" 127 ], 128 "minduration": 10, 129 "maxduration": 60, 130 "protocols": [ 131 4, 132 5, 133 6, 134 8 135 ] 136 }, 137 "tagid": "654321", 138 "ext": { 139 "bidder": { 140 "tagid": "654321" 141 } 142 } 143 } 144 ], 145 "site": { 146 "domain": "www.publisher.com", 147 "page": "http://www.publisher.com/awesome/site" 148 }, 149 "user": { 150 "buyeruid": "test_reader_id" 151 }, 152 "device": { 153 "ua": "test-user-agent", 154 "ip": "123.123.123.123", 155 "dnt": 0, 156 "language": "en" 157 } 158 }, 159 "impIDs":["test-imp-id1","test-imp-id2"] 160 }, 161 "mockResponse": { 162 "status": 200, 163 "body": { 164 "id": "test-request-id", 165 "seatbid": [ 166 { 167 "bid": [ 168 { 169 "id": "v_449642_554a13d3b9f348fba707cf83f0f63800", 170 "impid": "test-imp-id2", 171 "price": 3.5, 172 "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800", 173 "adm": "<?xml version=\"1.0\" encoding=\"utf-8\"?><VAST version=\"2.0\"><Ad id=\"12345\"><InLine><AdSystem version=\"1.0\">SpotXchange</AdSystem><AdTitle> <![CDATA[Sample VAST]]></AdTitle><Impression>http://sample.com</Impression><Description><![CDATA[A sample VAST feed]]></Description> <Creatives><Creative sequence=\"1\" id=\"1\"><Linear><Duration>00:00:30</Duration> <TrackingEvents> </TrackingEvents><VideoClicks><ClickThrough><![CDATA[http://sample.com/openrtbtest]]></ClickThrough></VideoClicks><MediaFiles><MediaFile delivery=\"progressive\" bitrate=\"256\" width=\"640\" height=\"480\" type=\"video/mp4\"><![CDATA[http://sample.com/video.mp4]]> </MediaFile></MediaFiles></Linear> </Creative></Creatives></InLine></Ad></VAST>" 174 } 175 ] 176 } 177 ] 178 } 179 } 180 } 181 ], 182 "expectedBidResponses": [ 183 { 184 "currency": "USD", 185 "bids": [ 186 { 187 "bid": { 188 "id": "v_449642_554a13d3b9f348fba707cf83f0f63800", 189 "impid": "test-imp-id2", 190 "price": 3.5, 191 "nurl": "http://sovrn.com/rtb/impression?bannerid=138743&campaignid=3699&zoneid=449642&cb=69493397&tid=a_449642_554a13d3b9f348fba707cf83f0f63800", 192 "adm": "<?xml version=\"1.0\" encoding=\"utf-8\"?><VAST version=\"2.0\"><Ad id=\"12345\"><InLine><AdSystem version=\"1.0\">SpotXchange</AdSystem><AdTitle> <![CDATA[Sample VAST]]></AdTitle><Impression>http://sample.com</Impression><Description><![CDATA[A sample VAST feed]]></Description> <Creatives><Creative sequence=\"1\" id=\"1\"><Linear><Duration>00:00:30</Duration> <TrackingEvents> </TrackingEvents><VideoClicks><ClickThrough><![CDATA[http://sample.com/openrtbtest]]></ClickThrough></VideoClicks><MediaFiles><MediaFile delivery=\"progressive\" bitrate=\"256\" width=\"640\" height=\"480\" type=\"video/mp4\"><![CDATA[http://sample.com/video.mp4]]> </MediaFile></MediaFiles></Linear> </Creative></Creatives></InLine></Ad></VAST>" 193 }, 194 "type": "video" 195 } 196 ] 197 } 198 ] 199 }