Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Condition: You must have an active Adsense account.

1.

Sign In to your Blogger Account.


*You are going to change Html code of your template so must ensure
tobackup your template.

2.

Open your Blog you want to add ads to > Go to Template > Click Edit
Html.

3.

Now find <body expr:class=&quot;loading&quot; +


data:blog.mobileClass> and expand it if not expended. Now below
this find<b:widget id=Blog1 locked=true title=Blog Posts
type=Blog> and expand it too.

4.

Below this find <b:includable id=post var=post> with option to


expand. Click it to expand.

5.

Before using your Adsense code on blogger you need to encode it. You
can use http://htmlentities.net/ to encode Adsense Code.

6.

To put Adsense ad just below your post title find <div class=postheader-line-1/> and paste your encoded Adsense code
just above this.
<div class='post-header'>
<div class='post-header-line-1'/>
<center>your Adsense code</center>
</div>

7.

To put Adsense ads at the end of your post


content find <data:post.body/>and past your encoded Adsense
code below this.
<div class='post-body entry-content' expr:id='&quot;post-body-&quot; +
data:post.id' itemprop='description articleBody'>
<data:post.body/>
<center>your Adsense code</center>
<center>

8.

Now save template and refresh your blog post to see ads appear
below post title and at the end of all posts of your blog.

This way you can add any advertisement like chitika, bidvertizer etc inside your blog
posts.
If you enjoyed this article, please consider sharing it or leave a comment.

You might also like