Search This Blog

Tuesday 19 June 2012

How I inserted Google Adsense Link List ads at the end of my blog posts

Source: OgbongeBlog
As at the time of publishing this post, if you read any of my blog posts directly on my blog, www.ogbongeblog.com, you will notice Google Adsense Link List unit at the end of the post. In this post, I am sharing with you, how I did it.

Before you implement this trick, kindly BACK UP YOUR TEMPLATE first and I hope you already have an approved Adsense account. If you do not have one, Read: How To Register For Adsense Free of Charge.

So, lets get started.

STEP 1Login to your Google Adsense account, and create a new ad.  Choose the 180 x 90 ad type. if you prefer the horizontal LinkList, you can choose the 728x15 ad type. Then, copy the code into a Notepad.  Try and create a channel for the ad.  If you do not know how to create Adsense channels, read: http://www.ogbongeblog.com/2011/04/custom-adsense-channels-track-ads.html

STEP 2: Before you can insert the adsense in your blog, you will need to "Parse" the code. Hence, we will need an html parser to do that. So, go to http://www.blogcrowds.com/resources/parse_html.php
At the page, you will see a box, paste your Adsense code into the box and click the "Parse" button. Copy the parsed code. You will need this parsed code in Step 3.

STEP 3:  Login to you Blogger dashboard and navigate to Design > Edit HTML and tick the small "Expand Widget Templates" box. Using "CTRL+F", search for the code <data:post.body/>  and paste the parsed code above, directly below  <data:post.body/>  and save the template.

That's all. View any of your blog post and you should now be seeing adsense ads showing in your post.

Remember, you can only see maximum of 3 Ad units on a page at a time. Hence, if you already displaying 3 ad units on your page, the fourth one will not display after adding this new one.

Advanced Customization

If you are as smart as me, then you can implement this advanced trick...lol. This trick will align the ad to the left of your blog post.

Copy the code below into a notepad and replace the blue part with YOUR parsed adsense code in step 2 and then paste it in your blog as explained in step 3 above. If you do not replace it with your adsense code, that means you will be making money for me because the code in blue, is mine..


 <div style='float:left;padding:20px;'>
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-&quot;;
google_ad_host = &quot;pub-&quot;;
google_ad_host_channel=&quot;00000+00013+00012+00299&quot;;
/* 336x280, created 12/26/09 */
google_ad_slot = &quot;5115307496&quot;;
google_ad_width = 180;
google_ad_height = 90;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
 </div>

That's all.

I hope it works for you.

If it works for you, kindly use the comment form to share the link to your blog, so we can check it out. If you have problems to ask or want to make contributions, kindly use the comment form.

In my future posts,  I will share with you, more Adsense tricks. So, SUBSCRIBE to this blog now if you don't want to miss them, even if I post them here, when you are not online.

5 comments:

  1. Anonymous19/3/13

    Hello, I log on to your blogs regularly. Your humoristic style is witty, keep up the
    good work!

    Feel free to surf to my site Corporate Movers

    ReplyDelete
  2. Anonymous27/5/13

    Quality posts is the key to interest the visitors to pay a visit the
    website, that's what this web page is providing.

    My web page ... Natural Cleanse REviews

    ReplyDelete
  3. Anonymous12/6/13

    What's up, all the time i used to check blog posts here early in the morning, for the reason that i love to find out more and more.

    Also visit my page: Lift and Glow Pro And Lift Serum Pro

    ReplyDelete
  4. Anonymous13/6/13

    bookmarked!!, I really like your web site!

    Review my web blog; Auravie Skin Care

    ReplyDelete
  5. Anonymous13/6/14

    Incredible! This blog looks just like my old one! It's on a totally different subject but it has pretty much the
    same page layout and design. Outstanding choice of colors!

    Feel free to surf to my web site - the cheapest tickets

    ReplyDelete

Your comments are very valuable to help us improve our services.