Despite having run Adsense for nearly 15 yrs I feel like a noob having to ask a question as seemingly simple as this.
Previously I've run an ad above the fold, between the top nav bar and the page title. I had the container set to a fixed height of 120px and as far as I remember this worked. However, when I checked the site recently the responsive ad is spilling out of the container and over the content below.
So far I have set the container height in the CSS, set a max-height for the ad itself (.mob-top: max-height: 120px; <ins class="adsbygoogle mob-top"...) and have tried setting data-ad-format="rectangle".
None of this works. I don't get it - if it's all about UI surely Adsense should be encouraging smaller ads above the fold?! Also, I'm sure the ad doing this is breaking Adsense's own TOS.
On the plus side it doesn't seem to have affected revenue.
Any ideas? Thanks