Adsense For Blogger: Insert Adsense Code Under Post Title


Adsense for Blogger: The commonplace to insert Adsense code is on the header, on the sidebar, under post's title, on the middle of posts and after post.

In this post, I will show you how we can insert Adsense code under post title and at the end of the post in blogger based blog.

Actually, there is an option on the blogger that we can use to insert Adsense on the sidebar and below post, but I need to put under post title which there is no option to this.

adsense for blogger
On some theme, we can use ads option and just put the Adsense code there. Unfortunately, my theme doesn't have that luxury, I couldn't find it on the template's manual and in the option, so I have to edit the template manually.

Before editing your theme, you have to make a backup of current working theme in case anything bad happen after changes, you can restore it quickly.

Backup your current working theme first by click Theme on the left section, then click Backup/Restore button, click Download theme button.
google adsense

Now edit your theme by click Edit HTML button.
earning from google

On most blogger theme you will need to find code <data:post.body/> and put the Adsense code after that code. You will found several <data:post.body/> code in the theme, which code is the correct place to insert the Adsense code? You have to try one by one. In my case I add text ads1, ads2, ads3 and so on for every <data:post.body/> I found.

On this theme I found Ads2 after post. Then I replace with adsense code and delete Ads1, and Ads3.
To insert Adsense code into blogger theme you have to convert it first otherwise it will not work, I am using this tool to convert the Adsense code to make it work.

I still cannot found the correct place to insert Adsense code under post title on my theme. After looking for some times, I try to test the location by putting Ads1, Ads2, Ads3 again and finally I found after code <b:else/>

how to add ads to your website

Now I have 2 working ads after post title and after post content.
how to use adsense


OK that's it for now, I hope now you can implement the Adsense code on your own blogger theme, cheers.


Adsense For Blogger: Insert Adsense Code Under Post Title Reviewed by Yunar Winardi on May 09, 2019 Rating: 5

No comments:

Powered by Blogger.