Single Wrapper Example
VAST

View this Ad Tag in action
Analyse this VAST ad tag in the AdMeIn VAST Validator.
About This Ad Tag Example
This VAST wrapper example demonstrates a basic implementation of a VAST tag that wraps around another VAST ad. It is designed for testing and educational purposes, showcasing how to structure a VAST wrapper correctly according to industry standards.
Key Features
Code Sample for this VAST Ad
<?xml version="1.0" encoding="UTF-8"?>
<VAST version="4.2">
<Ad id="wrapper-1">
<Wrapper followAdditionalWrappers="true" allowMultipleAds="false">
<AdSystem>AdMeIn Wrapper Generator</AdSystem>
<AdTitle>Wrapper Test</AdTitle>
<Error><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg]]></Error>
<Impression><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg]]></Impression>
<VASTAdTagURI><![CDATA[http://localhost:3758/api/vast-generator?type=vast&mediaUrl=https%3A%2F%2Fadmein.io%2Fapi%2Fstream%3Fid%3Da34401be-0-480p]]></VASTAdTagURI>
<Creatives>
<Creative>
<Linear>
<TrackingEvents>
<Tracking event="start"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=wrapper_start]]></Tracking>
<Tracking event="firstQuartile"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=wrapper_first_quartile]]></Tracking>
<Tracking event="midpoint"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=wrapper_midpoint]]></Tracking>
<Tracking event="thirdQuartile"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=wrapper_third_quartile]]></Tracking>
<Tracking event="complete"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=wrapper_complete]]></Tracking>
</TrackingEvents>
<VideoClicks>
<ClickThrough><![CDATA[http://localhost:3758]]></ClickThrough>
</VideoClicks>
</Linear>
</Creative>
</Creatives>
</Wrapper>
</Ad>
</VAST>
VAST

View this Ad Tag in action
Analyse this VAST ad tag in the AdMeIn VAST Validator.
Technical Details
Related Examples
VAST Video Ad with Icon Overlay
A VAST 4.0 compliant video ad featuring an icon overlay for enhanced branding and interactivity.

Multi Ad Example - Ad pod example
A VAST ad pod example featuring multiple ads in a single playback session.

Companion Ads Example
A VAST example showcasing companion ads alongside video content.
What is VAST Ads
VAST (Video Ad Serving Template) is a widely adopted XML-based standard used to deliver video ads across players, devices, and platforms. It defines how a video ad should load, track impressions, fire events, and interact with the player. VAST tags allow advertisers to run linear, non-linear, and companion video ads in environments like desktop, mobile apps, CTV, OTT, and streaming platforms. Using VAST ensures consistency, reliable tracking, and compatibility across the digital video advertising ecosystem.
Explore comprehensive VAST (Video Ad Serving Template) examples that demonstrate IAB-compliant video advertising implementations. Our samples cover VAST 2.0, 3.0, and 4.0 specifications, including pre-roll, mid-roll, and post-roll placements. Each example includes proper tracking implementation, error handling, and quartile event reporting essential for campaign measurement and optimization.
Explore more VAST ad examples