Search Ads WordPress Plugin

By Daniel Scocco

I am glad to finally release the Search Ads WordPress plugin, which allows you to display content blended ads only to search engine traffic, in a quick and simple way. There are a couple of advantages connected with this strategy. First of all you will be able to add another revenue stream to your site, as organic traffic tends to yield a very high CTR. Secondly, you won’t annoy your regular visitors, because they won’t see the ads unless they come to your site via a search engine.

Here is how it works. Once you upload and activate the plugin, you will be able to find its configuration page under the “Settings” menu of WordPress. It looks like this:

search-ads-wordpress-plugin

The first thing that you need to configure is where the ad should appear. You can place it on top of your posts, at the bottom, or both. By default the ad will be left aligned, with no content around it. You can change the style however, adding margins, changing the alignment, wrapping the content around it and so on.

The second step is to paste your ad code. It can be the Javascript code of your AdSense unit or even an HTML code if you want to run a static banner ad. For optimal performance I recommend that you use the 336×280 AdSense unit.

Finally, you can choose what search engines should trigger the ads. You can also include other sites in that list, including social networking sites like Twitter or Facebook.

That is it. Save the configuration and your ads should be live.

The plugin was developed with Andreas Nurbo. If you need custom plugins developed or help to fix anything inside WordPress, he is available for hiring.

We tested it on WordPress 2.5 up to 2.8.3. This is the first release, though, so if you find any bugs just let me know with a comment below and we’ll try to fix it as soon as possible.

Update: The Search Ads plugin is now available only to Online Profits members.



Share

35 Responses to “Search Ads WordPress Plugin”

  • GeekLad

    Great plugin! We use it on MakeUseOf.com. However, there is one problem with it. If you use Google Custom Search Engine (as we do) on your blog, the ads are displayed when you click on results.

    I did manage to put together a decent workaround for this. I put together some JavaScript to display our ad. It works by using a regular expression to check to see if the referrer has google.com/cse?cx= in it, and if it finds it, it inserts the <script> tag that displays the ad:


    <script type="text/javascript">
    if(!document.referrer.match(/.google.com/cse?cx=/)) {
    script = document.createElement("script");
    script.type = "text/javascript";
    script.src = "http://url.to.ad/code.js";
    document.body.appendChild(script);
    }
    </script>

    You may wish to use a similar method within the plugin code so that such a workaround isn't necessary. Hope this is useful for anyone else running into similar issues with Google CSE.

  • robert

    Dan, thanks for clarifying that… i was just making sure it wasn’t against their TOS…
    otherwise i love this concept: presenting ads only to information seekers… in a way Google should benefit from this since they get quality visitors… just post it here in case you find something we should know in regards to TOS…

  • Surender Sharma

    I have checked this plugin and find it good.But I deleted it after testing because It is against Google TOS.
    Isn’t it?

  • Daniel Scocco

    @Robert, cloaking is when you present different content to search engine bots and users. For example, a malicious user could display some health and fitness content to search bots, while trying to sell viagra with flash based site to visitors.

    That is what violates Google’s policy.

    What this plugin does is simply to segment the ads based on traffic sources, it does not alter the content or try to hide anything from search bots.

  • robert

    Hey Dan,

    Is this plug in against Adsense TOS? It does some sort cloaking that’s why i asked…
    can you clarify that… thx..

Comments are closed.