
Creating google Adsense Code
Go to google adsense and create a custom ad with some simple steps. And parse this adsense code.
Parsing google Adsense code
Normal Google adsense code won’t work
with normal blogger template. So we need to change the html entities.
For this you should paste your google adsense code in the html parser
and convert it. Visit this page to parse your google adsense code.
Adding Google Adsense to Custom Blogger Template
Go to Template section in blogger
dashboard and navigate to edit html. After that check the expand widgets
option search for the below code
<b:if cond=’data:blog.pageType == "item"’><data:post.body/></b:if>
If you find the above code you just paste parsed google adsense code just before
<data:post.body/>
Then google ads will show only in post
pages after post header. To put google adsense after posts you should
add parsed google adcode after
Adding Google Adsense to Simple Blogger Template
In this kind of blogger templates where
custom read more options are not available. So you need to search
for<data:post.body/> or <p><data:post.body/></p>
And change parsed adsense code
<b:if cond=’data:blog.pageType == "item"’>
parsed adsense code
</b:if>
Replace parsed adsense code with your Adsense code
Paste the above code before or after <p><data:post.body/></p> to make it on above post or after post.
No comments:
Post a Comment