Remove Google AdSense anchor ad on mobile

Hey friends,

I’ve been running ads on my Discourse install successfully for like two hours now so I’m very happy. I’ve got a problem, tho.

I’ve set up ads using AdSense. Everything seems to be working (excerpt for some ads that are not loading sometimes), but when navigating on the mobile version of the forum, I see this horrible anchor ad (that’s the name of it according to Google AdSense documentation) on top/bottom of my screen. I hate it, it’s visually much too intrusive.


:arrow_up: I don’t want this thing saying “Message de votre Ange Gardien” on my forum.

Any idea of how to take this sticky ad off ?

1 个赞

My nice and reliable friend helped me solving this (yes that was pretty fast <3).

Just go on google.com/adsense, then in Ads > Overview, click on Edit on the site you’re wanting to fix, and turn off AUTO ADS.

Changes can take some time to propagate on the website (it fooled me more than once).

Sorry for causing trouble :content: have a nice daayyy~~

5 个赞

You can add
overlays: {bottom: false}
In your Adsense script.

4 个赞

Oh, interesting !

I’m using the built-in AdSense module so it’s not how it works for me, tho.

But eh, thanks c:

3 个赞

How to off ads on our website for sometimes?

有没有办法让锚点广告与 Discourse 配合使用?我在 Google AdSense 中进行了一项实验,它可以将我的收入提高 50%,但它会覆盖回复按钮和其他烦人的故障行为,让用户感到不适,所以我不得不禁用它。