• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
Daily Blog Tips

Daily Blog Tips

How to make money from your blog

  • Home
  • Popular
  • Contributors
  • About
  • Contact / Advertise
  • Blogging
  • Marketing
  • Design
  • Money
  • Reviews
  • Productivity
  • Software
  • Technology
  • Guides

Search Ads WordPress Plugin

By Daniel 38 Comments Reading Time: 2 minutes

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.

Daniel Scocco

About Daniel

Daniel Scocco is a programmer and entrepreneur located in São Paulo, Brazil. His first company, Online Profits, builds and manages websites in different niches. His second company, Kubic, specializes in developing mobile apps for the iOS and Android platforms.

Filed Under: Software

Reader Interactions

Comments

  1. GeekLad says

    at

    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.

    Reply
  2. robert says

    at

    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…

    Reply
  3. Surender Sharma says

    at

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

    Reply
  4. Daniel Scocco says

    at

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

    Reply
  5. robert says

    at

    Hey Dan,

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

    Reply
  6. Daniel Scocco says

    at

    @Adam, the plugin is not supposed to show ads in the homepage. It must be the way your theme is coded.

    Reply
  7. Adam says

    at

    For the main page it’s showing for every post, is there a way to limit to one top post (or two) only? since adsense allows only 3 ads per page. My main page shows up to 7 posts.

    Reply
  8. Chris Holdheide says

    at

    That explains why I’m seeing all of the ads even when I enter though my feedburner account or go directly to the site. Thanks for the help.

    Reply
  9. Mike says

    at

    This seems like a great plug in. I will give it a try once I re-activate my ad accounts.

    Reply
  10. Daniel Scocco says

    at

    @Chris, did you test it out by visiting your website from a search engine? If so, that is what is causing the ads to show on every page.

    Once a user comes from search engines, he will keep seeing the ads for 24 hours.

    Reply
  11. Chris Holdheide says

    at

    I just uploaded the plugin and it’s showing adsense ads all the time. What should I do to fix this so it will only show ads to those coming from the search engines?

    Any help would be great.

    Chris

    Reply
  12. Daniel Scocco says

    at

    @Liane, what do you mean by company creator?

    Reply
  13. Liane YoungBlogger says

    at

    Looks cool Daniel. I wonder, who’s the company creator?

    Reply
  14. teratips says

    at

    great plugin

    Reply
  15. Chester says

    at

    Your tip is very useful! I should try this plug-in and hopefully works well on my end.

    Reply
  16. Santiago says

    at

    What about excluding Google Reader users? I hate when some sites display “Hey! You are coming from google, why not subscribe?” when my referrer is google.com/reader.

    Reply
  17. Stefan says

    at

    Thank you for the tip. I’ve been using “Who sees ads” so far, but this looks interesting. I think it’s important to reward your returning visitors by simple not throwing advertising in their face every time they visit you. That’s why plugins like this are great.

    Reply
  18. Daniel Scocco says

    at

    @Knoxville, you can’t do that with the plugin as it is. I was just make a related suggestion.

    Reply
  19. Knoxville Website Design says

    at

    Perhaps I can explain more, I was curious about displaying the ad after the first paragraph of content, not be wrapped by the content.

    Reply
  20. Daniel Scocco says

    at

    @Knoxville, you could use the “float:left;” styling attribute to wrap the ad with the content.

    Reply
  21. Knoxville Website Design says

    at

    Very cool plug-in. How hard would it be to position the ad within the content itself? For example, after the 1st paragraph?

    Reply
  22. Daniel Scocco says

    at

    @Keith, should work with WP Super Cache. I tested on my sites and it worked at least.

    For the cookie, it only stays one hour.

    Reply
  23. Keith Dsouza says

    at

    Will this work for sites using WP Super Cache? Also I see it’s adding a cookie for the site user.

    What happens when the visitor becomes a regular user and comes back later, based on the cookie the ads will still be displayed, also the setting of cookies is only done for hardcoded google.*?

    Reply
  24. Bob Hoil says

    at

    This sounds pretty interesting! I only have one ad up on my site but I don’t get much traffic from search engines so don’t think it will make a difference for my site in the end.

    Reply
  25. Boerne Search says

    at

    Yeah, no bugs here either. My friend showed me this a week back and so far so good 🙂

    Kane

    Reply
  26. Daniel Scocco says

    at

    @Maestro Billy, that error is probably because your PHP version is 4.0. I am tweaking the plugin to be compatible with 4.0 as well, will update a new version asap.

    Reply
  27. Maestro Billy says

    at

    Sorry to bother with some techincal questions, but the plug-in doesn’t work. See qhat I got on WordPress:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/.beelzebub/maestrob/maestrobilly.com/podcast/wp-content/plugins/search-ads/searchads.php on line 4

    Best regards

    Billy.

    Reply
  28. Daniel Scocco says

    at

    @Lyndi, I will take a look.

    Reply
  29. Daniel Scocco says

    at

    @Amit, yes it should trigger the ads based on the search engines you select.

    I also believe that with google.*, a visitor coming from images.google.com would trigger the ads. Got test though.

    For the multiple ad slots, I considered it, but I felt that it would remove the simplicity. I will consider it for a future upgrade though.

    Thanks for the feedback.

    Reply
  30. Daniel Scocco says

    at

    @Young, thanks.

    If you find any let me know.

    Reply
  31. Young says

    at

    Daniel, I have to say it is a great plugin and I have already used it in my blogs, no bugs found until now. 🙂

    Reply
  32. Lyndi says

    at

    The plugin works great but I do have a problem. I show the excerpts of 4 posts on the main page. The plugin now adds the ad at the top of each of these posts. On the single page everything displays the way one would expect it to. Maybe a toggle switch to turn off the ads on the main page or at least only above or below the first post on the main page.

    Reply
  33. SVT says

    at

    Seems like a usefull plugin. I’ve been looking for something like this. I’ll install it and see if it’s as good as it seems.

    Reply
  34. Amit Bhawani says

    at

    1. How about adding the Images Search Engines also in this along with News Sections like Images.google.com , News.google.com and so on. Can we have some kind of option like *.google.* ?

    2. Also how about having multiple ad slots feature like WhyDoWork offers with multiple placement options like middle left, right,center, top, bottom & random. These are few suggestions if they can be implemented.

    Reply
  35. Amit Bhawani says

    at

    Would the plugin correctly find the referrer of the traffic? Iam asking this because in case if we select only Google Traffic to be shown with our Google Adsense Advertisements, the plugin would work perfectly?

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Popular

  • 28 Ways to Make Money with Your Website 514 Comments
  • 43 Web Design Mistakes You Should Avoid 474 Comments
  • 4 Steps to Increase Your Blog Traffic 188 Comments
  • How to Find Advertisers for Your Website 126 Comments
  • Top 25 SEO Blogs 243 Comments
  • 101 Blog Tips I learned 177 Comments
  • 30 Traffic Generation Tips 351 Comments
  • 6 Ways to Speed Up Your Site 51 Comments
  • 9 Hacks to Show Readers Your Best Stuff 21 Comments
  • 50 Simple Ways to Gain RSS Subscribers 145 Comments
  • The Best Website Taglines 127 Comments
  • What Is Success? 57 Comments
  • How to setup a 301 Redirect 52 Comments
  • The 7 Characteristics of Good Domains 76 Comments
  • 7 Ways to Promote your Site 133 Comments
  • Top 25 Celebrity Blogs 44 Comments
  • What Is A Blog? 81 Comments
  • Blog Setup: 40 Practical Tips 57 Comments
  • 10 Tips To Write Your Most Popular Post 79 Comments
  • The Blog Post Checklist 75 Comments
  • Interview: 12 Top Online Entrepreneurs 98 Comments
  • What Is Bounce Rate? 42 Comments
  • 20 SEO Terms You Should Know 28 Comments
  • How To Choose A Blog Name 15 Comments
  • 10 Tips to Sell Your Website on Flippa 37 Comments
  • Top 25 Web Design Blogs 80 Comments
As featured
CNBC copyblogger problogger Entrepreneur Lifehacker Hubspot Business Insider Wordpress Showcase
Online business done right. Take your marketing efforts to the next level with tips and resources to get visitors to your website.

All Content Copyright © 2023-2023. Daily Blog Tips unless otherwise noted or credited.

DBT is an independent website. The views expressed on this site may come from individual contributors and do not necessarily reflect the view of DBT or any other organization.

Privacy Policy| Terms of Service | About | Contact

777 Brickell Ave #500-14648, Miami, FL, 33131, US