🧪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
pbjsin this page:pbjsis the wrapper's global variable name, set per site by theglobalVarsetting inconfig.json. It'spbjsby default and is used throughout these examples. If your site uses a differentglobalVar, replacepbjswith that name — including in the URL flags below (e.g. a site usingchpwould usechpConsole=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 divsCheck that
data-aa-adunituses the GAM Ad unit CODE and full pathConfirm
Sizesand device attributes match configurationVerify 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