My educational site is in Azerbaijani language and I use Google AdSense Auto Ads. But mostly Google can not find appropriate ads for my site and shows an empty space, squared gaps inside of my articles.
How to prevent it with CSS. I disabled auto ads by hiding inside of some containers. But this method hides Auto Ads at all. I need to hide only an empty block, when Ads are not translating but block appears.
So I hide Auto ads from the top of my pages with the following CSS rule:
body > .google-auto-placed{
visibility: hidden;
display: none;
}
As you see, there is an empty rectangle instead of ads after the "Search box". I want to hide it, when no ads are broadcasting