For ad-funded publishers, ads pay the bills and also cause many of the site's performance problems. A typical ad setup loads a tag library, runs auctions with several bidders, downloads creatives from many servers and adds tracking scripts, all on pages that readers want to see immediately. The work is to load ads in a way the page can afford.
Most of the speed cost of ads can be removed without losing revenue: reserve space for every slot, load the page content before the ad stack, lazy-load slots below the fold, limit bidders and timeouts, control heavy creatives and measure speed and ad revenue together.
This article explains how ads affect each Core Web Vital, where ad requests spend time, the fixes that work, how to test revenue and speed together and how a food site with 30–50 million monthly pageviews optimized ad loading. It does not cover ad sales or ad blocking.
Key takeaways
- Ads affect all three Core Web Vitals: loading speed, responsiveness and visual stability.
- Ad-driven layout shift is the easiest problem to fix. Reserve space for each slot with CSS.
- Load the page's main content first and defer the ad stack until it has rendered.
- Lazy-load slots below the fold, and keep the number of bidders and auction timeouts under control.
- Change one thing at a time and measure page speed and revenue per page view together.
- The Daily Meal optimized ad loading and display sequencing as part of an infrastructure project that also cut hosting costs about fivefold.
How ads affect each Core Web Vital
| Metric | Good threshold | How ads hurt it | Typical fix |
|---|---|---|---|
| Largest Contentful Paint | 2.5 seconds or less | Ad scripts and requests compete with the hero image and text for bandwidth and processing | Load content first, defer ad scripts, preconnect only to essential ad domains |
| Interaction to Next Paint | 200 milliseconds or less | Auction code, creatives and trackers keep the main thread busy, so taps and clicks respond late | Fewer bidders, lighter creatives, less third-party JavaScript |
| Cumulative Layout Shift | 0.1 or less | Slots without reserved space push content down when an ad arrives or resizes | Reserve slot dimensions in CSS, avoid inserting ads above content that is already visible |
The thresholds come from web.dev and are measured at the 75th percentile of page loads, separately for mobile and desktop.
Where the time goes in an ad request
- Tag library loads. The ad server's library, such as Google Publisher Tag, downloads and initializes.
- Header bidding runs. A wrapper sends requests to several demand partners and waits for bids until a timeout.
- Ad server decides. The winning bids go to the ad server, which picks the ad for each slot.
- Creatives download. Images, scripts, video and iframes load, often from many domains.
- Creatives render and track. Each ad runs its own code, viewability and verification scripts.
- Slots refresh. Some setups reload ads after a time or on scroll, repeating the process.
Each step can add hundreds of milliseconds and adds work to the main thread. On mid-range phones, the total can exceed the time the page itself needs to load.

