Tuesday, February 14, 2017

How to Add Google Adsense Code Correctly Before and After Approval!?

Loading...
Blogging stuff could be really easy if you'd find all useful tips right away, but most of the times you need to search many online tutorials, which sometimes omit to add very important explanation. To make blogger's life easier, here is a simple step you need to make with your adsense code on your blog, in order to work properly.
How to add Google Adsense Code Correctly in your Blog Before Approval:

After you created an account in Google Adsense 
you would be provided with code you need to paste into the head of your blog.
You followed the steps but after you saved your template in blogger, upper line showed error parsing async should be followed by marks.

Now what you actually need to do is a little modification to your adsense code, which is very simple, and once you have done with this one, all other codes should be modified on the same way.

Go to your Blogger, Layout and Edit Html Template
Click on Ctrl+F to get search box, and type <head>
You will Get <head> mostly marked with yellow color, here is how it looks:

<html>
<head>
This is the head of your page.
<title>Example HTML page</title>
</head>

 
Just below the <head> insert your Google Adsense code and Save Template.
Now you will see an error showing up, red marked, with an information that async element should be followed by other marks.

Regular Adsense Code begins like this:

 <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

Now you need to ad the same element with these marks as to get Adsense code correctly working in your Template:

 <script async="async"src="/

Modified Adsense Code now will look like this:

<script async="async"src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

Save the template again and you will see no error showing, meaning that you successfully  added your adsense code in the head of your blog.

Now that you have learned how to add your adsense code correctly ,after approval you will have to repeat the same modification process, with each adsense code, when applying in blog's template or in any Html gadget, in order for adsense ads to work properly.


Google Adsense is the most popular ads program to monetize your blog and website. Adsense perfectly works with other Ads programs such as Infolinks, Chitika, Media.net, Native Ads, which are very common in use by the beginners.

 Also check up on Google Adsense Support for more Questions and Answers.

Follow Google Adsense on Twitter

Also Read : Add Custom Google Search to Your Blog

 Image Source

Author:

Social Media News,Bizz,Life and Entertainment.

0 comments: