Turning on the block without noticing
If someone turned on Block non-in-stream video ads in the protections, video ads stop going into display slots.
Implementation guide
Out-stream video ads (non-in-stream)
A video ad that appears in a regular ad space in the middle of the text, without needing a video of your own on the site.
Understand it in 1 minute
Imagine a magazine where, in the middle of a story, one of the pictures moves, like the magic newspapers in the movies. Outstream video is similar: it is a video ad that appears in the middle of the page text, even if the site has no video of its own. Out-stream means outside the stream, that is, outside a video player. The person is reading a news story and, between one paragraph and another, a space appears with a video from the advertiser.
In Ad Manager, Google calls these ads non-in-stream: ads that show outside a video player and have no content video around them. They go into display formats, such as banner and anchor. In practice, a regular ad slot, created with GPT (Google Publisher Tag, Google's code that creates ad slots on the page), can receive a video ad instead of an image. Google shows these ads in the middle of articles and feeds, and says banners with video work on mobile web, on desktop and in apps.
These video ads outside the player are allowed by default. If you do not want them, there is a block called Block non-in-stream video ads, in the Ad Manager protections. It blocks display ads that are VAST or have a video file, such as MP4, including videos outside a player. Google's video policy also says these spaces do not need a declaration: Google itself classifies each one as Standalone, when the ad is not the focus of the page, or Interstitial, when the ad takes up most of the screen. For these two types, the site must use solutions provided by Google, and the IMA SDK is not allowed.
When is it worth it? Outstream is a way to get video ads on text sites, such as blogs and news portals, without having to produce videos. The rules of respect for the person still apply: the ad cannot start on its own before at least half of the space is visible, only one video can play on its own with sound at a time, controls cannot be hidden and, if the space sticks to the screen, there must be a way to close it at all times.
Step by step
Implemented example
<head>
<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"
crossorigin="anonymous"></script>
<script>
window.googletag = window.googletag || { cmd: [] };
googletag.cmd.push(function () {
googletag
.defineSlot('/1234567/exemplo', [300, 250], 'anuncio-no-artigo')
.addService(googletag.pubads());
googletag.enableServices();
});
</script>
</head>
<body>
<p>Primeiro parágrafo do artigo...</p>
<!-- Espaço de display no meio do texto: pode receber banner ou vídeo -->
<div id="anuncio-no-artigo" style="width: 300px; height: 250px"></div>
<script>
googletag.cmd.push(function () { googletag.display('anuncio-no-artigo'); });
</script>
<p>Segundo parágrafo do artigo...</p>
</body>What Google recommends
Tips
Watch out
If someone turned on Block non-in-stream video ads in the protections, video ads stop going into display slots.
Google policy does not allow the IMA SDK in Standalone or Interstitial spaces. For video outside a player, use the solutions provided by Google, such as display slots.
In spaces that stick to the screen, the close option must be visible during the whole ad. Hiding it goes against the policy.
The ad can only start on its own with at least 50% of the space visible. Spaces far down the page should not play before they appear.
No. Outstream appears outside a player and has no content video around it. It uses display spaces on the page.
A player is not needed. Video ads can come into display spaces created with GPT, as long as the block on video outside the player is not turned on.
Pre-roll plays inside a player, before a video the person chose to watch. Outstream appears in an ad space on the page, with no content video.
Yes. Google says banners with video work on mobile web, on desktop and in apps.
Library
Everything on this page follows Google's official documentation. Read it straight from the source:
The audit reads the site as a visitor would, without clicking anything, and shows what to fix.