Page URL
Table of Contents
The page URL is a parameter passed by Google's Publisher Tag (formerly Doubleclick for Publish) to Google Ads.
Since adverts are rendered in an iframe, GPT may not be able to determine the URL of the page. If you are using Ad Exchange or AdSense to fill impressions, these systems can't send contextual information about the page to buyers without a page URL.
Article Page
When an inline MPU or inline top banner advert appears on an article page we pass one of the following:
- Canonical URL (if set)
- Reader URL
If the canonical URL is set in the HTML markup we pass it. If this is not set we pass the reader URL. The webreader does not need to be live, but some set-up is required if not live. In both cases Google's Ad Manager Crawler bot must be allowed to crawl the domain.
You can set any meta field as the canonical URL meta field in Pugpig Settings under the Post Canonical URL meta field heading. This allows for easier mapping of the canonical URL from importers.
Timeline
When using a Google Ad card as a timeline MPU we pass the following:
- The Reader URL of the timeline
- The Reader URL of the home page
The webreader does not need to be live, but some set-up is required if not live. Google's Ad Manager Crawler bot must be allowed to crawl the domain.
Further Reading
Page URL was an original Ad Sense parameter. Ad Sense was originally website only. When Google bought Doubleclick for Publish certain Ad Sense parameters were integrated into DfP. See AdSense Attributes
Page URL is not mentioned in the docs except in passing. Google Publisher Tag now infers the URL of the page itself. However in Bolt's case the app this URL is local. So we explicitly set the value. See Specify Page URL.