Add Google Adsense Html scripts in your Blogspot Blogger Template


Blogger HtmlWho doesn’t want to add some Adsense adsto their blog and make some bucks out of their content? And when Blogger has really made it easier to add Adsense Ads and monetize your blog’s content, I hope there’s nothing wrong to give it a try. Ok it’s up to you to decide whether you need to monetize your blog or not but I guess, most of you must be doing that. And do you know you need to keep on playing with the ads position to find out the spot for more earnings? But sometimes you face the problem to have your ads displayed in the right position you wanted to. May be you need to edit your blogger template in order to do that. So in this post, I wanted to include tips that will help you to display your Adsense ads in better position and thus increase you earnings.

If you are including your ads via gadget, you can simply follow the ways of adding a new gadget and select adsense ads to include ad in your blog.
But if you want to display somewhere in places where you cannot add gadget, then you may need to edit your template. This post will show you how to exactly do that. (Note: you may need to some basic Html skills, at least in order to identify the codes where you need to add the advertisement code)
1. Log in to your dashboard–> Navigate to layout –>Edit Html Tab
Blogger Edit Html
2. Before you edit your blogger Template, Make sure you backup every time, by clicking on the Download Full Template so that you may restore it if something goes wrong.
Backup Blogger Template
3. You may need to “expand Widget Templates”. To do that check the box and it will expand itself.
Blogger Expand Widget Templates
4. You should have got the Adsense code or other html that you want to add. And now you need to change the code. Otherwise you are gonna get error like
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
5. Ok so what you need to do is, Parse the Google Adsense Html or any other Html. To do that change the following characters to the given ones.

< – <
> – >
& = &
”= "
Found it complex and time consuming. Try this tool Escape Html from blogcrowds. Copy and Paste your Google Adsense or other code to the textbox in the tool and click on parse.
6. Now when you have got the parsed code, Paste that code to the specific place you need to display it. Now it should work perfectly.
If you want to display adsense ads inside your blogger post please go through this post Adding Adsense Ads in Blogger Posts.
I hope you enjoyed this. Stuck somewhere? Let us know in comments below and we will be happy to help.

2 comments:

  1. that was a very helpful post, but the problem is my adsense is not yet approved :( netgear n600 review

    ReplyDelete
  2. contect me for aproval.........
    +923458654414

    ReplyDelete

Meet The Author