VAST Wrapper Tag
XML Example
<?xml version="1.0" encoding="UTF-8"?>
<VAST version="3.0">
<Ad id="1111111">
<Wrapper>
<AdSystem>EXADS</AdSystem>
<VASTAdTagURI><![CDATA[https://myotheradserver.com.com/xml?cid=1111111]]></VASTAdTagURI>
<Impression id="exotr">
<![CDATA[https://mytrackingsolution.com/vregister.php?a=vimp&tracking_event=impression&idzone=22222&data=abcd]]></Impression>
<Error>
<![CDATA[https://mytrackingsolution.com/vregister.php?a=vview&errorcode=[ERRORCODE]&idzone=22222]]></Error>
<Creatives>
<Creative sequence="1" id="12345">
<Linear>
<TrackingEvents>
<Tracking id="prog_1" event="progress" offset="00:00:10.000">
<![CDATA[https://mytrackingsolution.com/vregister.php?a=vview&tracking_event=progress&progress=00:00:10.000&idzone=22222&data=abcd]]></Tracking>
<Tracking id="custom_1" event="creativeView"><![CDATA[https://mytrackingsolution.com/vregister.php?a=vview&tracking_event=creativeView&idzone=22222&data=abcd]]></Tracking>
</TrackingEvents>
<VideoClicks>
<ClickThrough>
<![CDATA[https://mytrackingsolution.com/click.php?data=abcd]]></ClickThrough>
</VideoClicks>
</Linear>
</Creative>
</Creatives>
</Wrapper>
</Ad>
</VAST>
Properties
Option | Explanation |
---|---|
<?xml version="1.0" encoding="UTF-8"?> | XML prolog with defined version and encoding. |
VASTAdTagURI | Element is used to provide a URI to a secondary VAST response. This secondary response may be another Wrapper, but eventually a VAST wrapper must return an <InLine> ad. Version 3 doesn't limit number of Wrapper redirection, but from version 4, maximum 5 Wrapper VAST redirections are allowed. |
VideoClicks | Element which is used to specify what the video player should do if the user clicks directly within the video player frame while the ad is being displayed. When a <VideoClicks> element is provided, it contains a single child <ClickTracking> element with URI (or <ClickThrough> in case of VAST Tag). |
ClickTracking | Element is used to track the clickthrough when the creative file handles the clickthrough . |
Creative
> Linear
> TrackingEvents
> Tracking
Supported Tracking events for
Event | Explanation |
---|---|
creativeView | Triggered when the creative is displayed. |
start | Triggered when the Linear ad starts playing. |
midpoint | Triggered when the Linear ad reaches the middle point. |
firstQuartile | Triggered when the Linear ad reaches the first quartile. |
thirdQuartile | Triggered when the Linear ad reaches the third quartile. |
complete | Triggered when the Linear ad reaches the end point. |
mute | Triggered when the Linear ad is muted. |
unmute | Triggered when the Linear ad is unmuted. |
pause | Triggered when the Linear ad is paused. |
rewind | Triggered when the Linear ad is rewinded. |
resume | Triggered when the Linear ad is resumed. |
fullscreen | Triggered when the Linear ad is in fullscreen. |
expand | Triggered when the Linear ad is expanded. |
collapse | Triggered when the Linear ad is collapsed. |
acceptInvitation | Triggered when the Linear ad is accepted. |
close | Triggered when the Linear ad is closed. |