Serve HTML5 video creatives

For real-time bidding (RTB) buyers

You can identify a request for HTML5 when the value of the Video.allowed_video_formats field is VIDEO_HTML5 = 1. To respond with HTML5, video creatives served in your VAST tag must include two separate <MediaFile> nodes, one for each format: MP4 and WebM.

See a sample VAST tag


<VAST version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd">
  <Ad id="6654644">
    <InLine>
      <AdSystem>GDFP</AdSystem>
      <AdTitle>Video</AdTitle>
      <Description>Video ad</Description>
      <Error><![CDATA[
]]></Error>
      <Impression><![CDATA[
]]></Impression>
      <Creatives>
        <Creative sequence="1">
          <Linear>
            <Duration>00:00:52</Duration>
            <TrackingEvents>
              <Tracking event="start"><![CDATA[]]></Tracking>
              <Tracking event="firstQuartile"><![CDATA[]]></Tracking>
              <Tracking event="midpoint"><![CDATA[]]></Tracking>
              <Tracking event="thirdQuartile"><![CDATA[]]></Tracking>
              <Tracking event="complete"><![CDATA[]]></Tracking>
              <Tracking event="mute"><![CDATA[]]></Tracking>
              <Tracking event="unmute"><![CDATA[]]></Tracking>
              <Tracking event="rewind"><![CDATA[]]></Tracking>
              <Tracking event="pause"><![CDATA[]]></Tracking>
              <Tracking event="resume"><![CDATA[]]></Tracking>
              <Tracking event="fullscreen"><![CDATA[]]></Tracking>
              <Tracking event="creativeView"><![CDATA[]]></Tracking>
              <Tracking event="acceptInvitation"><![CDATA[]]></Tracking>
            </TrackingEvents>
            <VideoClicks>
              <ClickThrough id="GDFP"><![CDATA[]]></ClickThrough>
            </VideoClicks>
            <MediaFiles>
              <MediaFile bitrate="330" delivery="progressive" height="360" id="GDFP" maintainAspectRatio="false" scalable="false" type="video/mp4" width="640"><![CDATA[
http://redirector.c.googlesyndication.com/videoplayback/id/dfc531a2c1c8a609/itag/18/source/gfp_video_ads/ip/0.0.0.0/ipbits/0/expire/1377829345/sparams/ip,ipbits,expire,id,itag,source/signature/3AF294BA1398BDDBBD2BAD18BD7845BB7A7C940F.3EA5F74170F591F106B973D34722C47EDA6D391E/key/ck2/file/file.mp4
]]></MediaFile>
              <MediaFile bitrate="84" delivery="progressive" height="144" id="GDFP" maintainAspectRatio="false" scalable="false" type="video/3gpp" width="176"><![CDATA[
http://redirector.c.googlesyndication.com/videoplayback/id/dfc531a2c1c8a609/itag/17/source/gfp_video_ads/ip/0.0.0.0/ipbits/0/expire/1377829345/sparams/ip,ipbits,expire,id,itag,source/signature/97170B3D22F6984D3AD48F74628798280EF905F4.9DE77BEEC402A0AF0C20E31835D60539EB460B3C/key/ck2/file/file.3gp
]]></MediaFile>
              <MediaFile bitrate="235" delivery="progressive" height="240" id="GDFP" maintainAspectRatio="false" scalable="false" type="video/3gpp" width="320"><![CDATA[
http://redirector.c.googlesyndication.com/videoplayback/id/dfc531a2c1c8a609/itag/36/source/gfp_video_ads/ip/0.0.0.0/ipbits/0/expire/1377829345/sparams/ip,ipbits,expire,id,itag,source/signature/4E558BF90D973534A4364D61B6DE3057A4B87590.2B7FBBFCF1AB7B6D2C9A357A72753D5BE641B65D/key/ck2/file/file.3gp
]]></MediaFile>
              <MediaFile bitrate="385" delivery="progressive" height="360" id="GDFP" maintainAspectRatio="false" scalable="false" type="video/webm" width="640"><![CDATA[
http://redirector.c.googlesyndication.com/videoplayback/id/dfc531a2c1c8a609/itag/43/source/gfp_video_ads/ip/0.0.0.0/ipbits/0/expire/1377829345/sparams/ip,ipbits,expire,id,itag,source/signature/88110958A072556A242CF6997FCBBD6B78C529C9.A5A43806F70CA447801A8FB5ACE8B22697E8124C/key/ck2/file/file.webm
]]></MediaFile>
              <MediaFile bitrate="538" delivery="progressive" height="480" id="GDFP" maintainAspectRatio="false" scalable="false" type="video/webm" width="854"><![CDATA[
http://redirector.c.googlesyndication.com/videoplayback/id/dfc531a2c1c8a609/itag/44/source/gfp_video_ads/ip/0.0.0.0/ipbits/0/expire/1377829345/sparams/ip,ipbits,expire,id,itag,source/signature/63A98BEE36AB2305272AE9145F06DEECC4D2FF89.44A56813DF82C43160EEE35BE8D6084C75427805/key/ck2/file/file.webm
]]></MediaFile>
            </MediaFiles>
          </Linear>
        </Creative>
        <Creative sequence="1">
          <CompanionAds>
            <Companion height="90" id="GDFP" width="728">
              <StaticResource creativeType="image/jpeg"><![CDATA[]]>
              </StaticResource>
              <TrackingEvents>
                <Tracking event="creativeView"><![CDATA[]]></Tracking>
              </TrackingEvents>
              <CompanionClickThrough><![CDATA[]]></CompanionClickThrough>
            </Companion>
            <Companion height="250" id="GDFP" width="300">
              <StaticResource creativeType="image/jpeg"><![CDATA[]]>
              </StaticResource>
              <TrackingEvents>
                <Tracking event="creativeView"><![CDATA[]]></Tracking>
              </TrackingEvents>
              <CompanionClickThrough><![CDATA[]]></CompanionClickThrough>
            </Companion>
          </CompanionAds>
        </Creative>
      </Creatives>
      <Extensions>
        <Extension type="geo">
          <Bandwidth>0</Bandwidth>
        </Extension>
        <Extension fallback_index="0" type="waterfall"/>
      </Extensions>
    </InLine>
  </Ad>
</VAST>

 

For hosted bidding buyers

Set up a new video creative by following the instructions to add or edit creatives for a hosted bidding campaign, and be sure to select Image & Flash in the "Ad technologies" menu. Then, follow the same instructions for responding with HTML5 for real-time bidding (RTB) buyers, above.

 
Video creatives which are not HTML5-compliant are filtered from the auction for any bid request originating from an HTML5 video player.
 

All video buyers are certified to serve HTML5 creatives. Learn more about our policies.

Was this article helpful?
How can we improve it?