Posts Learn Components Snippets Categories Tags About

How to Display Google AdSense Anchor Ads at the Bottom of the Page

Learn how to set Google AdSense anchor ads at the bottom of the page instead of the top of the page

Created on Jul 28, 2021


By default Google AdSense display the anchor ads at the top of the page, to change it to the bottom of the page you can make use of the "overlays" configuration like below.

overlays: {bottom: true}

Full Code Example
<script async src="" crossorigin="anonymous"></script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-1234567891234567",
    enable_page_level_ads: true,
    overlays: {bottom: true}

Do note that based on Google experiment, top anchor ads earn more than the one shown at the bottom of the page.

Snippets by

PostSrc poster


Full stack developer mainly focusing on the front end side of the web. The main author of PostSrc and loves writing tutorial and guides online.


PostSrc Code Components

Collection of Tailwind CSS components for everyone to use. Browse all of the components that's right for your project.

View Components

Other Code Snippets