To browse this page, click to see details for each best practice, or expand all and press Ctrl + F (Command ⌘ + F, for Mac) to find terms on this page.
Use JavaScript tags
To avoid certain issues with iframes, we recommend that you implement JavaScript tags for rich media.
Use the highest z-index for top level page elements for interstitial creatives
Our creatives are set to a high z-index default (999999-1000000). To avoid expansion layering issues, set any site-side drop down-menus (or float units) to a z-index higher than 1000001. This will ensure that drop-down menus expand properly over rich media.
For more information, see Site navigation drop-down menus are expanding under my rich media.
Don't use
overflow:hidden
to style ad container divs
To prevent expanding issues, use overflow:visible;
instead.
For more information, see Expanding ad isn't expanding out of placement or over webpage.
Don't dynamically write the ad tag to the publisher page
Studio doesn't support custom publisher implementations that move ads into place on a webpage. Examples of unsupported implementations include using DOM methods like appendChild and innerHTML to move ads around the page and dynamically writing an ad with custom JavaScript.
In these scenarios, place the ad tag directly on the page and confirm the issue. If the issue persists, contact Google Marketing Platform support. If the issue is resolved, then it's a problem on the publisher's side.
In these scenarios, place the ad tag directly on the page and confirm the issue. If the issue persists, contact Google Marketing Platform support. If the issue is resolved, then it's a problem on the publisher's side.