Ad Me In

VAST Video Ad with Icon Overlay

VAST

VAST Video Ad with Icon Overlay

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 video ad example demonstrates the implementation of an icon overlay that appears during video playback. The icon can be clicked to redirect users to a landing page, providing additional engagement opportunities. The ad is fully compliant with VAST 4.0 specifications, including tracking events and error handling.

Key Features

VAST 4.2 compliance
Icon overlay integration
Click-through functionality
Impression and quartile tracking
Error handling
Skip functionality

Code Sample for this VAST Ad

<?xml version="1.0" encoding="UTF-8"?>
<VAST version="4.2">
  <Ad id="1">
    <InLine>
      <AdSystem>AdMeIn Generator</AdSystem>
      <AdTitle>Sample Video Ad</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>
      <Creatives>
        <Creative>
          <Linear>
            <Duration>00:00:30</Duration>
            <TrackingEvents>
              <Tracking event="start"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=start]]></Tracking>
              <Tracking event="firstQuartile"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=firstQuartile]]></Tracking>
              <Tracking event="midpoint"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=midpoint]]></Tracking>
              <Tracking event="thirdQuartile"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=thirdQuartile]]></Tracking>
              <Tracking event="complete"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=complete]]></Tracking>
              <Tracking event="mute"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=mute]]></Tracking>
              <Tracking event="unmute"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=unmute]]></Tracking>
              <Tracking event="rewind"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=rewind]]></Tracking>
              <Tracking event="pause"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=pause]]></Tracking>
              <Tracking event="resume"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=resume]]></Tracking>
              <Tracking event="fullscreen"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=fullscreen]]></Tracking>
              <Tracking event="creativeView"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=creativeView]]></Tracking>
              <Tracking event="acceptInvitation"><![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg?event=acceptInvitation]]></Tracking>
            </TrackingEvents>
            <VideoClicks>
              <ClickThrough><![CDATA[http://localhost:3758]]></ClickThrough>
            </VideoClicks>
            <MediaFiles>
              <MediaFile delivery="progressive" type="video/mp4" width="640" height="360">
                <![CDATA[https://admein.io/api/stream?id=a34401be-0-480p]]>
              </MediaFile>
            </MediaFiles>
            <Icons>
              <Icon program="AdMeIn" width="140" height="60" xPosition="right" yPosition="top" staticResource="http://localhost:3758/assets/images/sample-vast/learn-more-blue.png" creativeType="image/png">
                <StaticResource creativeType="image/png">
                  <![CDATA[http://localhost:3758/assets/images/sample-vast/learn-more-blue.png]]>
                </StaticResource>
                <IconViewTracking>
                  <![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg]]>
                </IconViewTracking>
                <IconClicks>
                  <IconClickThrough>
                    <![CDATA[http://localhost:3758]]>
                  </IconClickThrough>
                  <IconClickTracking>
                    <![CDATA[https://admein.io/assets/images/sample-vast/1x1.jpg]]>
                  </IconClickTracking>
                </IconClicks>
              </Icon>
            </Icons>
          </Linear>
        </Creative>
      </Creatives>
    </InLine>
  </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