How To Add Google AdSense Page Level Ads on Blogger (How to fix Error Attribute name "async" associated) - WAY2IT

Latest Post :

How To Add Google AdSense Page Level Ads on Blogger (How to fix Error Attribute name "async" associated)

How To Setup AdSense Page-level ads in BlogSpot ?

Page-level ads are a family of ad formats that offer a new and innovative way for you to monetize your content. With Page-level ads, you place the same piece of ad code once on each page that you want to show the ads. Once you've added the code, AdSense will automatically show Page-level ads at optimal times when they’re likely to perform well for you and provide a good experience for your users.

Key features :
  • They're simple to set up. With Page-level ads you only need to place the ad code on your pages once, and you put the same ad code on each page.
  • They're optimized. To ensure that you and your users get the most from this ad format, AdSense will only show Page-level ads when they’re likely to perform well and provide a good user experience.
  • It's easy to change Page-level ad settings. Once you've added the ad code to your pages, you can turn individual Page-level ad formats on or off from the My ads tab in your AdSense account. The ad code remains the same, even when you change your Page-level ad settings.

Ad Formats :

1) Anchor/overlay ads : Mobile ads that stick to the edge of the user’s screen and are easily dismissable

2) Vignette ads : Mobile full-screen ads that appear between page loads on your site and can be easily  dismissed by your users. 


Steps to Add Google AdSense Page Level Ads on Blogger


1) Login to Google Adsense & do following setting which is mentioned in bellow pic. (enable all ads. button which is mentioned in bellow pic. click on Get Code. now copy that code and paste it into theme which is mentioned in step no.4)



2) Now go to Blogger (Login to Blogger) > Template > Backup your template (in case if u did any mistake that time u can re upload your (backup) template )

3) In Theme section Click on Edit HTML Button. 




4) Paste your Page-level code just Below  head tag. 






5) Now click on Save theme. 

Done :)


Note : In your Page-level code, make one modification. 





if you don't make this modification, blogger will give you following error message.

Attribute name "async" associated with an element type "script" must be followed by the ' = ' character 



Test Page-level ads on your blogger template :
  • On your favorite mobile device, visit your blog to test Page-level ads.
  • In the address bar of your mobile browser, add #googleads to the end of your blog's URL. 
  • For example in our case: http://way2information-technology.blogspot.in#googleads
  • Select the ad format that you want to test from the tabbed box that will appear just above your blog body..

Done :)




Tags :
  • Attribute name "async" associated with an element type "script"
  • How To Setup AdSense Page-level ads in BlogSpot?
  • How to fix Error Attribute name "async" associated
  • Fix AdSence Code Error in 30 Seconds
  • How To Add Google AdSense Page Level Ads on Blogger
  • Attribute name "async" associated with an element type "script" must be followed by the ' = ' character