Ad Me In

VAST VPAID Example Tag

VPAID

VAST VPAID Example Tag

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 example showcases a VAST 4.0 ad tag that incorporates VPAID (Video Player Ad-Serving Interface Definition) to enable interactive features within video ads. The implementation includes event tracking, user interactions, and compatibility with various video players supporting VPAID standards.

Key Features

VAST 4.0 compliance
VPAID integration
Interactive ad features
Event tracking
User interaction handling
Cross-player compatibility

Code Sample for this VPAID 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
              <MediaFile delivery="progressive" type="application/javascript" apiFramework="VPAID" width="640" height="360">
                <![CDATA[http://localhost:3758/assets/api-frameworks/vpaid.js]]>
              </MediaFile>
            </MediaFiles>
            <AdParameters><![CDATA[{"videoUrl":"https://admein.io/api/stream?id=a34401be-0-480p"}]]></AdParameters>
            <AdParameters>
                <![CDATA[ {"videos":[ {"url":"https://admein.io/api/stream?id
        isPremium: false,
        compatibility: ['VPAID-compatible Video Players', 'Desktop Browsers'],
        author: 'AdMeIn Creative Team',
        industry: 'Technology',
        format: 'XML',
        active: true
    },
            <AdParameters><![CDATA[{"videoUrl":"https://admein.io/api/stream?id=a34401be-0-480p"}]]></AdParameters>
            <AdParameters>
                <![CDATA[ {"videos":[ {"url":"https://admein.io/api/stream?id=a34401be-0-480p","mimetype":"video/mp4"}], "overlay":"http://localhost:3758/assets/images/sample-vast/learn-more-blue.png"} ]]>
            </AdParameters>
            <VideoClicks>
              <ClickThrough><![CDATA[http://localhost:3758]]></ClickThrough>
            </VideoClicks>
          </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 VPAID Ads

VPAID (Video Player-Ad Interface Definition) is a standard that enables interactive video ad experiences by allowing the video player and ad creative to communicate with each other. VPAID ads can include overlays, interactive buttons, product carousels, quizzes, and other user-driven engagement features. While VPAID has been widely used for desktop web environments, it is being phased out in many mobile and CTV environments in favor of more secure formats like VAST 4 and OMID. However, it remains relevant for interactive desktop video demand.

Discover VPAID ad examples that showcase interactive video advertising capabilities through overlays, clickable elements, and engaging user experiences. Our samples demonstrate how to create compelling interactive video ads that drive higher engagement while maintaining compatibility across various video players and platforms.

Explore more VPAID ad examples