Placing Google Adsense Under The Posting

There are many questions that have come into Kang Rohman’s email and for all the questions, questions about placing Google Adsense under the posting are the most. Well, Adsense is very phenomenal and all information about it is always very interesting and need be known by many people. People hunt information about Adsense.

Actually, the placement of adsense code under the posting is not only for Google Adsense but also for other Adsense, such as Adbrite, Bidvertiser. We can also place affiliation banners or social bookmarking buttons. But because so many questions about Google Adsense and Google Adsense is so phenomenal that make me inspired to write a post about it.

First, you need to know that we cannot place Google Adsense directly on blogger template because if we place it directly, there will an error message like below;

Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: The processing instruction target matching "[xX][mM][lL]" is not allowed.


So, before placing Goggle Adsense  under the posting, we need to parse it. What is Parse? Parse is a way to change Google Adsense code that we will place on the blogger template. For example, the Google Adsense code is as below:

<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxx";
google_ad_slot = "0976076963";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script
src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>

Now, you have to parse the code above so it will be as below;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-xxxxxxxxxxx&quot;;
google_ad_slot = &quot;0976076963&quot;;
google_ad_width = 468;
google_ad_height = 60;
//--&gt;
&lt;/script&gt;
&lt;script
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;

Well, what do you think? Are you confused? Don’t be confused because there are many websites that provide a tool to parse the Google Adsense code. One of sites that provides parsing tool is http://blogcrowds.com  What you need to do is very simple, put Google Adsense Ads code into the available parsing box.

Horeeeeee. Your GA code has been parsed and ready to place on the template code.
By the way, Can we parse GA code? Because GA TOS says that we are not allowed to change or add or reduce GA code.

To answer that question, you had better ask to Google Adsense management. One thing that you must know that I do not responsible for your account. Kang Rohman himself thinks that it is ok because we do not change any code adsense structures, we only parse it.

To make sure about this problem, some one has ever sent a letter to Google Adsense management. You can read here and GA management says no problem as long as we do not change any code of it. If you are still not sure about it, you can send letter to GA.

Well, it is time to talk about main topic that is placing GA code under the posting. First, I suggest you to use read more system. I explained about Read more here. If your template has already uses read more, you can continue reading the steps below:

  1. Please sign in into blogger with your ID.
  2. Click layout.
  3. Click Edit HTML tab
  4. Click Download Full Template.
  5. Please backup the template first. It is done in order to anticipate if the editing process fails. We still have the backup.
  6. Give a mark on Expand Template Widget , see the picture below:  

    expand-template

  7. Wait a few minute until the process is finished
  8. Find the code below in your template ( I assume that your template has already used read more as shown below)

    <b:if cond='data:blog.pageType == "item"'>
    <style>.fullpost{display:inline;}</style>
    <p><data:post.body/></p>
    <b:else/>
    <style>.fullpost{display:none;}</style>
    <p><data:post.body/>
    <a expr:href='data:post.url'><strong>Read more...</strong></a></p> 
    </b:if>

  9. Place Google Adsense code like below (Remember, GA code has been parsed):

    <b:if cond='data:blog.pageType == "item"'>
    <style>.fullpost{display:inline;}</style>
    <p><data:post.body/></p>


    <br /> <br />
    &lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
    google_ad_client = &quot;pub-xxxxxxxxxxx&quot;;
    google_ad_slot = &quot;0976076963&quot;;
    google_ad_width = 468;
    google_ad_height = 60;
    //--&gt;
    &lt;/script&gt;
    &lt;script
    src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
    &lt;/script&gt;


    <b:else/>
    <style>.fullpost{display:none;}</style>
    <p><data:post.body/>
    <a expr:href='data:post.url'><strong>Selengkapnya...</strong></a></p>
    </b:if>

  10. Click Save Template.
  11. Finish and see the result.

Note:

The GA code above is only sample, please change it with your Adsense code. The adsense code is not always GA code; you can use adbrite, bidvertiser or others affiliate banners.

Good luck!!!

Bookmark and Share

Insert your email address to receive updates on my Blogspot tutorial, Free Template and Site Info.

Comments :

8 Responses to “Placing Google Adsense Under The Posting”
Anonymous said...
on 

kang, kalo naruh iklan dibawah judul gimana kang..,

By : esukses.net

carol said...
on 

great info nice blog.. adsense is a great way to earn extra money

yasinmarine said...
on 

maav kan saya lagi ngejar target tapi tutorial yang saya COPAS dari sini saya pasang V.Kang rohman & V.blogspottutorial cek aja kang


maav yach

yasinmarine said...
on 

maav kan saya lagi ngejar target tapi tutorial yang saya COPAS dari sini saya pasang V.Kang rohman & V.blogspottutorial cek aja kang


maav yach kang
nanti saya rubah judulnya makasih sebelumnya

masih boleh COPAS kan

Millionaire Maker said...
on 

Hi dear ,
Some really helpful information here. I Like of your website design . Did you make this templete yourself or did you get it from any templetes websites? Looks pretty cool for me . I use Joomla but wants something better.

Pinoy said...
on 

4 easy step by step ways to insert adsense on the most effective locations:

Adsense Below post but above Comments:
http://bloggertinker.blogspot.com/2009/02/how-to-put-google-ads-below-post.html

Adsense Wrapped or Inline with your post:
http://bloggertinker.blogspot.com/2009/02/how-to-put-google-adsense-within-inline.html

Adsense directly below post title:
http://bloggertinker.blogspot.com/2009/02/how-to-put-google-adsense-below-post.html

Adsense directly below your header:
http://bloggertinker.blogspot.com/2009/02/how-to-put-google-adsense-below-header.html

Hope these helps ^_^

G0zeN said...
on 

thanks kang for sharing the info...

SCORPIO said...
on 

I like to visit your blog and it is have interesting writings about business opportunity and you can also visit website for indian free classifieds to get more ideas about online business from home and you can find more home based business opportunity to work at home in your part time at jobs online.




Indian Free Classifieds


Shipping Directory


Part Time Jobs

Post a Comment

Please comment in English.

Spam Comment will be delete!

 

Translator

English French German Spain Italian Dutch

Russian Portuguese Japanese Korean Arabic Chinese Simplified
Widget by : Blog tutorial
Bottom