Intelligent content ad insertion for WordPress

This plugin lets you insert advertisements in post, page and feed content without manual intervention. It’s useful when you have a large amount of content (thousands of posts) that you want to monetize. It’s also compatible with other ad management plugins for WordPress, AdSense and can perform manual ad rotation.

What it does, in detail

Intelligently inserted ads

At most two ads are inserted per-post (or per-page):

  1. An opener ad: Right after the <!--more--> break of the post. Failing that, between its first and second paragraphs.
  2. A halfway ad: In between the two paragraphs halfway of the post.

Ads are not inserted on the front page, archive pages or any other page with multiple posts.

Since it supports PHP evaluation, you can use it along with other ad managers, such as the AdRotator plugin or AdSenseDeluxe.

Once you’ve read this page, I strongly encourage you to learn how to perform A/B testing and maximize clickthrough rate using this plugin.

Download and installation

Get the plugin here

Then:

  • Deploy it into your WordPress plugins folder
  • Activate it
  • Visit Options -> Intelligent content ads
  • Suit to your tastes

Intelligent content ad insertion options

There are a few things you should know about. Keep reading.

PHP evaluation and execution

If you’re already using another ad system such as AdSenseDeluxe (or you plan to), you have the option to activate PHP evaluation. In this mode, any PHP code you type on the Ad code boxes will be executed and evaluated. You can use this technique to:

  • Implement rotational ad systems
  • Make ad code conditional to WordPress stateExample: <?php global $post; if ($post->title == "How to cook") { ?> some ad code here <? } ?>
  • Perform A/B testing
  • Invoke AdSenseDeluxe or AdRotator code to pull ads from its configuration instead of manually maintaining ads separatelyExamples: <?php adsense_deluxe_ads('Ad_Name'); ?> or >?php echo getad('bannerad'); ?<

You should keep in mind, however, that PHP evaluation poses a security danger on multi-author blogs.

Preventing a particular post from getting processed

It’s easy. Just add the following on the post: <!--noadsense-->.

My ads aren’t showing! I want a different feature! Help!

  • If no ad code is present, no ads aren’t shown.
  • If the page in question shows more than one post, no ad will be injected.
  • If the page in question is not a “more” page ($more = 1, true when viewing single posts, RSS feeds and pages), no ad will be injected.
  • Ads are not inserted on attachment pages. Ads effective for posts and pages usually are much less effective on attachment pages due to layout issues.
  • If your story contains less than ten paragraphs in each page, the halfway ad is not shown.
  • Are you sure you checkmarked where you’d like to show the ads?
  • Are you using PHP evaluation? If so, the code may be failing to evaluate properly. Check the source of your page for an HTML comment starting with the string PHP evaluation for ad code failed, then check your server’s PHP error_log for the exact error.

As usual, there are paid support and services to go along with this plugin here.