Ad Layout CLS Tester
Find the ad slots that make your pages jump. Checks AdSense, Ad Manager, Raptive and Mediavine slots for reserved space, with real-user CLS. Free.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
Ad Layout CLS Tester
Find ad slots that cause layout shift: checks AdSense, Google Ad Manager, Raptive, Mediavine, Ezoic and AMP ad containers for reserved space against the sizes they serve, top-of-page ads, collapsing empty slots and Auto ads, with real-user CLS.
An ad layout CLS tester checks whether the ads on your pages push content around when they load, the most common cause of a poor Cumulative Layout Shift score on publisher sites. Crawl up to 25 pages or paste a list of URLs and the tool finds every ad slot in the HTML: AdSense units, Google Ad Manager (GPT) slots with the sizes from defineSlot, Raptive, Mediavine, Ezoic, Amazon and AMP ads, and generic ad containers. For each slot it reads the space the layout reserves, from inline styles, height attributes, inline CSS rules and wrapper elements, and compares it with the smallest and largest ad sizes the slot can serve. It flags slots with no reserved space (an error when the ad sits above the main content), slots that reserve less than the largest or even the smallest ad, responsive units without a container height, fluid native ads, ads placed above the content, Google Ad Manager collapsing empty slots after the request, lazy-loaded ads without reserved space and AdSense Auto ads placed by script. Real-user CLS on phones from the Chrome UX Report shows which pages actually fail Google's 0.1 limit. Requests that carry your input go to chromeuxreport.googleapis.com.
How to use Ad Layout CLS Tester
- 1
Enter your homepage or an article URL, or paste a list of URLs with ads to test for layout shift.
- 2
Keep the real-user CLS option on to add Chrome UX Report data for each page.
- 3
Press Test ad layout to find every ad slot and compare its reserved space with the ad sizes it serves.
- 4
Fix ad slots with no reserved space first, especially ads above the main content.
- 5
Set a min-height on each ad container in your CSS and download the CSV report of every ad slot.
Why use Ad Layout CLS Tester
Slot-level answers
Every ad slot with its network, ad sizes and the exact space reserved for it.
Real sizes
Reads Google Ad Manager defineSlot sizes, including multi-size and fluid slots.
Field data
Adds real-user CLS from the Chrome UX Report to show which pages actually fail.
Site-wide
Checks up to 25 pages and exports every slot to CSV for your developers or ad ops team.
How to stop ads from shifting the page
Give every ad container a min-height in CSS before the ad loads. For a slot that serves 300×250, reserve 250px; for a multi-size slot, reserve the most common size, or the largest if it fills most of the time. Use media queries to reserve different heights on phones and desktops, and keep the space even when no ad fills instead of collapsing it.
Where ads cause the most shift
An ad near the top of the page moves everything below it when it loads, while an ad far down the page often loads before the visitor scrolls there. Sticky and anchor ads use fixed positioning and don't push content. Ads inserted between paragraphs by Auto ads or lazy loading appear while people read, which is when a shift is most annoying and most likely to be counted.
What is Cumulative Layout Shift?
CLS adds up how much visible content moves unexpectedly while the page is open. Google wants it at 0.1 or less for 75% of visits. Ads, images and embeds without dimensions, late-loading fonts and banners inserted at the top are the usual causes. This tool focuses on ads; real-user CLS covers every cause.
Common use cases
- A recipe blog finds its in-content AdSense units have no container height and fail CLS on phones.
- A news site sees a 970×250 billboard slot reserving only 90px, so the page jumps when it fills.
- A publisher switches collapseEmptyDivs() to keep space for unfilled slots and fixes a CLS regression.
- An ad ops team checks every template before moving to a new ad network.
Frequently asked questions
How much space should I reserve for an ad slot?
The height of the ad size it serves most often. For multi-size slots, reserving the largest size removes shift completely but leaves empty space when a smaller ad fills; many publishers reserve the most common size on each breakpoint.
Link to answerDo sticky ads cause CLS?
Not if they use position: fixed and overlay the page. A sticky ad that pushes the page content down does count.
Link to answerShould I collapse empty ad slots?
Collapsing after the ad request (collapseEmptyDivs()) shifts content up when nothing fills. Keep the space, or collapse before fetching only for slots that rarely fill.
Link to answerDoes it see ads inserted by JavaScript?
Only slots present in the HTML. Ads inserted entirely by scripts, such as Auto ads, show up in the real-user CLS number instead.
Link to answerWhy is reserved space set in my stylesheet not detected?
The tool reads inline styles and inline CSS only. If you reserve space in an external stylesheet, the slot may show as unreserved; check it in your browser and trust the real-user CLS figure.
Link to answer