How CLS Ad Slot Works
Each ad you show is a slot: a CLS Ad Slot module that holds one AdSense ad unit. When Joomla builds a page:
-
Each slot is written into the page as an empty box with a minimum height you choose. The box takes up its space straight away, before any ad exists.
-
If you use them, the injector plugins place slots between the paragraphs of an article, or between the articles of a category blog, so you don't have to place every ad by hand.
-
On pages that have at least one slot, CLS Ad Slot adds a small stylesheet and script, together about 10 KB before compression. Pages without an ad get nothing at all.
-
In the visitor's browser, the script watches each slot. With lazy loading on, which is the default, nothing is asked of AdSense until a slot comes within about 400 pixels of the visible part of the page. Then the script loads AdSense, if it hasn't already, and asks it to fill that slot.
-
Google fills the slot inside the space that was already kept for it. If Google has no ad to show, or an ad blocker stops AdSense, CLS Ad Slot can close the empty box or show a message of your own in it instead.

On This Page