How to show AdSense Anchor Ads in Top or Bottom?


How to show AdSense Anchor Ads in Top or Bottom?

When we use AdSense's Auto Ads, the Anchor ads show in the top in it hide the menu of our site/blog. Because of this, the visitor gets in trouble. That is why it is better to have this anchor add shown in the bottom. In today's article, I will tell you about how you can show AdSense Anchor Ads at the top or bottom.
Anchor ads are a dismissible ad to be shown at the top in the mobile screen, if you are a blogger and AdSense publisher then you will know about it well.
This anchor ad is displayed mainly on mobile, not on desktop. In such a situation, due to this, the mobile menu of the site becomes hidden and for that, the user has to first hide.
This affects the user experience, in which case you can show these ads at the bottom. The way we are telling you here.

How to show AdSense Anchor Ads (Auto Ads) in Top or Bottom?

When you use AdSense Auto Ads, the anchor ads show in the mobile device for the user to scroll up. If you want to show this ad at the bottom, then follow the steps given below.
To prevent Anchor ads from the top screen, you will have to modify the code of auto ads, do not worry, here we will tell you the method verified by Google (told by google).
By modifying AdSense Auto Ads, you will have to disable anchor ads from at the top, after that it will show in the bottom.
For this, you have to add these overlays: {bottom: true} in the code of AdSense Auto Ads. Something a bit like this,
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-1234567891234567",
enable_page_level_ads: true,
overlays: {bottom: true}

});
</script>

In this way, you have to include the highlighted parameter in the auto ads code.
And if you are not using these auto ads, then your new auto ads code has to be replaced in this old auto ad code.
You have to replace this code with the code mentioned above.
<script data-ad-client="ca-pub-1234567890123456" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

Note: - Be sure to replace your publisher ID.
Let us tell you that according to the experiments done by Google, the anchor ads have to perform better than displaying at the top of the user's screen.
That is why there is a possibility that by showing your anchor ads from top to bottom, your AdSense earning may decrease. But don't worry, it will not affect the performance of the remaining ad unit.
Here are some more articles that you should read,
If you like this information, then share it with other people as well.

Post a comment

0 Comments