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:
Now, you have to parse the code above so it will be 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>
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:
- Please sign in into blogger with your ID.
- Click layout.
- Click Edit HTML tab
- Click Download Full Template.
- Please backup the template first. It is done in order to anticipate if the editing process fails. We still have the backup.
- Give a mark on Expand Template Widget , see the picture below:
- Wait a few minute until the process is finished
- Find the code below in your template ( I assume that your template has already used read more as shown below)
- Place Google Adsense code like below (Remember, GA code has been parsed):
<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>
- Click Save Template.
- Finish and see the result.

No comments:
Post a Comment