<?xml version="1.0" encoding="UTF-8"?>
<VAST version="3.0">
<Ad id="sample-linear-ad">
<InLine>
<AdSystem>Sample Ad System 1.0</AdSystem>
<AdTitle><![CDATA[Sample VAST Linear Ad]]></AdTitle>
<Description><![CDATA[Пример линейной VAST рекламы для тестирования]]></Description>
<Advertiser><![CDATA[VAST Tester]]></Advertiser>
<Pricing model="CPM" currency="USD">
<![CDATA[2.50]]>
</Pricing>
<Survey><![CDATA[https://example.com/survey]]></Survey>
<Impression><![CDATA[https://example.com/impression?t=[TIMESTAMP]&r=[RANDOM]]]></Impression>
<Creatives>
<Creative id="creative-1" sequence="1">
<Linear skipoffset="00:00:05">
<Duration>00:00:30</Duration>
<TrackingEvents>
<Tracking event="start"><![CDATA[https://example.com/tracking/start?t=[TIMESTAMP]]]></Tracking>
<Tracking event="firstQuartile"><![CDATA[https://example.com/tracking/q1?t=[TIMESTAMP]]]></Tracking>
<Tracking event="midpoint"><![CDATA[https://example.com/tracking/mid?t=[TIMESTAMP]]]></Tracking>
<Tracking event="thirdQuartile"><![CDATA[https://example.com/tracking/q3?t=[TIMESTAMP]]]></Tracking>
<Tracking event="complete"><![CDATA[https://example.com/tracking/complete?t=[TIMESTAMP]]]></Tracking>
<Tracking event="skip"><![CDATA[https://example.com/tracking/skip?t=[TIMESTAMP]]]></Tracking>
<Tracking event="mute"><![CDATA[https://example.com/tracking/mute?t=[TIMESTAMP]]]></Tracking>
<Tracking event="unmute"><![CDATA[https://example.com/tracking/unmute?t=[TIMESTAMP]]]></Tracking>
<Tracking event="pause"><![CDATA[https://example.com/tracking/pause?t=[TIMESTAMP]]]></Tracking>
<Tracking event="resume"><![CDATA[https://example.com/tracking/resume?t=[TIMESTAMP]]]></Tracking>
<Tracking event="fullscreen"><![CDATA[https://example.com/tracking/fullscreen?t=[TIMESTAMP]]]></Tracking>
<Tracking event="exitFullscreen"><![CDATA[https://example.com/tracking/exitfullscreen?t=[TIMESTAMP]]]></Tracking>
</TrackingEvents>
<VideoClicks>
<ClickThrough><![CDATA[https://example.com/clickthrough?utm_source=vast&utm_campaign=sample]]></ClickThrough>
<ClickTracking><![CDATA[https://example.com/click/tracking?t=[TIMESTAMP]&pos=[CONTENTPLAYHEAD]]]></ClickTracking>
<CustomClick id="custom1"><![CDATA[https://example.com/custom/click1?t=[TIMESTAMP]]]></CustomClick>
</VideoClicks>
<MediaFiles>
<MediaFile delivery="progressive" type="video/mp4" codec="H.264" bitrate="1000" width="640" height="360" scalable="true" maintainAspectRatio="true">
<![CDATA[https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4]]>
</MediaFile>
<MediaFile delivery="progressive" type="video/mp4" codec="H.264" bitrate="500" width="480" height="270" scalable="true" maintainAspectRatio="true">
<![CDATA[https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4]]>
</MediaFile>
<MediaFile delivery="progressive" type="video/webm" codec="VP8" bitrate="800" width="640" height="360" scalable="true" maintainAspectRatio="true">
<![CDATA[https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerJoyrides.mp4]]>
</MediaFile>
</MediaFiles>
</Linear>
</Creative>
</Creatives>
<Extensions>
<Extension type="waterfall" fallback_on_no_ad="true">
<Waterfall>
<AdTagURI><![CDATA[https://example.com/fallback1.xml]]></AdTagURI>
<AdTagURI><![CDATA[https://example.com/fallback2.xml]]></AdTagURI>
</Waterfall>
</Extension>
</Extensions>
</InLine>
</Ad>
</VAST>