Apr 26, 2017

How To Paste Google Adsense Site Verification Code On Blogger HTML

How to paste google adsense verification code on blogger is a question most bloggers asks at least once in their blogging life, this is because pasting the default adsense verification code on blogger html brings up an error stopping your site from being verified.

how to verify adsense account without pin
However, the best and working method of pasting  the google adsense verification code on blogger without bridging the policies of the network is what i want to show you now.

For your information, Google doesn't appreciate it when you edit or tweak any of their codes because it is against the program policies.
Also, there are ways you would edit or parse the html verification code and adsense may not be able to verify your ownership of the website.

Steps to put the google adsense verification code on blogger html correctly

Step 1: Copy the verification code from the adsense dashboard

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-123456789",
enable_page_level_ads: true
});
</script>

Step 2: Paste the code on a text editor

Step 3: Change async part on the code to async='async' as shown below

<script async='async' src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-123456789",
enable_page_level_ads: true
});
</script>

Step 4: Copy the code and paste on the "head" part of your blogger html, as shown below (not on layout - JavaScript widget).

<html>
<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-123456789",
enable_page_level_ads: true
});
</script>

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

Step 5: Save theme and you won't get an error, you have successfully and correctly placed the verification code and your site would be connected to google adsense soon.

Method 2:

This isn't anything different other than you don't have to paste the code on a text editor first but directly on your blogger html.
Then you change aysnc to async='async' as it is in the first method and save theme. That's all.

Hope you understood that? Please if you have any questions, do use the comment box.

SHARE THIS

Author:

Confy Scenty is a Unique Tech Blogger who's aim is to make an impact in Technology. Tech is my passion, it is my calling and am always happy to answer to it.

0 comments:

We Love Comments.......

Click +1 To Follow Us On Google+