thestubborndev thestubborndev - 1 year ago 101
HTML Question

Adsense ads not appear

I have a website that runs on Apache2 and has code in PHP and JS + HTML.

Link to site:

This is the code of my ad unit:

I have an approved Adsense account that already was showing ads and getting revenue since months.

I created an Adsense ad unit and placed it on that website but it is not appearing.

If it can be useful, my account is not banned neither I use an adblocker.
Also ads work when tested in Adsense sandbox here:

<script async src="//"></script>
<!-- 728x90_leaderboard -->
<ins class="adsbygoogle"
(adsbygoogle = window.adsbygoogle || []).push({});

What can be the problem? There are no errors showing in debug console.

Thank you in advance.

Answer Source

remove async then try! like:

<script class="cc-onconsent-inline-advertising" src=""></script>
    <ins class="adsbygoogle"
(adsbygoogle = window.adsbygoogle || []).push({});

You can also follow this link: