Page Level Ads as AdSense calls it, is the next generation ads for mobile device. Why? because it is optimize to for mobile internet surfers only. And because ads from the Page Level ads code does not appear always, users tend to interact with it more, for they will feel it is recommendation from the website they are surfing.
The advantage of using Page Level ads on your blog is numerous, but as you may know, if you are a blogger using blogspot blogging platform, implementing this code can cause you head ache, because blogspot template editor will keep giving error when you try to save your template after you have added to code.
Does this mean that there is not you can do about this? Of cause there is. If you are a frequent reader of this blog, you will notice that our Page Level ad is working well, and this blog is created using blogspot.
So how did we go about implementing the Page Level Ad code to our blogspot template?
You will notice that AdSense Page Level ad code looks like this
It means that, instead of the script tag to be
It will be
If you still do not understand the explanation on how to successfully add the Page Level Ad code to your blogspot template above, then just copy the code below and paste it your own template, but change the AdSense publisher ID number which is ca-pub-0771625264589778 to yours.
Also Read:
The advantage of using Page Level ads on your blog is numerous, but as you may know, if you are a blogger using blogspot blogging platform, implementing this code can cause you head ache, because blogspot template editor will keep giving error when you try to save your template after you have added to code.
Does this mean that there is not you can do about this? Of cause there is. If you are a frequent reader of this blog, you will notice that our Page Level ad is working well, and this blog is created using blogspot.
So how did we go about implementing the Page Level Ad code to our blogspot template?
You will notice that AdSense Page Level ad code looks like this
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>and that the problem why you are receiving the error when you are trying to save the template is because of the first script tag.
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-0771625264589778",
enable_page_level_ads: true
});
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>thus to fix the issue blogspot template is having with that script tag, you need to add
='async'to the a async property in the tag.
It means that, instead of the script tag to be
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
It will be
<script async='async' src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
If you still do not understand the explanation on how to successfully add the Page Level Ad code to your blogspot template above, then just copy the code below and paste it your own template, but change the AdSense publisher ID number which is ca-pub-0771625264589778 to yours.
<script async='async' src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-0771625264589778",
enable_page_level_ads: true
});
</script>
Also Read:
- Fix: AdSense App Is No Longer Synchronizing | AdSense Android App
- Why Are There No Overlay On Ads In My Site After I Installed The AdSense Publisher Toolbar In Chrome?
- Two Ways To View Your AdSense Page-Level Ad Reporting
- Small Blue Triangle On An Ad Does Not Mean It Is Google Ad (AdSense)
- Two Ugly Facts About Advertising Networks (AdSense)
Team +Pinfoltd
This comment has been removed by the author.
ReplyDeleteAs of the time of posting, there was not article on your blog that the credit link will link to.
DeletePlease forgive me.
When you create a post explaining how to do the page-level ad thing, send me the link so that I can create a credit line that is linking to it...
#Pinfoltd
Mmmm
ReplyDelete