Hi guys in this tutorial i am gonna show you how to add Google adsense ads below post tile and at the end of the post in blogger.When we start a blog or other platforms like Wordpress our first aim is to earn money through it.There are many ad medias like propeller ads media,chitika,infolinks and many more to earn income but among them the standard and every green media is Google adsense.
All of us know how to keep the Google ads in the sidebar using the javascript given by the google. Using the same code one cannot keep them directly in the template.So, let see how to place them.
5.In order to avoid this, replace
6.If your are confused see the image below.All of us know how to keep the Google ads in the sidebar using the javascript given by the google. Using the same code one cannot keep them directly in the template.So, let see how to place them.
Steps:
1.Go to Google adsense dashboard.
2.Grab your Ad code from the box as shown below.
4.Before copying the code into the template you need to change the script a little because if you use asynchronous code type and save template it will show a message that
"Attribute name "async" associated with an element type "script" must be followed by the ' = ' character."If you use synchronous code type and save the template and refresh your site page it will dsiplay nothing.
5.In order to avoid this, replace
- '<' with <
- '>' with >
<b:if cond='data:blog.pageType == "item"'>8.Replace the above code with the below code and save your template.
<data:post.body/>
<b:if cond='data:blog.pageType == "item"'>9. Finish.
"YOUR ADSENSE CODE HERE"
<data:post.body/>
That's it friends now enjoy keeping your ads below the post title.If you have any queries feel free to ask us through comments.



Comments
Post a Comment