AdSense Targeting

Description

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.

Screenshots

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

Installation

  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

FAQ

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.

Contributors & Developers

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

Contributors

“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.

Changelog

1.5.3

  • Description of the editor button fixed
  • WP 4.5 ready

1.5.2

  • WP 4.3 ready

1.5.1

  • WP 4.2 ready

1.5

  • WP 4.1 ready

1.4

  • Bugfix

1.3

  • Better performance

1.2

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

1.1

  • Small changes in code

1.0

  • Initial release