This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

AdSense Targeting


To get better content in your Ads from Google they have invented the AdSense tags, which marks what is relevant text for the ads and what not. The AdSense Targeting plugin will place a beginning tag in front of every post that is displayed and an ending tag at the end of it. In the editor, you will have the possibility to set the ignore tags around some content that you think is not relevant for ads.

The plugin was tested up to WP 4.5 but should work fine with any other version as well.


  • Active button in editor with text selected
  • The shortcode is wrapped around the selection
  • Source code with the AdSense Tags


  1. Upload the adsense-targeting folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Ready, no customization needed


I use your Ads Easy Plugin and have the tags activated, do I need this plugin?

No, you don’t necessarily need it. But the targeting of this plugin is more accurate and simply better, than what I found on the net (including the method I used in the Ads Easy). My advise would be to disable the tags in Ads Easy and use the AdSense Targeting instead.

The plugin destroyed my editor, only the HTML part is working

That was a bug I couldn’t encounter myself, because I have all ad-blockers disabled in my testing environment. The name of the TinyMCE plugin was AdSenseTargeting, which gets obviously blocked. Thus, GoogleIgnoreTags now it is and all should be fine.


There are no reviews for this plugin.

Contributors & Developers

“AdSense Targeting” is open source software. The following people have contributed to this plugin.


“AdSense Targeting” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “AdSense Targeting” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Description of the editor button fixed
  • WP 4.5 ready


  • WP 4.3 ready


  • WP 4.2 ready


  • WP 4.1 ready


  • Bugfix


  • Better performance


  • Changed the name of the TinyMCE plugin (see FAQ)


  • Small changes in code


  • Initial release