If you want to add Page-level ads on your site, follow below steps to activate them.
- Login Adsense Account >
- Go My Ads Tab >
- Content >
- Page-level ads (BETA).
- Vignette ads, like mobile full screen PopUp ads.
- Anchor/overlay ads, like Sticky ads, which show only at the top or bottom of your mobile screen.
- Turn on one or both of Overlay or Vignette ads options like below image. By default, they are both turned Off.
- After that scroll down and click the button which says "Get code"
- And copy your code.
- In your Page-level code, Replace the attribute async with async="async" OR Remove src which is showing after attribute async OR Encode Page-lavel code here
- If you don't make this change, when you save template will give you an error message like: Error parsing XML, line 1255, column 21: Attribute name "async" associated with an element type "script" must be followed by the ' = ' character.
- Now Login your Blogger Account
- Template >
- Backup your template >
- Then Click Edit HTML and search for this code: <head>
- Paste your Page-level code just after: <head>
- Now Save your template.
- In the address bar of your mobile browser, add #googleads to the end of your blog's URL. Example: www.bloggerissue.in/?m=1#googleads
- Select the ad format that you want to test from the tabbed box that will appear just above your blog body.
Post a Comment
Please write here your valuable comment.