Advertisement
Google AdSense ads are not showing after page refresh
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Jul 24, 2024 11:15 am
Google AdSense ads are not showing after page refresh
Hi, first of all, this is not our site and I recently started working as a IT support, that's why I'm still figuring out a lot of things. So, sorry if I can't provide all the needed information.
A client of our firm has reached out to us to help with Google AdSense ads not showing up on his page. What we've noticed is that they do show up the first time you visit the site and consent to cookies. First refresh of the page and they disappear until you don't clear the browser's cache. I definitely know it's not an issue on my side, my colleagues have looked into it and they have the same issue.
Ads code are inserted into a module. Browser console, Joomla debug doesn't show any errors at all. So I'm at a loss here why it happens.
We don't have access to client's AdSense account, but if really needed, we might ask for it or at least look into it with him remotely.
Joomla version is 2.5.28
Site in question: de2.lt
Thank you in advance!
A client of our firm has reached out to us to help with Google AdSense ads not showing up on his page. What we've noticed is that they do show up the first time you visit the site and consent to cookies. First refresh of the page and they disappear until you don't clear the browser's cache. I definitely know it's not an issue on my side, my colleagues have looked into it and they have the same issue.
Ads code are inserted into a module. Browser console, Joomla debug doesn't show any errors at all. So I'm at a loss here why it happens.
We don't have access to client's AdSense account, but if really needed, we might ask for it or at least look into it with him remotely.
Joomla version is 2.5.28
Site in question: de2.lt
Thank you in advance!
Advertisement
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Jul 25, 2024 9:53 am
Re: Google AdSense ads are not showing after page refresh
Ensure that the AdSense code is correctly placed within the Joomla module? Incorrect placement or modifications to the code might cause issues.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Jul 24, 2024 11:15 am
Re: Google AdSense ads are not showing after page refresh
charlotte34 wrote: ↑Thu Jul 25, 2024 9:56 am Ensure that the AdSense code is correctly placed within the Joomla module? Incorrect placement or modifications to the code might cause issues.
Code: Select all
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3863486738647324" crossorigin="anonymous"></script>
<!-- Homepage Leaderboard -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-3863486738647324"
data-ad-slot="9199027095"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
-
- Joomla! Champion
- Posts: 6353
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: Google AdSense ads are not showing after page refresh
I had a situation similar to what you are describing, it turned out I had forgot to disable my add blocker in my browser?
https://gadsolutions.biz Electrical services
https://electrical-testing-safety.co.uk Testing services
https://electrical-testing-safety.co.uk Testing services
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Jul 25, 2024 9:53 am
Re: Google AdSense ads are not showing after page refresh
Is your site approved by Google AdSense? Another possible reason could be that the ads.txt file has not been uploaded. Additionally, try using a VPN to check if the ads are displaying.checkinindza wrote: ↑Fri Jul 26, 2024 5:52 amcharlotte34 wrote: ↑Thu Jul 25, 2024 9:56 am Ensure that the AdSense code is correctly placed within the Joomla module? Incorrect placement or modifications to the code might cause issues.Seems like it's fine.Code: Select all
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3863486738647324" crossorigin="anonymous"></script> <!-- Homepage Leaderboard --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-3863486738647324" data-ad-slot="9199027095"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Jul 24, 2024 11:15 am
Re: Google AdSense ads are not showing after page refresh
Well, I do have uBlock Origin installed on my main browser (Edge). But to make sure it isn't affecting anything, I tried different, clean installed browsers (Firefox, Chrome) and result is the same.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Jul 24, 2024 11:15 am
Re: Google AdSense ads are not showing after page refresh
Hmm, can't tell. Still waiting on clients response if it would be possible to check his AdSense account, but ads.txt file is definitely uploaded.charlotte34 wrote: ↑Mon Jul 29, 2024 9:08 amIs your site approved by Google AdSense? Another possible reason could be that the ads.txt file has not been uploaded. Additionally, try using a VPN to check if the ads are displaying.checkinindza wrote: ↑Fri Jul 26, 2024 5:52 amcharlotte34 wrote: ↑Thu Jul 25, 2024 9:56 am Ensure that the AdSense code is correctly placed within the Joomla module? Incorrect placement or modifications to the code might cause issues.Seems like it's fine.Code: Select all
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3863486738647324" crossorigin="anonymous"></script> <!-- Homepage Leaderboard --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-3863486738647324" data-ad-slot="9199027095"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Sep 01, 2024 3:34 pm
Re: Google AdSense ads are not showing after page refresh
I have the same problem, is there a solution?
Advertisement