disableInitialLoad deprecated: What every Publisher must do now
With disableInitialLoad deprecated by Google, publishers running header bidding need to pay attention. But this is not an isolated change.…
Marcin Hajduk
2026-04-29
With disableInitialLoad deprecated by Google, publishers running header bidding need to pay attention. But this is not an isolated change. Google has deprecated over a dozen legacy methods in the Google Publisher Tag (GPT) library as part of a migration to a new unified configuration API. The legacy calls still work today, but they will be removed in a future GPT release. The exact sunset date has not been announced, which makes now the right time to prepare.
By default, calling googletag.display() on an ad slot triggers three things at once:
This is a problem for publishers using Prebid or other header bidding technologies. The wrapper needs time to collect bids before the ad request goes to GAM. If GPT fires instantly, bid data never reaches the ad server and the publisher loses revenue.
disableInitialLoad() fixes this by splitting the process in two (see Google’s guide on controlling ad loading):
display() only registers the slot (no ad request is sent)googletag.pubads().refresh()This gives the header bidding auction time to complete and attach bid targeting to the slots before GAM sees the request.
Nearly every Prebid.js integration in production today depends on this mechanism. Other common use cases include:
Google is not removing the ability to disable initial load. The feature remains fully supported. What is changing is how you configure it.
As part of a broader migration to a unified configuration API, Google deprecated several legacy PubAdsService methods and replaced them with the new googletag.setConfig() interface. Now that disableInitialLoad is deprecated, the old method call no longer represents best practice.
❌ Deprecated:
googletag.pubads().disableInitialLoad();
✅ Use instead:
googletag.setConfig({ disableInitialLoad: true });
Similarly, the companion check method has changed:
googletag.pubads().isInitialLoadDisabled()googletag.getConfig("disableInitialLoad")The legacy methods still work today. Behind the scenes they already route through the new config framework. But Google has stated they will be removed in a future GPT release. No specific date has been announced, and Google does not typically publish sunset timelines far in advance.
While disableInitialLoad is deprecated and gets the most attention from header bidding publishers, Google has deprecated over a dozen other PubAdsService methods in the same migration. Depending on your ad stack, some of these may be equally critical for your setup. The fact that disableInitialLoad is deprecated alongside so many other methods signals that Google is serious about moving the entire ecosystem to the new API.
Here are the most important deprecated methods grouped by what they control:
disableInitialLoad() controls when ad requests are sent. Critical for header bidding. Replaced by googletag.setConfig({ disableInitialLoad: true }).enableSingleRequest() enables Single Request Architecture (SRA), which batches all ad requests into one call. Important for roadblocks and competitive exclusions. Replaced by googletag.setConfig({ singleRequest: true }).enableLazyLoad() enables lazy loading of ads based on viewport proximity. Replaced by googletag.setConfig({ lazyLoad: {...} }).collapseEmptyDivs() hides ad slots when no creative is returned. Affects layout stability and CLS scores. Replaced by googletag.setConfig({ collapseDiv: "ON_NO_FILL" }).setTargeting() / clearTargeting() manage page-level key-value targeting sent to GAM. Replaced by googletag.setConfig({ targeting: {...} }).setCategoryExclusion() / clearCategoryExclusions() manage ad category blocking labels. Replaced by googletag.setConfig({ categoryExclusion: [...] }).setLocation() passes geo-location data for line item targeting. Replaced by googletag.setConfig({ location: "..." }).setForceSafeFrame() / setSafeFrameConfig() control whether ads render inside SafeFrame containers. Replaced by googletag.setConfig({ safeFrame: {...} }).setCentering() controls horizontal centering of ads. Replaced by googletag.setConfig({ centering: true }).enableVideoAds() / setVideoContent() configure video ad settings and content exclusions. Replaced by googletag.setConfig({ videoAds: {...} }).set() / get() / getAttributeKeys() manage AdSense attributes. Replaced by googletag.setConfig({ adsenseAttributes: {...} }) and googletag.getConfig().The same pattern applies to slot-level methods on the googletag.Slot object: setTargeting(), clearTargeting(), setCategoryExclusion(), setCollapseEmptyDiv(), setClickUrl(), setForceSafeFrame(), setSafeFrameConfig(), and set() are all deprecated in favour of slot.setConfig().
In every case the underlying feature is preserved. Only the method you use to configure it is changing. The new setConfig() API groups all settings into a single, structured interface, which makes configuration easier to manage and less error-prone.
Every publisher using header bidding needs to check whether their ad tag still relies on the now deprecated disableInitialLoad method. With disableInitialLoad deprecated, the tag must be updated before Google removes the legacy API. But the audit should not stop there. Any tag using the legacy methods listed above needs attention.
The migration itself is typically a one-line code change per method. But the timing is unpredictable. Google does not pre-announce removal dates, so there is a real risk of missing the window.
Once Google removes the legacy methods, any tag still using them will silently break. The calls will do nothing, and GPT will revert to default behaviour. In the case of disableInitialLoad(), the consequences can include:
refresh() after display() has already sent a request, the same slot may be requested twice, leading to discrepancies and wasted impressions.disableInitialLoad() to hold ad requests until user consent is granted, removing it means ad requests may fire before the user has made a choice. This can cause compliance issues under GDPR and other privacy regulations.Other deprecated methods carry their own risks. For example, if enableSingleRequest() stops working, you may lose roadblock delivery and competitive exclusion guarantees. If collapseEmptyDivs() breaks, empty ad slots could cause visible layout shifts on your pages.
If you use Yieldbird Platform, your ad stack is secure.
Our tags are already adapted to the new GPT configuration API. This covers not only disableInitialLoad but all deprecated methods that Yieldbird Tag uses. Here is what you need to know:
googletag.setConfig() method for all configurations.You do not need to monitor GPT release notes or track the sunset timeline. Yieldbird’s ad operations team follows every GPT update and ensures the tags we serve stay compatible.
googletag.setConfig() API. The features remain, only the syntax is changing.enableSingleRequest(), enableLazyLoad(), collapseEmptyDivs(), and setTargeting() are also deprecated and need the same migration.
Karol Jurga
Chief Revenue Officer
See it in action.
With disableInitialLoad deprecated by Google, publishers running header bidding need to pay attention. But this is not an isolated change.…
Marcin Hajduk
2026-04-29
In today’s fast-paced digital advertising landscape, it’s more important than ever to strike the right balance between effective monetization and…
Julia Dreślińska
2025-07-21
Just a few years ago, it seemed inevitable that third-party cookies would disappear. Google had promised a revolution in Chrome,…
Julia Dreślińska
2025-07-02
What is Curation? In programmatic advertising, curation refers to the process of selecting and packaging publisher inventory-often within private marketplaces…
Piotr Niedziela
2025-07-01