Clear search
Close search
Google apps
Main menu

Custom YouTube Masthead: HTML5 build guide

Add the YouTube Player

Using YouTube videos in your masthead

YouTube videos

Mastheads usually include YouTube videos using the YouTube Video Player. These help increase brand interaction on YouTube and provide a practical, lightweight way to add high-resolution rich media to your ad because videos hosted and pulled from a YouTube brand channel don't count toward file-size load specs.

YouTube videos with end screens are not currently supported. Make sure to use a video without end screens to avoid problems with your masthead creative.

YouTube public video play count

The YouTube Video Player allows masthead video views to count directly toward overall YouTube brand channel video views. For the YouTube view to count, the user must click to start the video using the standard YouTube play button. Autoplay videos don't count toward YouTube views.

The standard play button appears in the middle of the video player (on both an embedded or chromeless YouTube Player) or on the default control menu in the bottom left corner of the player. Any custom play buttons or play thumbnails in the creative don't increase this count.

Image of a video with center play button labeled A red letter A YouTube standard play button
YouTube video views are guaranteed to accrue up to 300 times in real time. There might be a lag in accrual after 300 views. If accruing public YouTube brand channel views is a priority in the campaign, notify your QA team so they can verify that views are being recorded.

Add the YouTube player

There are two options for adding a YouTube player to your creative, depending on what development tools you use. Choose the option that works for you:


Was this article helpful?
How can we improve it?