Allow & block ads

Block advertiser URLs in AdSense

This article is for AdSense publishers only. If you don't have an AdSense account, we recommend you:

You can prevent ads from specific advertiser URLs from showing on your site on the Blocking controls page in your AdSense account. The maximum number of advertiser URLs you can block is 500 per AdSense product. You can apply your 500 blocks at the site level or at the product level and in any combination you like up to the limit. Let's say you run four sites and you block 100 advertiser URLs on each of those sites. If you then block another 100 advertiser URLs across all of your sites, you'll have reached your 500 URL limit.

Block at the site level

  1. Sign in to your AdSense account.
  2. Click Blocking controls.
  3. Make sure "Content" is selected.
  4. Under Content, select the domain or subdomain that you want to set the block on.
    If your site is not listed, you can add it using the site management feature.
  5. In the horizontal bar across the top of the page, click the Advertiser URLs tab.
  6. Enter URLs in the box provided, then click Block URLs. Ads from blocked URLs should stop showing on your pages within 24 hours.

Block at the product level

  1. Sign in to your AdSense account.
  2. Click Blocking controls.
  3. Click your product. For example, click Content for AdSense for content.
  4. In the horizontal bar across the top of the page, click the Advertiser URLs tab.
  5. Enter URLs in the box provided, then click Block URLs. Ads from blocked URLs should stop showing on your pages within 24 hours.
Remember, please don't click your own ads to determine their URLs—it's against the Program policies. To view more details about your ads, you can use the Google Publisher Toolbar. The Toolbar lets you check the destination of ads on your pages without the risk of invalid clicks.

Formatting URLs to block ads

The examples below show how a specific URL can either broadly or narrowly block ads from pages. Ads are blocked from URLs marked Cancel, while ads are still eligible to appear on unmarked URLs. 

example.com

forums.example.com

forums.example.com/page

example.com Cancel example.com   example.com  
example.com/page Cancel example.com/page   example.com/page  
www.example.com Cancel www.example.com   www.example.com  
www.example.com/page Cancel www.example.com/page   www.example.com/page  
forums.example.com Cancel forums.example.com Cancel forums.example.com  
forums.example.com/page Cancel forums.example.com/page Cancel forums.example.com/page Cancel
Was this article helpful?
How can we improve it?