Chapter 1. Introduction

What CLS Ad Slot Does for Your Pages

If you have tested your site with PageSpeed Insights, this table shows how CLS Ad Slot answers the problems ads cause.

Table 1.1. Ad problems and the features that solve them
The problemCLS Ad Slot feature
Content jumps when an ad loads (“Avoid large layout shifts”)Reserved space, with a separate height for desktops, tablets and phones
AdSense slows down the first load (“Reduce the impact of third-party code”, “Reduce unused JavaScript”)Lazy loading: AdSense is loaded only when an ad is about to be seen
Empty boxes where Google had no ad to showCollapse if Unfilled
Empty boxes for visitors who use an ad blockerAdblock fallback, which shows your own message in the reserved space
Placing ads inside every article by handThe In-Article Injector
Placing ads between the articles of a blogThe In-Feed Injector