Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Reserve an ad slot’s space in the page layout before the ad loads. That way, when a late creative appears, it is less likely to push visible content down. For variable-size ads, choose a reservation using delivery history and viewport size, then check the result with real-user measurements. A larger reservation can reduce movement but leave blank space; a smaller one wastes less space but may still shift when a larger ad arrives.

Why a late-loading ad moves the page

If an ad has no space allocated before it loads—or its dimensions change after rendering—the browser may reposition content that is already visible. Ads, embeds, and iframes without set dimensions are common sources of unexpected layout shifts. Cumulative Layout Shift (CLS) measures this visual movement; it is not simply a measure of how long the ad took to load. Google explains how the affected viewport area and movement distance contribute to layout-shift scoring in its CLS overview.

Google’s CLS optimization guidance describes a good CLS score as 0.1 or less and a poor score as greater than 0.25. These are page-experience thresholds, not a guarantee that every ad shift will be eliminated by reserving space.

How to reserve space for an ad slot

Set the slot’s dimensions in the initial layout, before the ad request or creative render can change the page. For a known fixed-size placement, use its established dimensions. For responsive or multisize inventory, reserve an expected height and adapt it to the viewport when delivery patterns justify doing so.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use CSS for the initial reservation

Google identifies CSS min-height and aspect-ratio as useful ways to allocate space. A min-height prevents the slot from starting at zero height while allowing it to grow if needed. An aspect-ratio is useful when the slot follows a responsive shape. For example, a site might reserve a minimum height on small screens and a different one on larger screens using media queries; the appropriate values depend on the site’s actual inventory and layout.

A reservation cannot guarantee zero movement if a third-party ad can return dimensions larger than the reserved area. Use historical delivery data to choose a likely size, and validate that choice across screen sizes rather than assuming one height fits every device.

Use delivery history to choose a height

Google’s Telegraph Media Group case study describes a publisher that initially used the most common advert size but found the reservation was misjudged for some tablet readers, causing the slot to collapse. After revisiting the responsive behavior, the publisher adjusted the height to the most common size. This illustrates why a reservation needs device-level validation; it is not a universal pixel recommendation. See the Telegraph case study.

Balance shift risk against blank space

When a slot can serve multiple sizes, the reservation is a tradeoff. Reserving for a larger creative can prevent a smaller ad from shifting the page, but it may leave a conspicuous gap when the creative is short or no ad fills. Reserving only for the smallest likely creative limits blank space but leaves more risk that a larger creative will move content.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Reservation approach Shift risk Blank-space tradeoff When it fits
Reserve the largest likely size Lower for creatives within the reservation; a still-larger creative may cause movement. More empty space when a smaller creative or no ad appears. When avoiding shifts is more important than minimizing unused space.
Reserve the smallest likely size Higher when a larger creative is served. Less unused space for small creatives, but a no-fill slot may still occupy the reserved area. When inventory is mostly small and blank space is a significant concern.
Reserve a historically common size A compromise; larger-than-reserved creatives may still shift content. Usually less excess space than reserving for the largest possible creative, though outcomes vary. When delivery history identifies a common size and the result is checked by viewport.

One documented example comes from Google’s Netzwelt case study: a multisize zone accepting banners from 300×250 through 300×600 reserved 250 pixels of height. That eliminated shifts for smaller banners and reduced them for larger ones, but did not eliminate all shifts. The case-study title reports an 18% increase in advertising revenue, but the case describes multiple Core Web Vitals and monetization interventions; it does not establish that reserving the slot alone caused that increase. See Google’s Netzwelt case study.

Keep the reservation when no ad fills

Do not automatically remove the reserved space when an ad request returns no creative. Collapsing the slot can move content upward, creating a shift just as inserting an ad can move content downward. Keep the allocated area or an appropriate placeholder stable in the no-fill case. Google discusses avoiding this collapse behavior in its CLS optimization guidance.

Lazy-load ads without confusing loading and layout

Lazy loading controls when an ad request happens; space reservation controls how the document layout accommodates the slot. They solve different problems, so a lazy-loaded ad still needs space reserved before it appears. Google recommends lazy loading for appropriate below-the-fold placements and separately advises reserving space for late-loaded content in its guide to loading ads without affecting page speed.

An ad nearer the top of the viewport can make movement more noticeable. Loading an ad lower in the page may reduce its immediate impact, but does not make an unreserved or changing slot harmless.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Validate the slot with field measurements

After choosing a reservation, test representative screen sizes, connection conditions, and ad outcomes—including smaller creatives, larger creatives, and no fill. Check whether the slot itself is causing a shift and whether its behavior differs by device. A laboratory page-load check may miss movement that happens later, including after a reader scrolls.

Use CLS and layout-shift attribution to distinguish movement caused by an ad from movement caused by another late-loading element. Google’s layout-shift debugging guide describes ways to inspect shifts, while its CLS overview explains field measurement and layout-shift entries. If the slot still shifts, compare the served creative’s dimensions with the reservation at the viewport where the shift occurred; adjust the reservation or responsive rules based on observed delivery rather than guessing a universal height.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.