Skip to content

Instantly share code, notes, and snippets.

@osv
Created September 20, 2021 13:00
Embed
What would you like to do?
Vast 3 example
<?xml version="1.0"?>
<VAST version="3.0">
<Ad>
<InLine>
<AdSystem>Example Ad system</AdSystem>
<AdTitle>Example title</AdTitle>
<Description>KayzenRTB</Description><Impression><![CDATA[http://imp.url]]></Impression>
<Creatives>
<Creative>
<Linear>
<Duration>00:00:01</Duration>
<TrackingEvents>
</TrackingEvents>
<VideoClicks>
<ClickThrough><![CDATA[http://click.url]]></ClickThrough><ClickTracking><![CDATA[http://track.url]]></ClickTracking></VideoClicks>
<MediaFiles>
<MediaFile delivery="progressive" scalable="true" maintainAspectRatio="true" bitrate="500" type="video/mp4" width="832" height="468"><![CDATA[https://b6b5p6y2.ssl.hwcdn.net/content/2df2834c-4a6b-40ed-8d30-0afb4c6e54ee.mp4]]></MediaFile></MediaFiles>
</Linear>
</Creative>
<Creative>
<CompanionAds>
<Companion width="8" height="8" id="endCard"><StaticResource creativeType="image/png"><![CDATA[https://b6b5p6y2.ssl.hwcdn.net/content/22457177-2a10-4882-8302-f47a1bb1ad7a.png]]></StaticResource><CompanionClickThrough><![CDATA[http://banner-click]]></CompanionClickThrough><TrackingEvents><Tracking event="creativeView"><![CDATA[http://banner-imp]]></Tracking></TrackingEvents><CompanionClickTracking><![CDATA[http://banner-track2]]></CompanionClickTracking></Companion></CompanionAds>
</Creative>
</Creatives>
</InLine>
</Ad>
</VAST>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment