Forum Moderators: martinibuster

Message Too Old, No Replies

Google ads showing display:none

Ads are appearing then disappearing?

         

Dudeseank

12:44 am on May 19, 2021 (gmt 0)

5+ Year Member



Hello everyone
I am having a bit of trouble figuring out why my ads are appearing some days, then disapearing other days.
I have set up a pretty simple HTMl/CSS custom site to practice code with the intention also makng a tiny bit of pocket money with ads.
Got everything set up, have had the site with ads running for a few weeks, got about 80 in my balance.
My dashboards shows no warnings about anything, but when i check my site all the ads are not there and when I inspect through dev tools they have display:none applied to them? I have checked my code and they all have the native display: block.
Have been googling around for a few hours but cant seem to find out the issue.
Any help would be appreciated!


[edited by: not2easy at 1:10 am (utc) on May 19, 2021]
[edit reason] Please see ToS [webmasterworld.com] [/edit]

NickMNS

1:10 am on May 19, 2021 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



One possible cause is that you haven't set a height or width for the parent div and thus the ad-code cannot determine what size ad needs to be displayed. If I'm not mistaken, there should be an error logged in the browser console alerting you to this issue. Have you checked the console for error?

not2easy

1:41 am on May 19, 2021 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hi Dudeseank and Welcome to WebmasterWorld [webmasterworld.com]

Sorry for the snip there, but we do not do site reviews here, we prefer to educate webmasters to make their own judgements, rather than discuss specifics of any site.

We'll try to help without disturbing your privacy.

IanTurner

5:01 am on May 19, 2021 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I have also seen this happen when an Adsense experiment is running.