This article describes how to block ads from showing on your website by blocking URLs from specific advertisers. You can block entire domains, subdirectories, specific videos, and more.
On this page:
Note:To use this feature, you must have a linked Ad Exchange account .
You can block ads from specific advertisers' websites from appearing on your pages. This is helpful when you don't want to display particular advertisements—for example, you may want to block ads leading to competitors' sites.
You can block ads that link (or, click-through) to specific URLs. This way, you can easily block all ads that are linked to your competitor at www.example.com
. By entering a top-level domain, such as example.com
, you'll also block all ads that link to subdirectories below that domain.
To block individual ads instead of specific advertiser URLs, use the Ad review center .
Advertiser URL blocks apply to these transactions:
- Open Auctions
- Private Auctions
- First Look
Learn more about transaction types .
Guidelines for blocking URLs
- You can separate multiple URLs with commas or hard returns.
- You can block a maximum of 25,000 URLs per protection.
- Entering
example.com
blocks ads toexample.com
andexample.com/sub
. - Entering
example.com/sub
does not block ads toexample.com/products
.
- Entering
example.com/1?2=3
blocks ads toexample.com/1?4=5
- Entering
example.com
blocks ads towww.example.com
andforums.example.com
. - Entering
www.example.com
blocks ads towww.example.com
,forums.example.com
, andexample.com
. - Entering
forums.example.com
blocks ads toforums.example.com
but does not block ads toexample.com
,www.example.com
, oradmin.example.com
.
itunes.apple.com/app/id12345
and itunes.apple.com/us/app/id12345
point to the same app, you only need to enter one of the URLs to block the app entirely. id12345
, you need to block itunes.apple.com/app/id12345
and apps.apple.com/app/id12345
.- Block a single video by entering its URL:
youtube.com/watch?v=VID
- Block all YouTube videos:
youtube.com/watch
- Block an entire YouTube channel:
youtube.com/watch?v=VID
VID should be replaced with the corresponding video or channel ID.
google.com.br)
Internationalized domain names are accepted after being converted to ASCII strings using Punycode transcription and prefixed with xn--
. For instance, Bücher.example
is converted to xn--bcher-kva.example
.
Block URLs in protections
- Sign in to Google Ad Manager.
- Click Protections,and then Protectionsagain.
- Click New protection, and then Ad content.
- Name your protection.
- Select the inventory you wish to protect with targeting:
- Protect all inventory:Choose this option to create a global inventory protection.
- Only protect specified inventory(default setting): Click the "Add targeting preset" menu or an inventory option, and make your targeting selections .
- Under "Blocks," click Addnext to "Advertiser URLs."
- In the text box, enter (or copy and paste) the display or destination URL(s) you want to block, separating new URLs with a line break.
Follow the guidelines for blocking URLs . - Click Add.
All of the advertiser URLs you enter appear on the right side of the page. To allow an advertiser URL that you’ve blocked, find it in the blocked list and click to the right of the URL. - Click Update.
- Add more protections as needed and click Save.
When URLs will be blocked
It can take up to 4 hours for these URLs to be blocked from your pages. Ads with these URLs can appear in the Ad review center for up to 24 hours.