Reserving Space
Every CLS Ad Slot module is written into the page as a box with a minimum height. The box is part of the page from the first moment it appears, so the content around it is already in its final position. When the ad arrives, it fills the box instead of pushing things aside.
For responsive ads, you choose the minimum height. The right value is the height of the ads Google usually shows in that place:
-
If the box is shorter than the ad, the ad still pushes the content below it down, by the difference. You have reduced the shift but not removed it.
-
If the box is taller than the ad, nothing moves, but there is some empty space around the ad.
A little empty space costs nothing in CLS, so when in doubt, err on the tall side. the section called “Find the Right Height for a Responsive Slot” shows you how to find the right height.
For fixed-size ads, there is nothing to guess: the box is exactly the size of the ad.
On This Page