How to Add Adsense Ads After First Post On Blogger Homepage
Among the several conditional tags available for blogger, one is specifically written to target the first post - a good position for displaying ads. And here's how you too can insert Adsense after the first post on your blogger blog:
The Steps:
- Login to Blogger Dashboard
- Go to Template > Edit HTML
- Find this line of code in your template
- Add the following code just below the code above
- Finally grab a suitable Adsense unit, parse it and add it to the code above
<b:include data="post" name="post">
<b:if cond='data:blog.pageType == "index"'> <b:if cond='data:post.isFirstPost'>---- Replace this line with your Adsense Code -----</b:if> </b:if>
That's it. You can now monitor the newly added ad unit for clicks.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment
Leave A Comment...