Custom YouTube Masthead: HTML5 build guide
Custom YouTube Masthead: HTML5 overview
|In-page masthead||Expandable masthead|
The YouTube Desktop Custom Masthead is a 970x250 pixel in-page unit running the full width of the YouTube homepage below the navigation bar. There is also an expandable version that expands on the user click to 970x500 pixels. See the custom masthead specifications in the YouTube Help Center for more information.
This guide walks you through developer best practices for building a YouTube masthead in Studio, without exploring all of YouTube's specs, which can be specific to their use cases.
Sites don't approve ads to run until all the guidelines are met, so refer to the YouTube ad specs page to make sure your units meet all the site requirements before you submit assets to QA.
Things to consider when building a YouTube masthead
In addition, even if you're familiar with using video in DoubleClick Studio creatives, there are a few things you must know when using the YouTube Video Player. Please keep the following in mind when adding a YouTube video in your masthead:
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 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.
|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.
YouTube close button
This mandatory button collapses the masthead on the homepage. See the Add an HTML5 YouTube close button for more information.