Menu
EN

New YouTube ad strategy — server-side ad insertion: What is it and why it’s challenging for ad blockers

YouTube has come up with a fresh tactic to hamstring ad blockers — incorporating ads directly into the video content itself through a method called “server-side ad insertion.” This approach substantially complicates the task of ad blockers in detecting and blocking ads. However, while there is no ready solution to this problem, we are currently exploring ways to combat this new tactic, and remain optimistic about clearing this hurdle in the future.

How it started

For about a year now, YouTube has been ramping up its battle against ad blockers. Intially, it experimented with pop-up messages informing users that “ad blockers are not allowed on YouTube.” Subsequently, the Google-owned platform began testing a three-strikes policy, warining viewers that the video playback would be halted after three videos unless they disable their extensions. Some warnings even featured a countdown clock which could last up to 60 seconds, displaying to users how much time they had left to either “allow YouTube ads” or “try YouTube Premium,” before they are shown the message again.

How it is going: a new escalation

Throughout this period ad blockers have persisted and largely adapted to YouTube’s ad-blocker blocking ways. Ad blockers and YouTube have been locked in a perpetual game of tug of war, where neither side has achieved a definitive victory.

Now, YouTube seems to have upped the ante in the ongoing battle by unveiling what it hopes might be its trump card. As first reported by 9to5Google, YouTube was spotted using a method known as server-side ad injection. Already, we’re seeing reactions from fellow ad-blocking extension developers.

For example, the developer of a crowdsourced ad-blocking extension SponsorBlock announced that the extension won’t work for users caught up in this experiment (as server-side ad injection seems to be a limited test for now) in the short term.

bdy76sponsorblock

The AdGuard team has observed the new ad insertion method as well. So how does it work and how is it different from what YouTube did before?

Server-side ad insertion: new, but quite familiar

Server-side ad insertion differs from normal YouTube ad insertion techniques primarily in how ads are delivered to viewers. In traditional methods, ads are served separately from the video content, allowing ad blockers to intercept and block them. However, with server-side ad injection, the ad becomes part of the video stream itself, making it indistinguishable from the content. This means that ad blockers are less effective because they can’t differentiate between ads and the actual video.

However, although YouTube hadn’t employed this method on the web previously, it has been using a strikingly similar tactic within its mobile apps. To delve into the technicalities, YouTube has been leveraging the UMP protocol to load video metadata, ad metadata, and the videos themselves in requests to *.googlevideo.com. This domain, managed by Google, serves as a platform for hosting and delivering various types of video content across Google’s services, including YouTube.

The similarity between this protocol and YouTube’s new ad insertion tactics lies in its approach to data bundling and delivery. Just as server-side ad insertion integrates ads directly into the video content, UMP packages video and ad metadata, ads, and content itself in a streamlined format.

What does it mean for ad blockers?

In a nutshell, the new ad insertion tactics spell more trouble for ad blockers. It significantly hampers ad blockers’ capability to effectively filter out ads from the responses sent by YouTube to your device’s requests for playing a video. Ad-blocking extensions are particularly vulnerable to these tactics compared to desktop ad-blocking applications, as they have fewer resources available to counter this method.

Currently, there is no foolproof remedy to this issue, but this is absolutely not to say it won’t emerge in the future. Filter developers are already working on short-term fixes and are actively looking for a more stable solution.

Do YouTube ads bother you? Discuss on our social networks

Liked this post?
18,423 18423 user reviews
Excellent!

AdGuard for Windows

AdGuard for Windows is more than an ad blocker. It is a multipurpose tool that blocks ads, controls access to dangerous sites, speeds up page loading, and protects children from inappropriate content.
By downloading the program you accept the terms of the License agreement
Read more
18,423 18423 user reviews
Excellent!

AdGuard for Mac

AdGuard for Mac is a unique ad blocker designed with macOS in mind. In addition to protecting you from annoying ads in browsers and apps, it shields you from tracking, phishing, and fraud.
By downloading the program you accept the terms of the License agreement
Read more
18,423 18423 user reviews
Excellent!

AdGuard for Android

AdGuard for Android is a perfect solution for Android devices. Unlike most other ad blockers, AdGuard doesn't require root access and provides a wide range of app management options.
By downloading the program you accept the terms of the License agreement
Read more
18,423 18423 user reviews
Excellent!

AdGuard for iOS

The best iOS ad blocker for iPhone and iPad. AdGuard eliminates all kinds of ads in Safari, protects your privacy, and speeds up page loading. AdGuard for iOS ad-blocking technology ensures the highest quality filtering and allows you to use multiple filters at the same time
By downloading the program you accept the terms of the License agreement
Read more
18,423 18423 user reviews
Excellent!

AdGuard VPN

74 locations worldwide

Access to any content

Strong encryption

No-logging policy

Fastest connection

24/7 support

Try for free
By downloading the program you accept the terms of the License agreement
Read more
18,423 18423 user reviews
Excellent!

AdGuard Content Blocker

AdGuard Content Blocker will eliminate all kinds of ads in mobile browsers that support content blocker technology — namely, Samsung Internet and Yandex.Browser. While being more limited than AdGuard for Android, it is free, easy to install and still provides high ad blocking quality.
By downloading the program you accept the terms of the License agreement
Read more
18,423 18423 user reviews
Excellent!

AdGuard Browser Extension

AdGuard is the fastest and most lightweight ad blocking extension that effectively blocks all types of ads on all web pages! Choose AdGuard for the browser you use and get ad-free, fast and safe browsing.
18,423 18423 user reviews
Excellent!

AdGuard Assistant

A companion browser extension for AdGuard desktop apps. It offers an in-browser access to such features as custom element blocking, allowlisting a website or sending a report.
18,423 18423 user reviews
Excellent!

AdGuard DNS

AdGuard DNS is a foolproof way to block Internet ads that does not require installing any applications. It is easy to use, absolutely free, easily set up on any device, and provides you with minimal necessary functions to block ads, counters, malicious websites, and adult content.
18,423 18423 user reviews
Excellent!

AdGuard Home

AdGuard Home is a network-wide software for blocking ads & tracking. After you set it up, it’ll cover ALL your home devices, and you don’t need any client-side software for that. With the rise of Internet-Of-Things and connected devices, it becomes more and more important to be able to control your whole network.
18,423 18423 user reviews
Excellent!

AdGuard Pro for iOS

AdGuard Pro has much to offer on top of the excellent iOS ad blocking in Safari already known to the users of the regular version. By providing access to custom DNS settings, the app allows you to block ads, protect your kids from adult content online, and safeguard your personal data from theft.
By downloading the program you accept the terms of the License agreement
Read more
18,423 18423 user reviews
Excellent!

AdGuard for Safari

Ad blocking extensions for Safari are having hard time since Apple started to force everyone to use the new SDK. AdGuard extension is supposed to bring back the high quality ad blocking back to Safari.
18,423 18423 user reviews
Excellent!

AdGuard Temp Mail

A free temporary email address generator that keeps you anonymous and protects your privacy. No spam in your main inbox!
18,423 18423 user reviews
Excellent!

AdGuard for Android TV

AdGuard for Android TV is the only app that blocks ads, guards your privacy, and acts as a firewall for your Smart TV. Get warnings about web threats, use secure DNS, and benefit from encrypted traffic. Relax and dive into your favorite shows with top-notch security and zero ads!
Downloading AdGuard To install AdGuard, click the file indicated by the arrow Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, drag the AdGuard icon to the "Applications" folder. Thank you for choosing AdGuard! Select "Open" and click "OK", then wait for the file to be downloaded. In the opened window, click "Install". Thank you for choosing AdGuard!
Install AdGuard on your mobile device