This is AdBlock's old support site. It is available for archival purposes only. To create a new discussion, or to visit the up-to-date knowledge base, please visit help.getadblock.com

Allow specific ads or ad types

Heather's Avatar

Heather

29 Dec, 2014 02:50 PM

Sometimes I just want to block obnoxious ads. Can I allow the text-based Google ads (not just the ones in search results) without allowing all ads on a domain? I'd like to block ads with movement and sound.

  1. 1 Posted by James Edward Le... on 30 Jan, 2015 08:03 AM

    James Edward Lewis II's Avatar

    A fairly comprehensive way to allow ads like this is to add ABP's Acceptable Ads whitelist as a subscription (although I don't think AdBlock supports sitekey, so certain whitelist rules won't work): https://easylist-downloads.adblockplus.org/exceptionrules.txt

    As I look through that text file, I suspect that the way to enable all text-based Google ads is to add the following exception filters as custom filters:

    • @@||google.com/uds/?file=ads^$script

    • @@||google.com/ads/search/module/ads/*/search.js

    • @@||google.com/uds/afs^$subdocument,document

    • @@||google.com/aclk^$subdocument

    • @@||google.com/adsense/search/ads.js

    • @@||google.com/afs/$script,subdocument,document

    • @@||pagead2.googlesyndication.com/pagead/$script

    • @@||partner.googleadservices.com/gampad/google_ads_gpt.js

    • @@||googletagservices.com/tag/js/gpt.js

    • @@||pubads.g.doubleclick.net/gampad/ads?$script

    • @@||g.doubleclick.net/pagead/ads^$script

    • @@||g.doubleclick.net/pagead/$subdocument

    • #@##google_ads

    • #@##GoogleRelatedAds

    • #@##narrow_ad_unit

    • #@##wide_ad_unit

    • #@#.wide_ads

    • #@#a[href^="http://www.google.com/aclk?"]

    There might be some more well-targeted whitelists for allowing all Google text-based ads; the ones I posted above are based on the Acceptable Ads whitelist but more general, rather than being targeted at particular whitelisted sites.

Discussions are closed to public comments.
If you need help with AdBlock please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac