Skip to content

icon picker
Ad Container Node Tree

div#story-ad-##-wrapper
div#story-ad-##-slug (ADVERTISING TEXT)
div.ad.story-ad-##-wrapper
div#google_ads_iframe...
iframe
#document
html
head
body (inherits body atrributes from GAM HTML)
span#hash_id
div.GoogleActiveViewInnerContainer
div.GoogleActiveViewElement
...GAM CODE...

NOTES

A GAM ad creative flows into a creative via the following node structure.
You should not use the body tag in the GAM HTML. If you do add a body, as has been the practice, note that GAM will transform the body into its own structure. Attributes will pass to the main body.
All GAM HTML will pass to the ‘GoogleActiveViewElement’ where viewability is recorded. You must never move the GAM HTML to outside this node.
Any transformation to the body node could have destructive consequences; proceed with caution when doing so.
Inside the GAM HTML, there must be an immutable div object (#adContainer) where all your code must be put. You may NEVER move the immutable div object (#adContainer) through programmatic means.

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.