Publisher ad loading

Lazy Loading Ads: Fetch, Render and Verify Ad Slots

Lazy loading ads means delaying ad requests or creative rendering until a placement approaches the visible part of the page. Start with one lower-page slot the publisher can defer. Reserve its space, then verify when the request starts, when the creative appears, and what the reader sees while scrolling.

By FroggyAds, November 27, 2026

A fictional ad slot fetches at minus 500 milliseconds, enters the viewport at zero, and shows the creative at plus 220 milliseconds.

Which ads should you lazy load first?

Choose a slot below the first useful section on a page you control. Keep the main content, controls and any ad placement that needs an early request on their approved paths. Before changing timing, check a phone-sized viewport and a desktop viewport. The same slot can enter the first screen at one width and sit several screens down at another.

Start with a fixed-size or size-mapped slot that has a stable position. Record the route, slot identifier, responsive size and existing request grouping. Leave the placement and demand configuration alone during the timing comparison. If changing several things is unavoidable, document what moved so the team can judge how much the test explained.

Only inspect or change pages and tags you are authorized to operate. Use the site's approved consent handling and testing setup. A deferred request still depends on the same eligibility and consent decisions that apply to that slot. FroggyAds guide to display ads for publishers

What changes when fetching and rendering are separate?

Fetching asks the ad system for a response. Rendering starts putting the creative into the slot and can involve additional resources. Both can be delayed. Fetching earlier can give the request time to return while the slot is still offscreen. Rendering later can reduce work for a slot the reader may never reach.

Google Publisher Tag, or GPT, documents a fetch margin and a render margin as distances from the viewport expressed in viewport percentages. In the reference, 100 means one viewport away, and zero means the slot enters the viewport. Keep the fetch margin at least as large as the render margin. GPT also documents a mobile multiplier that applies to both margins. Choose starting values from your own testing rather than assuming a fixed pixel distance fits every device. Google Publisher Tag reference

Check whether your setup uses Single Request Architecture, or SRA, before treating a request as specific to one slot. In Google's lazy-loading sample, the first slot that reaches the fetch margin triggers a request for that slot and the others in the group. A lower slot can wait to render even when the group request has already started. Read the network trace with the actual slot membership and the consent state. Google Publisher Tag lazy-loading sample

How can you keep the slot from moving the page?

Reserve the space in the page layout before the ad code runs. For each supported width, check the range of creative sizes that can serve and the height the container must hold. A stable starting box keeps surrounding text and controls in place while the request is pending. Test the actual rendered size, including any allowed expansion or fluid creative behavior. Google Publisher Tag layout stability guide

Write down the intended appearance when the slot fills, receives no creative or is still waiting. Changing the box as soon as an empty response returns can shift nearby content, even though no ad appeared. Choose whether to preserve that space or use an approved collapse rule. Reproduce the empty state with the reader near the slot before retaining a rule that moves the surrounding layout.

Cumulative Layout Shift, or CLS, measures the highest-scoring group of unexpected visible layout shifts during a visit. A quiet first screenshot can miss movement after scrolling or after a delayed creative loads. Watch the article and the control beside the slot while the request, response and display happen. Use the actual layout stability metric alongside what you saw. web.dev guide to Cumulative Layout Shift

Stable reserved space also changes the layout you measure. Keep the reserved box and the actual creative on separate lines when comparing page coverage or reader experience. Publishers may use a different ad-density measurement and reporting scope. FroggyAds guide to ad density

Which slot events should you observe?

Capture a timeline for the specific slot, with the page version, viewport and test condition. On an authorized page, the browser network log shows related requests while screenshots or a recording show what appeared. Use the provider's event names to link the observations. Keep the slot ID and the time basis stable across runs.

StageGPT or browser evidenceWhat to record
Page lays out the slotReserved box at the selected widthInitial position and size, before ad code changes it
Ad request startsNetwork request or GPT slot-requested eventTimestamp, consent state and whether it belongs to an SRA group
Ad service returns a responseGPT slot-response-received eventTimestamp and the request it belongs to
Slot gets a creative decisionGPT slot-render-ended event and its empty flagWhether creative code was injected or the slot was empty
Creative loads or becomes visibleIframe load event and separate visual observationLoad timestamp and first visible content if you observed it directly
Impression qualifies as viewableProvider's viewability event or reportThe recorded outcome under the declared method and eligible denominator

Google documents that its slot-render-ended event fires when creative code is injected. Assets can still be loading at that point. An iframe load event describes the frame event, while a viewability event follows the provider's measurement. A short page recording is useful for telling when a person could actually see the creative in the tested conditions. Google Publisher Tag event reference

If your test records when the slot crosses the configured boundary, keep that timestamp beside the request. An earlier SRA fetch can make these differ. Keep skipped, empty, delayed and failed states distinct. A reader may leave before a lower slot approaches the request margin. A request may return an empty response. A creative may remain unfinished when the reader passes. Those cases point to different decisions. FroggyAds guide to how ad tags work

Work through a lower-page slot on a slow connection

Imagine a publisher testing a display slot after the instructions on an appliance repair article. The mobile version reserves the same 320 by 100 pixel rectangle in both variants. It uses the same creative size, rendering margin, page content and approved consent state. The only test change is the fetch margin for this hypothetical slot. The observer uses the same scroll path and measures time relative to the slot entering the viewport.

