Search
Clear search
Close search
Google apps
Main menu

Page-level ads (beta)

The Page-level ads feature is in beta. DoubleClick Ad Exchange does not yet offer full support for Page-level ad formats in rules and reporting. You can use channels to track Page-level ads.

Page-level ads are a family of ad formats that offer a new and innovative way for you to monetize your content. With Page-level ads, you place the same piece of ad code once on each page where you want to show the ads. Once you've added the code, Ad Exchange will automatically show Page-level ads at optimal times when they’ll perform well for you and provide a good experience for your users. This article describes the available Page-level formats, how to add code to the pages where you want them to appear, and how to use channels to track them.

Ad formats

Currently, the Page-level ads family includes the Anchor/overlay and Vignette ad formats.

Anchor/overlay ads

Anchor/overlay ads are mobile ads that stick to the edge of the user's screen and are easily dismissible.

Picture of an anchor/overlay ad

Vignette ads

Vignette ads are mobile full-screen ads that appear between page loads on your site and can be skipped by users at any time. They're displayed when the user leaves a page, rather than when they arrive on one, so the user doesn’t have to wait for them to load. Also, they're limited in number per user to maintain a good user experience.

Picture of a vignette ad

Page-level ads work with Android versions greater than 3.0 or iOS versions greater than 4.0 devices and don’t count towards the ads per page policy limit. This means you can place the limit of ads on one page as defined in the Ad Exchange program guidelines, as well as one additional Page-level ad.

Implement Page-level ad tags

You can choose which pages your Page-level ads appear on; all you need to do is implement a single tag in the <head> section of your pages.

Use the following sample code snippet as a template of the ad code you'll add to your pages. Be sure to replace AdX_property_code_here with your own property code.  Create a custom channel in your AdX UI and ask your account manager for the corresponding 10-digit channel ID (note that this is different from the 7-digit channel ID you can see in Ad Exchange). Then, replace channel_id_here with your 10-digit channel ID.

Anchor ads only:


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: 'AdX_property_code_here',
    enable_page_level_ads: true,
    overlays: {google_ad_channel: 'channel_id_here'}
  });
</script>
 

Vignette ads only:


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: 'AdX_property_code_here',
    enable_page_level_ads: true,
    vignettes: {google_ad_channel: 'channel_id_here'}
  });
</script>
 

Anchor and Vignette ads:


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: 'AdX_property_code_here',
    enable_page_level_ads: true,
    vignettes: {google_ad_channel: 'channel_id_here'},
    overlays: {google_ad_channel: 'channel_id_here'}
  });
</script>
 

If you have questions, please contact your account manager.

Test Page-level ads with the preview tool

Because Ad Exchange only shows Page-level ads on your site at optimal times, you must use the preview tool to check that they're working correctly:

  1. On a mobile device, visit the page where you want to test Page-level ads.
  2. In the address bar of your mobile browser, add #googleads to the end of your page's URL. For example, www.example.com#googleads.
  3. Select the ad format that you want to test.
  4. Check the results of the test on your device.
  5. For vignettes, the preview tool highlights all links on your page that can show a vignette ad. Click any of these links to test your vignettes. Note that the preview tool won't highlight any links that contain a "stop" word. AdSense has a list of "stop" words that are typically navigation related, such as "Log out", for which vignette ads aren't shown.
  6. If your Page-level ads aren't working or you're having problems with the preview tool, see our guide to testing Page-level ads.

Report on Page-level ads

  1. Access the Query Tool tab from the main Ad Exchange navigation bar.
  2. Define your query.
  3. Select the Inventory Segments dimension family to report on channels (described in the “Implement Page-Level Tags” section above).
  4. Use the channel IDs in the report to identify Page-level ads.
Was this article helpful?
How can we improve it?