For the complete documentation index, see llms.txt. This page is also available as Markdown.

🧪Troubleshooting

Use these tips to diagnose and debug wrapper integrations. Most problems come down to a small mismatch between what's on the page and what's in the configuration — the checks below catch the common ones quickly.

The debugging tools work by adding a short flag to the end of the page's web address (a "query string"). This turns on an on-screen console or extra logging just for you, without affecting normal visitors.

A note on pbjs in this page: pbjs is the wrapper's global variable name, set per site by the globalVar setting in config.json. It's pbjs by default and is used throughout these examples. If your site uses a different globalVar, replace pbjs with that name — including in the URL flags below (e.g. a site using chp would use chpConsole=true).

Symptoms

  • No ads rendering

  • Long auctions or frequent timeouts

  • Unexpected size or device behavior

  • Ad refresh not happening as expected

How to verify

  • Check that data-aaad='true' is present on ad unit divs

  • Check that data-aa-adunit uses the GAM Ad unit CODE and full path

  • Confirm Sizes and device attributes match configuration

  • Verify the wrapper is loaded: pbjs.isLoaded === true

Enable Wrapper Console (via URL)

Append this query string to your page URL to show the wrapper console UI overlay:

Example:

This opens an on-page console with high-level status, ad unit states, and actions.

Enable Verbose Debug Logging (via URL)

Append this query string to enable verbose logging in the browser console:

Example:

Last updated