Fixes that work
Reserve space for every slot
Google's guide to minimizing layout shift for Publisher Tag recommends reserving space for ad slots with CSS minimum height and width, using media queries for different screen sizes, choosing the reserved size for multi-size slots from historical fill data and using fluid slots only below the fold.
Load content first, ads second
Let the page render its main content, then start the ad stack. Deferring ad scripts and sequencing slot display, so above-the-fold slots load first and others follow, removes ads from the critical rendering path.
Lazy-load slots below the fold
Google's ad best practices recommend fetching and rendering below-the-fold slots only as they approach the viewport, which saves bandwidth and processing on mobile devices, and describe single request architecture, which requests several slots in one call.
Control the auction
- Fewer bidders. Remove demand partners that rarely win. Each one adds network requests and code.
- Tighter timeouts. Long auction timeouts delay every ad on the page.
- Server-side bidding. Moving some auctions to a server reduces work in the browser.
Control creatives and third parties
- Set creative weight limits and enforce them with ad operations and partners.
- Block or review heavy formats, such as auto-playing video in content slots.
- Audit third-party scripts regularly and remove tags nobody uses.
- Limit refresh to slots in view and to reasonable intervals.
Ads dragging down your page speed and search traffic? We optimize ad loading, caching and infrastructure for large ad-funded sites.
Explore IT outsourcingTesting speed and revenue together
| Change | Effect on speed | Revenue risk | How to test |
|---|---|---|---|
| Reserve slot space | Large improvement in layout stability | Very low | Roll out sitewide, watch layout shift |
| Defer ad stack until content renders | Faster main content | Low, small delay to first ad | A/B test by page template |
| Lazy-load below-the-fold slots | Fewer requests, faster pages | Low to medium, depends on viewability | A/B test lazy-load distance |
| Remove low-performing bidders | Less main-thread work | Low if bidders rarely win | Compare revenue per page view before and after |
| Shorter auction timeout | Faster ad rendering | Medium | Test timeout values on a share of traffic |
| Limit refresh | Less ongoing work | Medium | Test by slot and interval |
Measure revenue per thousand page views, viewability and fill rate next to field page speed data, by template. Faster pages often raise viewability and engagement, which can offset small losses from fewer auctions.
A real case: ad loading on a large food site
The Daily Meal, a US food site with 30–50 million monthly pageviews, 2.5 million unique users and 1.7 million recipes, ran on a customized AWS setup that struggled with speed, uptime and cost. Ads were one of the areas profiled in an infrastructure audit, alongside hosting, caching and image assets.
As part of a wider project, .wrk:
- Optimized advertisement loading and display logic with deferred loading and display sequencing, to reduce the ads' render-blocking impact.
- Moved the site to managed Drupal hosting and built caching at the application and Akamai CDN levels.
- Moved 250 GB of images to a dedicated asset server with an on-demand resizing pipeline.
- Set up a disaster recovery environment on AWS.
Monthly hosting costs fell about fivefold. The share of HTML responses delivered in 0.5 seconds or less rose to 80%, up from 50%, and the share of full page loads finishing within 7 seconds rose to 60%, up from 20%. Read The Daily Meal performance case study. In a separate project, .wrk built an SEO monitoring dashboard that helped the team catch JavaScript errors and ad display glitches introduced by releases, described in the SEO monitoring dashboard case study.

Keeping it fast after the fix
Ad setups change every week, as partners, formats and campaigns come and go. Track layout shift and loading times by template in real user data, alert when they cross thresholds and annotate ad stack changes next to releases. Our guide to automated SEO monitoring covers how to catch regressions early. Images are usually the other large weight on ad-funded pages, covered in our guide to image optimization for large media sites.
Common mistakes
- Collapsing empty slots above the fold. The content jumps when the slot collapses or fills.
- Loading every slot at page load. Ads far down the page compete with the content readers see first.
- Adding bidders without measuring. Each partner adds code and requests, and many add little revenue.
- Testing only in the lab. Real users on mid-range phones see a different site from a developer laptop.
- Separate speed and revenue teams. Changes that help one and hurt the other go unnoticed without shared metrics.
- Letting ad operations change tags outside the release process. Untracked changes cause untraceable regressions.
Frequently asked questions
Do ads slow down websites?
Yes, ads can slow websites noticeably when their scripts, auctions and creatives load early and compete with page content. With reserved slot space, deferred loading, lazy loading and controlled auctions, most of the slowdown can be removed.
How do ads affect Core Web Vitals?
Ads can delay Largest Contentful Paint by competing for bandwidth, worsen Interaction to Next Paint by keeping the main thread busy and raise Cumulative Layout Shift when slots load without reserved space.
Does lazy loading ads reduce revenue?
Lazy loading below-the-fold ads usually has a small effect on revenue and can raise viewability, because ads load when readers are about to see them. Test the lazy-load distance on a share of traffic before rolling it out.
How do I stop ads from causing layout shift?
Reserve space for each ad slot with CSS minimum dimensions based on the sizes it usually serves, avoid inserting ads above visible content and use fluid or variable-size slots only below the fold.
Should I use server-side header bidding?
Server-side bidding moves auction work off the visitor's device, which helps page speed, but can affect match rates with some partners. Many publishers combine a few browser-side bidders with server-side bidding for the rest.
To sum up
Ads slow websites when they load early, compete with content and move the layout. Reserve space for every slot, load content before ads, lazy-load below-the-fold slots, limit bidders, timeouts and heavy creatives, and measure speed and revenue together by template. Most publishers can protect both page speed and ad income with these changes.
.wrk improves the speed, stability and running costs of large ad-funded content sites in the US and Europe, with ad loading optimization, caching, image pipelines and monitoring.
Want faster pages without losing ad revenue? Share your ad setup and traffic, and we will propose a plan to load ads the page can afford.
Explore IT outsourcing