A cool new way to monetize your blog with 125x125 ads - PerformancingAds
 

 

Top

Targeted auctions in AuctionAds

April 30, 2007

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!



I came across an interesting article on how to convert the AuctionAds JavaScript code to generate contextual advertisements on your blog.

The gist of it is that AuctionAds gives you permission to tweak their JavaScript code with respect to the keywords it searches for when displaying ads. This is typically a static list and is controlled by a variable in their JavaScript code as shown below:

auctionads_ad_kw = “<My List of Keywords”;

This would typically be a static list. What if I converted this to generate a keyword list based on the tags that I use in my blog article? Hmm…Interesting isn’t it? It becomes a sort of contextual advertisement in that case if the tags used describe your article well.

So, changing it to the following should do the trick for you:

auctionads_ad_kw = “<?php foreach((get_the_category()) as $cat) { echo $cat->cat_name . ‘ ‘; } ?>”;

Infact, I took it a step further than what the article prescribed and changed the code to a combination of the above two lines of code:

auctionads_ad_kw = “<?php foreach((get_the_category()) as $cat) { echo $cat->cat_name . ‘ ‘; } ?> <MyListOfFallBackKeywords>”;

This ensures that if the Tags do not result in generating contextual ads, at least the static set of keywords you were using earlier will be used.

After reading the article, I have infact changed the code I use for AuctionAds on this site. Lets wait and watch if this helps me generate more revenues in the long run. The advertisements are more relevant for sure already.

Save the page:
  • StumbleUpon
  • Digg
  • del.icio.us
  • Technorati
  • Reddit
  • Bumpzee
  • PlugIM
  • Facebook
  • Live
  • Mixx
  • SphereIt
  • Sphinn
  • Google
  • Pownce
  • TwitThis

Comments



One Response to “Targeted auctions in AuctionAds”

  1. MyAvatars 0.2 admin on May 5th, 2007 10:56 pm

    UPDATE:

    I’ve just noticed that AuctionAds is giving out free t-shirts to all those who have written extensions/plugins/tools for incorporating AuctionAds into their sites.

    Head over to
    http://www.auctionads.com/blog.....d-plugins/
    if you’re written one…

Got something to say?





Bottom