GPT can share top-page URLs with embedded Google ad tags

You can share an encrypted top-page URL across iframes that have Google Publisher Tag (GPT). This makes the top-page URL shareable across embedded Google ad tags in iframes for content labeling purposes, which improves inventory visibility to advertisers who only buy from sites with brand-safe labels.

Example of how top-page URL sharing works

  1. A publisher has a page with a top URL of This top-level page has Google Publisher Tag (GPT).
  2. The publisher embeds third-party iframes within sub-pages under the top URL.
  3. A third party wants to monetize the content within the iframe, so they add a GPT tag.
  4. With GPT top-page URL sharing enabled, the top URL of can be shared between Google ad tags on the same page.

Control top-page URL sharing

GPT top-page URL sharing is enabled by default. When you turn it off in network settings, the top-page URL for ad requests from the cross-origin iframes on that page are limited to domain part-only URL.

Follow these steps to turn off top-page URL sharing:

  1. Sign in to Google Ad Manager.
  2. Click Admin and then Global settings and then Network settings.
  3. Under "Ad serving settings," turn off the GPT top-page URL sharing slider.
  4. Click Save.

Was this helpful?

How can we improve it?
Clear search
Close search
Google apps
Main menu