Chapter 10. Troubleshooting

Reading the Debug Bar

Turn on Debug, log in to your site's front end with your administrator account, and open the page with any ad blocker off. A bar appears over each slot:

state:filled | lazy:true | collapse:true | fallback:false | adsense:ready

The lazy, collapse and fallback parts show your global settings. The other two tell you what is happening:

Table 10.1. What the debug bar means
You seeWhat it means
state:InitThe slot has been found but hasn't heard from AdSense yet. With lazy loading, this is normal for slots you haven't scrolled near. If a slot on screen stays here, read the adsense part.
state:filledGoogle sent an ad and it is showing. All is well.
state:unfilledGoogle answered, but had no ad to show. See the section called “The Slot Says Unfilled”.
state:BLOCKEDThe AdSense script was blocked or didn't load. See the section called “The Slot Says Blocked”.
adsense:idleAdSense hasn't been loaded yet. With lazy loading, it loads when the first slot comes near the screen. If a slot is on screen and this doesn't change, check that the Ad Client ID is set; without it, AdSense is never loaded.
adsense:loadingThe AdSense script is downloading.
adsense:readyThe AdSense script has loaded and is running.
adsense:blockedThe AdSense script was blocked, failed to load, or took more than three seconds. See the section called “The Slot Says Blocked”.

If no bar appears at all, CLS Ad Slot's script isn't running on the page. See the section called “No Ad Appears”.

Note

The debug bar is shown only to logged-in users who can manage CLS Ad Slot. If you don't see it, check that you are logged in on the site, not just in the administrator.

On This Page