RANSBIZ. Powered by Blogger.

Top News

Sponsored Links


In the last post we saw the two types of page level ads. Today, we will see how to display these ad types on your website . Most site viewers today are using mobile devices. It is very  important for every publisher to optimize his/her site for mobile and display mobile ads  in order  to maximize earnings.
In  this post we will see how to enable  the new page-Level ads on your website.

You might like this ;



             Enabling Page-Level Ads on your website

  Step 1: Login into your Adsense account
You might see a screen like the one in the screen shot.
click on Test and proceed to step 2.
 If you cannot find this then
Click on ''My ads'' tab  at the top bar. You should see Page-level ads displayed on the Left side bar, just below''Ad units'' Click on it and proceed to the next step

step 2:
 Decide which Format you want to show on your website. We have vignette format with show on full screen and Anchor ads which stick to the edge of your  the screen.


Once you have decided, enable i as on the screen shot below.




   Step3: Scroll down and click on get code

Copy   your ad code that look like this

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


Copy the code and and search for the  <head>  tag  in your HTML.
paste the code inside this tag   i.e anywhere below the  <head>

You can also copy the code and paste in above  <body>

Just put it on the page where you want to display your  adsense ads.

STEP4: 
Save the code   new settings and check if code is wirking by typing domian name followed by #googleads. E.g www.ransbiz.com#gogleads.
tag.


If it is working you can go and take some pizza,come back and keep content coming to your visitors and who knows you can just be the adsense Top earner.
Hope you enjoyed the tutorial.

This post Might be of helpful if you find  an Error message:


<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Link Ad Website Footer --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-3943253605667296" data-ad-slot="2889015365" data-ad-format="link"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>