*

Andrey

  • ****
  • 157 posts
disable display of Adsense blocks of a certain category
« on: February 21, 2021, 03:55:28 PM »
Hello dear support.
How to disable display of Adsense blocks in ads of a certain category.
« Last Edit: February 21, 2021, 04:00:59 PM by Andrey »

*

Andrey

  • ****
  • 157 posts
Re: disable display of Adsense blocks of a certain category
« Reply #1 on: February 23, 2021, 05:26:36 AM »
I figured out how not to show Adsense banner blocks on pages of one or several categories

*

MB Themes

Re: disable display of Adsense blocks of a certain category
« Reply #2 on: February 23, 2021, 07:29:18 AM »
@Andrey
Cool, good solution would be to set unique ID on particular adsense block and then show it via CSS in categories it's not meant to be shown.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Andrey

  • ****
  • 157 posts
Re: disable display of Adsense blocks of a certain category
« Reply #3 on: February 23, 2021, 12:02:27 PM »
@Andrey
Cool, good solution would be to set unique ID on particular adsense block and then show it via CSS in categories it's not meant to be shown.
Yes, I did it by category ID and for all Adsense blocks on the ad page and search country in the "Dating" category, as Adsense swears for placing ad blocks on pages with such content.
« Last Edit: February 23, 2021, 12:34:10 PM by Andrey »