How To Show Ad Based on Author in a BlogSpot Blog

Over here at Devil's Workshop, Rahul bro has implemented a cool revenue sharing program, wherein the advertisement that appears on the post belongs to the author itself. For eg. in this post the ad that is displayed below the post title is my ad. Any revenue generated by clicks on the above ad, is paid to my adsense account. But the thing is that with plugins like Advertising Manager, this method is easy to implement in Wordpress.On blogger its a little more extra code. See how you can implement it in Google's BlogSpot

moneytravel_thumb.gifOver here at Devil’s Workshop, Rahul bro has implemented a cool revenue sharing program, wherein the advertisement that appears on the post belongs to the author itself. For eg. in this post the ad that is displayed below the post title is my ad. Any revenue generated by clicks on the above ad, is paid to my adsense account. But the thing is that with plugins like Advertising Manager, this method is easy to implement in WordPress. On blogger its a little more extra code. See how you can implement it in Google’s BlogSpot.

Follow these steps to implement this hack in blogger:

  1. Search for the place that you are going to insert your ad in. For this tutorial I am taking the space after the post title.
  2. Find <data:post.body/>
  3. Insert the following code:

    <b:if cond=’data:post.author== “Ricky”‘>
    <!– Ricky’s Ad code here–>
    </b:if>

    <b:if cond=’data:post.author== “Joe”‘>
    <!– Joe’s Ad code here–>
    </b:if>

  4. Done!

The code is pretty self-explanatory. Suppose the authors name is Joel, replace Ricky in the first line of the code. Also don’t forget to insert the ad code in place of <!– Ricky’s Ad code here–> or the place. If you have more authors, just repeat the three lines again and again.

Whats the Advantage of such a thing?

To increase the traffic for a blog the main thing that is required is fresh content that is regularly updated. When you offer a revenue sharing program like this, people get interested quickly, because there is an incentive in it for them.

They will post regularly for you, because the more they post, the more they can earn. And due to the fresh content you get more traffic day by day. Its a win-win situation for everyone at last!

3 Comments

Harsh Agrawal August 29, 2009

Hey Richie
This is a nice post and obviously very useful..
Making your Blog revenue sharing will appeal many new bloggers to be a part of the community and make money….
And more over associating your self with a big brand has always its advantage…

Dinesh August 29, 2009

Awesome trick, good one for blogspot blogs as they cannot use plugins.

Richie S August 30, 2009

There was a minor code mistake, had forgotten the ‘ (single quote).

@Harsh Agrawal, @Dinesh
Glad that you liked the article.