Before You Start
CLS Ad Slot shows ads from your AdSense account; it doesn't create them. Before you go on, make sure that:
-
Your AdSense account is approved and your site has been added to it.
-
You know your publisher ID. It starts with
ca-pub-orpub-, followed by 16 digits, and you'll find it in AdSense under → . -
You have created at least one ad unit in AdSense under → . the section called “Step 1: Create an Ad Unit in AdSense” shows you how.
-
You have measured how your pages perform now, so you can see the difference later. See the section called “Measuring Layout Shift”.
Tip
If your template already contains the AdSense script, or another extension adds it, remove it before you start. CLS Ad Slot loads AdSense itself, at the right moment. A copy loaded straight away by something else cancels out the benefit of lazy loading.
On This Page