«
My Journal on Wordpress Workshop (Updated) -
(SEO Tips) Get Your Page Number 1 »
26 February 2007

I make this note because it is looks nice if adsense placed inside post body. Since I publish several Blog on Blogger, I try to find out how to put adsense into New Blogger. I keep this article here to make it easier for me and also for you in the future. If you want to place Google Adsense into your Blogger Post Body, like in the picture, you can use this method.
You should edit your HTML code of your template and don't forget to activate Expand Widget Templates on the right side. Try to locate
CODE:
-
<div class='post-body'>
-
<p><data :post.body/></p>
-
</div>
On your HTML and after that you can start to copy and paste your adsense code.

Since Blogger started using XML everything is more strict and standardized. The above error simply mean the Adsense code is not standized XML and solve it we need to replace all the html character such '<' with '>' '"' with '"'. For example:
Your adsense code

Should be changed to
CODE:
-
<script type="text/javascript"><!--
-
google_ad_client = "pub-XXXXXXXXXXXXXXX";
-
google_ad_width = 336;
-
google_ad_height = 280;
-
google_ad_format = "336x280_as";
-
google_ad_type = "text_image";
-
google_ad_channel = "";
-
google_color_border = "FFFFFF";
-
google_color_bg = "FFFFFF";
-
google_color_link = "000000";
-
google_color_text = "000000";
-
google_color_url = "000000";
-
//--></script>
-
<script type="text/javascript"
-
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
-
</script>
To place your adsense next to the post, just add
CODE:
-
<div style="float:left;">
-
your adsense code
-
</div>
Just before this code
CODE:
-
<div class='post-body'>
-
<p><data :post.body/></p>
-
<div style='clear: both;'/> <!-- clear for photos floats -->
-
</div>
If you feels the text is too close with the adsense you can change the style by adding margin on style code
CODE:
-
<div style="float:left; margin:5px 5px 5px 5px">
-
your adsense code
-
</div>
Now you can save your new HTML code and enjoy the result.
Posted On AdSense, Blogger, new blogger
Share This
Related Posts
Random Posts
41 Responses to '
Insert Adsense Into Blogger Body Post '
Leave a reply
Search terms for this post
The element type "div" must be terminated by the matching end-tag " (7), insert adsense in blogger (5), inserting link into blogger (3), blogspot show adsense only in first post (3), adsense (3), google adsense in post blogger (3), The element type "div" must be terminated by the matching end-tag (3), Insert Google Adsense Into Blogger XML Post Body (3), insert adsense body post new blogger (2), how to add adsense code into blog (2), adsense in post content (2), blogspot INSERT ADSENSE (2), blogger insert adsense in post (2), The element type "div" must be terminated by the matching end-tag (2), adsense in blogger post (2), "The element type "div" must be terminated by the matching end-tag" (2), blogger adsense in post (2), XML error message: The element type "meta" must be terminated by the matching end-tag "". (2), adsense blogger (2), how to insert adsense in blogspot (2), adsense in blogspot posts (2), how to put adsense into post blogspot (2), insert adsense into blogger posts (2), insert adsense into blogspot (2), insert adsense below post (2), insert adsense into blogger post (2), how to insert adsense in blog post (2), The element type "img" must be terminated by the matching end-tag "". (2), adsense at the end of post (2), inserting adsense in blogspot (2), blogger adsense under first post (2), insert line in blogger (1), paste adsense in blogger posts (1), insert javascript into blogger (1), ads inserted in posts blogger templates (1), put adsense only first post blogger (1), wordpress insert html script post (1), float adsense post wordpress (1), Blogger insert code (1), code adsense im text blogspot (1), insert google adsense referrals to blog post (1), insert adsense into blogger posts (1), daily thought change javascript code (1), insert blogger adsense posts (1), inset blogger adsense post (1), how to insert html ads into blogger (1), insert adsense (1), insert javascript in blogger posts (1), must be terminated by the matching end-tag "ebay" (1), adsense blogger error (1), insert html into posts blogger (1), how to put google adsense in blogger posts (1), adding 468 adsense to blogger (1), where do you insert the code into a blog html (1), How To Add Adsense Script into Blogspot Website (1), insert adsense in posting (1), data post body (1), code html into the body of email (1), insert adsense to blogspot (1), how to insert javascript code in blogger post (1), insert adsense text (1), blogspot adsense script (1), insert google adsense in blogspot post (1), daily thoughts to add to blog (1), how to insert image into comments of blogger using (1), how insert ads in blogger post (1), insert ad text blogger (1), inserting adsense in blogger (1), blogger insert html (1), adsense in blogger text (1), blogger first post adsense (1), insert comments into blogger (1), how to insert google search engine to my html document very easy copy paste only 123 (1), show adsense in first two post only (1), insert javascript blogspot post (1), how to insert amazone in google adsense (1), put adsense code in blogger (1), adsense into body (1), manhattan sklepy B&H komputerowy (1), how to place adsense at the left side post blogger (1), how to insert code into Blogger (1), insert adsense in post (1), php insert adsense = "
(1), insert ads into blogspot posts (1), adsense on the blogger body (1), how to insert adsense into blogs body (1), insert adsense post (1), insert script into blogger post (1), "XML error message: The element type "div" must be terminated by the matching end-tag" (1), blogger inset html (1), insert html in blogger (1), wordpress insert javascript in body (1), adsense to blog body (1), XML error message: The element type "img" must be terminated by the matching end-tag "" (1), blogger post adsense script (1), blogger html insert text (1), insert adsense to blogger content (1), including adsense code in blogger xml post body (1), XML error message: The element type "div" must be terminated by the matching end-tag (1), how to paste adsense into blogger (1), how to insert adsense in a post in blogger only once (1), how to put adsense code into blogspot (1), wordpress how to put adsense in body of post (1), insert adsense code to blogger content (1), how to insert adsense inside the 1st post only (1), how to insert adsense in the first post (1), adsense in blogger body (1), put adsense below posts blogger new (1), insert google adsense into blogspot (1), insert adsense into text (1), automatically insert adsense code in wordpress (1), blogger (1), inserting adsense on post (1), insert adsense in post blogger (1), google adsense inside post body wordpress (1), adsense post body tos (1), insert adsense around post body left (1), insert numbre views post in blogger (1), how to insert ads after the first post blogspot (1), html script for daily thought (1), adsense blogger mid of article (1), insert adsense in post blogspot (1), insert javascript in html blogspot (1), insert adsense into post (1), how can i insert daily messages in blogs (1), insert adsense into blogspot post (1), blogger help how to insert ad after first post (1), how to put adsense at the end of every post (1), Adsense ads in Blogger posts (1), adsense blogger after first post only (1), how to put adsense code on content on blogspot (1), insert comment to post using per post feed blogspot (1), make posts plain text in blogger (1), quot;http://pagead2.googlesyndication.com/pagead/show_ads.js"> (1), adsense automatically insert into blog (1), blogger The element type "img" must be terminated by the matching end-tag (1), The element type "img" must be terminated by the matching end-tag blogger (1), can i add text ads into my blog body (1), how do i insert adsense into my wordpress (1), insert adsense code inside blogger post (1), how to place Google Adsense next to picture blogger (1), only first post showing adsense ads (1), blogger img must be terminated (1), META" must be terminated by the matching end-tag blogger (1), insert script into wordpress (1), ads on blogger body (1), blogspot insert code (1), copy paste pictures show plain text < (1), The element type "img" must be terminated by the matching end-tag (1), how to make put ads into content in blogger (1),
on February 28th, 2007 at 5:23 am
Can explain more detail? does this will show on first post only? or will show in every post?
Thanks
on March 1st, 2007 at 4:32 am
This will show adsense only on full post view and for all posts.
Jadi tidak di halaman muka. Kalau ada yang pingin read more baru adsensenya akan muncul.
on March 8th, 2007 at 7:12 pm
Hi man,
Getting my hand dirty with the template editing proved to be very helpful. I managed to put the adsense ads in the post. You explanation was very helpful and more than clear. Thanks for that.
By the way, you can have a look at my blog @ http://forexkid.blogspot.com
Thanks once more
on July 2nd, 2007 at 1:56 am
How to add google adsense in the below post in new blogger if i have active “read more” fitur(using post template)?
Thanks
on July 19th, 2007 at 10:26 pm
Thank you so much! I kept getting errors with the XML in blogger, even with other ad servers besides Adsense and had almost totally abondoned them. I’ll try the XML fixes you listed. Thanks again!
Lance
Http://Lanceeh.blogspot.com
on July 20th, 2007 at 8:56 pm
nice
on July 30th, 2007 at 12:14 am
Why am I got this error when applying your code:
‘XML error message: The content of elements must consist of well-formed character data or markup.’
‘XML error message: The element type “div” must be terminated by the matching end-tag ” ‘
This is what my html code looks like, is it correct or I made a mistake?
<script type="text/javascript"><!–
google_ad_client = "pub-xxxxxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468×60_as_rimg";
google_cpa_choice = "fffffffffffffffff";
//–>
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Sorry, I have no knowledge of Html basic, so I can’t do anything about this. Please help me
on August 9th, 2007 at 1:45 pm
Hii,thanks for that clear explanation,
but it isn’t against adsense TOS.
http : //hottysexywood.blogspsot. com
on August 10th, 2007 at 4:46 am
thank’s for your info.
i try to make my blog body become part by par per each post. but still can’t
on August 11th, 2007 at 4:17 am
I just can´t find the
1.
2.
3.
on August 11th, 2007 at 7:46 am
The line number was added automatically by my wordpress plugin. You should remove those line number before inserting adsense script code
on August 14th, 2007 at 3:05 pm
I think this tool can help you guys. http://www.blogcrowds.com/resources/parse_html.php
Blogcrowds make this tools to parse your html to xml code
on August 22nd, 2007 at 7:35 pm
i use older blogger…
so helpme to insert adsense to oldest blogger body post
on October 1st, 2007 at 9:17 pm
Sklep komputerowy z tanimi czesciami komputerowymi:
sklep komputerowy
on October 9th, 2007 at 4:54 am
1 http://www.egoist.bg/forums/posting.php?mode=newtopic
on March 6th, 2008 at 3:33 pm
hi nice site thx
on July 6th, 2008 at 12:07 am
hi nice site thx man
on July 6th, 2008 at 3:34 am
Best Site good looking
on July 7th, 2008 at 10:06 am
gdfgdsfggdsfg your amateur pornstargals
on July 7th, 2008 at 2:39 pm
hgfhfghf amaturealbum
on July 17th, 2008 at 9:09 pm
Sorry, all anal galleries, =),
on July 18th, 2008 at 3:21 am
Sorry, anal itch severe night, mllw,
on July 18th, 2008 at 10:40 am
Cool site, http://sites.google.com/site/analcreampiemovies1/anatomy-of-anal-intercourse asian anal download videos sluts, 8D,
on July 26th, 2008 at 4:28 am
Thanks for the tips! Am about to try them out!
D.
on July 31st, 2008 at 10:53 pm
good site dude
on August 1st, 2008 at 4:58 am
gdfg hgfh hj ggdgfh fghjgf jdf hfg j youpornovideofree
on August 4th, 2008 at 5:31 pm
Cool site,
on August 8th, 2008 at 1:55 am
Hi I’m newby here, my site
on August 10th, 2008 at 9:32 am
Ciekawa strona, trafilem tu przypadkowo, ale od dzis bede wpadal czesciej, pozdro
on August 24th, 2008 at 5:14 pm
8aThank’s for greate post.6a I compleatly disagree with last post . tsb
ламинированный паркет 6x
on August 24th, 2008 at 6:18 pm
0iGood idea.8z I compleatly agree with last post. ain
ламинат 7g
on August 24th, 2008 at 7:29 pm
6jGood idea.7l I compleatly disagree with last post . xbq
паркет и ламинат 4b
on August 27th, 2008 at 11:09 pm
comment1, ïèñàþùèå äåòè ôîòî, 8PP,
on August 28th, 2008 at 11:46 pm
comment3, ïîëíî èçíàñèëîâàíèé áåñïëàòíî, 74088,
on August 29th, 2008 at 2:40 am
comment3, áåñïëàòíîå ïîðíî îðãàçìû, mivn,
on September 10th, 2008 at 5:57 am
Ciekawy wpis. Ostatnio zauważyÅ‚em, że przy przełączaniu na tryb MathML na mojej ulubionej stronie dla maturzystów http://www.zadania.info firefox siÄ™ wysypuje. Pewnie to podobny problem z xml’em.
on September 15th, 2008 at 6:22 pm
one cup
on October 4th, 2008 at 2:22 pm
comment6, keygen any dvd hd 6.1.9.3, puu,
on October 6th, 2008 at 11:58 pm
comment4,
on October 7th, 2008 at 12:27 am
comment4, singles 2 patch
, 100,
on October 11th, 2008 at 3:23 pm
comment3, bald patch rabbits hind quarters, :-]]],