This will explain how to Embedd adsense ads in between posts body. How To Insert Adsense Ads In Blogger Post
1.Generate Parsed code for adsense code because we cannot put adsense code directly in the xml.So parse it using AdParser.
2.After parsing,your ad code Should look like this.
How To Place ad above or below your post header
log in to your dashboard--> layout- -> Edit HTML
Click on "Expand Widget Template" and scroll down to where you see this:- How To Insert Adsense Ads In Blogger Post
<div class='post-header-line-1'/>
To place ad above your post header.Paste the code above this line.
To place ad below your post header.Paste the code below this line. How To Insert Adsense Ads In Blogger Post
How To Place ad end of your post body
log in to your dashboard--> layout- -> Edit HTML
Click on "Expand Widget Template" and scroll down to where you see this:- How To Insert Adsense Ads In Blogger Post
<p><data:post.body/></p>
Paste the code below this line, to show your ad at the end of your post. How To Insert Adsense Ads In Blogger Post
NOTE : To Set the Align of your ad , Insert your code like this. How To Insert Adsense Ads In Blogger Post
<p align="center"> Your Ad code
</p>
Replace "center" with "left" or "right" for desired alignment. How To Insert Adsense Ads In Blogger Post
0 ความคิดเห็น:
Post a Comment