Please make sure to visit Your AdSense Page where you can find personalized information about your account to help you succeed with AdSense.

AdSense for video (AFV)

HTML5 video advertising guidelines

AdSense, and Google Ad Manager support HTML5 video advertising. These guidelines provide a number of resources to support HTML5 video monetization.

Video player options

Use a third-party HTML5 video player that supports the Google IMA3 HTML5 SDK

Many third-party video players are already compatible with HTML5 and support video ads delivered by Google Ad Manager, Ad Exchange Video, and AdSense for Video. If you already work with a video player from one of our video technology partners, contact their support team to ensure you are configured for HTML5.

Use Video.js with Google IMA3 HTML5 SDK plugin

You can use Video.js, an open-source HTML5 video player, and the IMA SDK plugin to monetize with video ads delivered by Google Ad Manager, Ad Exchange Video, and AdSense for Video.

Use a VAST and VPAID 2 JS-compliant video player

If you have a HTML5 video player that is VAST and VPAID 2 JS-compliant, you can continue to use Ad Exchange Video and AdSense for Video ads, using the IMA Adapter tag and appending the &type=js parameter.

Use a custom-built video player

If you've built your HTML5 video player from scratch, you need to integrate the IMA3 HTML5 SDK to continue monetizing with Google video ads. Downloadable sample code is available to help you get started.

Full-screen video limitation

The IMA SDK for HTML5 supports a simulated full screen mode which can be used for some mobile web formats like rewarded video and interstitials. Full-screen functionality is not supported for HTML5 display creatives.

Creative trafficking

Ad Manager creative hosting and transcoding

Video creative assets that are uploaded to Ad Manager are automatically transcoded and hosted in HTML5 compatible formats including MPEG4 and WebM.

Was this helpful?

How can we improve it?
Clear search
Close search
Google apps
Main menu
Search Help Center