Ad Me In

Single Wrapper Example

VAST

Single Wrapper Example

View this Ad Tag in action

Analyse this VAST ad tag in the AdMeIn VAST Validator.

Preview and Analyze in 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

VAST wrapper structure
Basic implementation
Testing and educational use
Compliant with VAST standards

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>
Above is the code implementation for this ad. You're free to copy and use this as needed.

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