Line items

Traffic anchor ads on mobile web (Beta)

Learn how to traffic anchor ads to improve monetization of mobile web pages

You can traffic anchor ads that appear at the top or bottom of your mobile web pages, remaining in view as the user scrolls. Anchor ads allow you to improve the monetization of your mobile web pages, using a high-performing, mobile-first format that is compliant with the Better Ads Standards. Users can collapse an anchor ad at any time by clicking the arrow. The publisher is responsible for ensuring there's no occlusion for anchor ads.

Mobile web support for anchor ads includes tablets.

Top anchor ads

The Better Ads Standards rates top anchor ads higher than bottom anchors in terms of user experience.

A top anchor ad is initially hidden to ensure menus at the top of the page aren’t covered. An anchor ad appears as the user scrolls, but space is reserved at the very top of the page. This way, if the user scrolls back to the top, page content won’t be covered.

Top anchor ad - closed Top anchor ad - open

Bottom anchor ads

Bottom anchor ads appear as soon as the ad has been fetched. They don’t require padding (as top anchor ads do) because scrolling back up won’t cause content to be covered by the ad.

Bottom anchor ad - closed Bottom anchor ad - open

Get started

  1. Tagging
    1. Add the TOP_ANCHOR or BOTTOM_ANCHOR slot type to your mobile web page, ideally within the <head> element.
    2. Display the ad slot as you would any other ad slot.
      defineOutOfPageSlot() may return null if the page doesn’t support the format 

    Developer documentationSee more tagging details in the developer documentation.

  2. Trafficking
    In the future, we may add support for anchors on other devices, such as desktop. Therefore, consider targeting Mobile phones and Tablets in “Device category” now to prevent unintended delivery in the future.
    1. Create ad units (or use existing ones) for anchor slots. To streamline trafficking, include the size 320x50.
    2. Create line items:
      1. For reserved inventory: Target mobile anchor ad inventory as you would any other type of inventory. Creatives must have the size 320x50. Note that you can target line items by Inventory format, with “Anchor” as an option.
      2. For non-reserved inventory: Include the relevant ad unit in the Ad Exchange line item. Include the size 320x50 in the associated placeholder creative. 
  3. Reporting
    Use the “Inventory format” dimension to see how anchor ads are performing compared to other formats.
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue