# YouTube ads

**URL:** <https://discourse.pi-hole.net/t/youtube-ads/55208>\
**Category:** Community Help\
**Created:** [May 1, 2022, 9:43pm UTC](https://discourse.pi-hole.net/t/youtube-ads/55208 "2022-05-01T21:43:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![O\_wenn](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/o_wenn/32/30875_2.png) [@O\_wenn](https://discourse.pi-hole.net/u/O_wenn)\
**Post date:** [May 1, 2022, 9:43pm UTC](https://discourse.pi-hole.net/t/youtube-ads/55208/1 "2022-05-01T21:43:19Z")

</div>

**The issue I am facing:**

**Details about my system:**

**What I have changed since installing Pi-hole:**

Hello could someone help me please. I'm using Ubuntu and trying to get this script to work but don't understand what todo.  
Here is a link

> [@YouTube script seems to be working very well](https://discourse.pi-hole.net/t/youtube-script-seems-to-be-working-very-well/31316?filter=summary):
>
> (copy of my original [Reddit post here](https://www.reddit.com/r/pihole/comments/g9ytt9/youtube_some_success_ymmv_please_test/)) After a day and a half or so of running, the auto-populated list is at 122 hostnames and the number of ads I have see I can count on one hand. Only one since this morning and YouTube has been running all day. You may well see ads appear, but if they are from a new googlevideo hostname, it will be added to the list when you run the script again. Mine is cron'd to run every few minutes and has been working well. [original post] A year and a half ago I [mad…](https://www.reddit.com/r/pihole/comments/9w5swx/i_think_ive_managed_to_block_youtube_ads_with/)

I'm trying to copy everything it's saying but I'm getting no such file or directory. Wish there was video how to get this working because I'm not good understanding instructions by text. I have got pi hole up and working.

---

<div class="post-metadata">

**Author:** ![DanSchaper](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/danschaper/32/91_2.png) [@DanSchaper](https://discourse.pi-hole.net/u/DanSchaper)\
**Post date:** [May 1, 2022, 11:34pm UTC](https://discourse.pi-hole.net/t/youtube-ads/55208/2 "2022-05-01T23:34:01Z")

</div>

It's not going to work. There's really nothing you can do short of buying a subscription to YT.

---

<div class="post-metadata">

**Author:** ![system](https://discourse.pi-hole.net/uploads/default/original/3X/7/c/7c8792f649eeb921c5d2b4c41564ffa873d9a2b8.png) [@system](https://discourse.pi-hole.net/u/system)\
**Post date:** [May 22, 2022, 11:34pm UTC](https://discourse.pi-hole.net/t/youtube-ads/55208/3 "2022-05-22T23:34:11Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