Observed milestone in the fictional testLater fetchEarlier fetch
Ad request starts100 ms before entry500 ms before entry
Ad response arrives320 ms after entry80 ms before entry
Creative code appears in the slot350 ms after entry60 ms after entry
Creative iframe load event530 ms after entry200 ms after entry
Creative first visible in the recordingNo creative seen before exit220 ms after entry
Reader scrolls the slot out of view500 ms after entry500 ms after entry

In the later-fetch example, the iframe reports its load event 30 milliseconds after the slot leaves the viewport. The recording shows no creative while the slot is on screen. With the earlier fetch, the creative appears in the recording at 220 milliseconds, while the slot is still in view. Both requests take 420 milliseconds to return. The earlier response gives the creative more time before the reader passes, and the unchanged layout lets you compare the same slot location.

These are invented timings to show how to read the evidence. A real earlier request can add work for visitors who never reach the placement. The brief view in this example also does not establish a viewable impression under any particular standard. Capture the actual measurement outcome separately when available.

Compare delivery and reader experience before keeping the change

Compare the existing and proposed timings on a representative template under the same policy and measurement conditions. During an authorized check, try a reader who stops at the first paragraph, scrolls normally and scrolls quickly. Include weak network conditions and compare first-visible content, slot timing and any movement around links or controls. An approved simulation can explain a failure on that route. Field evidence, where permitted and available, shows how often it happens for actual users.

Choose one main-content marker before the test. On the repair page, that could be the first instruction and its associated diagram. Record when both are usable and whether a deep-slot request begins while they are still loading. If a tag receives a response and the diagram appears later, compare the network and rendering records before attributing the delay. Keep cache conditions consistent across the comparison.

Suppose two separate fictional reporting groups each have 5,000 eligible page navigations for one slot. The existing setup reports 2,500 ad requests and 1,950 nonempty outcomes. The earlier-fetch setup reports 3,000 requests and 2,250 nonempty outcomes. The nonempty share per request drops from 78% to 75%, while nonempty outcomes per 1,000 eligible navigations rise from 390 to 450. Each denominator tells the buyer something different.

If those groups also show 500 and 560 provider-reported viewable impressions, the count rises from 100 to 112 per 1,000 eligible navigations. Keep measurement coverage beside the count. Review any delivery overhead or evidence of worse content visibility before deciding whether the gain justifies the extra requests. The invented reports illustrate what to compare, with no recommendation for a particular margin. FroggyAds guide to ad viewability measurement

Preserve stop conditions before testing. Roll back the proposed timing if a key control moves while the reader is using it, if the first useful main content becomes harder to reach under the same conditions, or if the owner cannot account for requests, render and delivery. Recheck the existing behavior after a rollback using the same template and consent scope.

If you have a separate eligible FroggyAds advertiser campaign, verify the destination renders correctly and agree on the evidence needed for paid traffic before you move to delivery.

Create a free FroggyAds advertiser account

Frequently asked questions

Is lazy loading ads the same as loading an image when it becomes visible?

An ad slot can involve a network request, a response, creative resources and third-party measurement. Use the publisher tag's controls for those stages. Deferring an ordinary image on the page does not change how the tag requests an ad.

Should you delay an ad that is already visible on page entry?

Check why that slot needs to appear early and what its request does to the main content. Consider an eligible lower-page slot first. Record the existing early path for any placement your publisher has decided to prioritize.

Can a slot request start before it enters the viewport?

Yes. A fetch margin lets the publisher request an ad while the slot is still outside the viewport. A separate render margin controls when the creative is placed. Test the actual timing on representative devices.

Why can several ads be requested after one slot reaches the margin?

A setup using Single Request Architecture can batch the request for grouped slots when the first one meets the fetch condition. Check which slot IDs belong to that batch and when each slot renders.

What does an empty response mean for layout?

The creative may be absent while the reserved space remains. Test the intended empty appearance and any collapse rule near the reader's current position. Keep surrounding controls usable under the same size map.

Is a render event proof that the creative is visible?

A render event can describe code being injected while creative assets are still loading. Use a visual observation for the tested frame and record viewability separately under the provider's method.

Can an earlier fetch lower fill rate in the report?

It can change which requests enter the denominator. Look at filled or nonempty outcomes per request alongside outcomes per eligible navigation, by comparable format and device. Then verify the applicable definition and reporting window.

Why should mobile margins be checked separately?

Viewport height, scroll behavior and network timing can change when a slot approaches and how long the creative takes to appear. GPT also documents a mobile multiplier. Compare behavior at the actual responsive widths you support.

What if consent has not been granted for a request?

Keep the existing approved consent outcome. Record a request the site withheld for consent separately from a timing delay or empty ad response. Use publication and operator rules for any permitted testing.

Which measurements should I keep after changing the setting?

Keep the slot and page versions, request and render timestamps, layout observation, eligible navigation counts and the provider's delivery and viewability reports. Use the comparison only within the templates, devices and policy conditions it covered.

Keep the page visit and ad delivery in the same review

Choose one slot and retain enough evidence to explain what the visitor saw before and after your timing change. For a distinct FroggyAds campaign, bring a verified destination and an eligible audience. Match the campaign's next decision to the outcome your business can count.

Open a FroggyAds account for an eligible traffic test

The FroggyAds team prepared this publisher guide using public documentation and fictional reporting examples. Updated November 27, 2026.