• Hi all,

    Sorry if this is the wrong place to post this. I couldn’t find any better place. I posted on Google’s own Adsense forum but no replies and good luck getting ahold of actually Adsense employees.

    I have been with Adsense for more than 10 years with no issues. I got a policy warning and the issue is “Encouraging accidental clicks: Layout +1 more issue”.

    After digging deeper, I found out Auto ads was placing ads in my Category pages. Each category page, has about 10 post intros, pictures and “continue” link. The ads were automatically inserted right between the intro and the “continue” tab.

    So I added page exclusion for all category pages and all pages under their sections.

    I then submitted my review request thinking by the time they get it, the Adsense system would have stooped showing ads on category pages.

    This was two weeks ago. I got an email today that my review was denied and I still have issues. And the sample issue page was one of those category pages. And sure enough, even though I have applied the “page exclusion”, das are still showing.

    What are my options besides disabling auto ads totally on my whole site?

    Is this a known bug within Adsense that somehow ignores page exclusions?

    This also got me thinking, maybe this is not auto ads, and it’s the 2-3 manual ads that I have placed. I use Genesis theme if that makes a difference and I have manual ads under single post titles and after nth pargra[ph within the body. So could this be those ads showing under the title of best in category pages?

    Example category page:

    I tried adding a condition to not display ads on category pages and that’s not working either. So I am lost.

    Thank you very much in advance.`

    • This topic was modified 3 years, 6 months ago by satrap.
    • This topic was modified 3 years, 6 months ago by James Huff. Reason: redundant link removed

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    As long as the manual ad code does not occur in the post excerpts which appear on archive lists, that is not the cause of your trouble. How to exclude the auto ads from archive lists depends on how the code is added in the first place. Ideally, ad code would be enqueued. The enqueue code could be modified to not do so when is_archive() returns true. Or the enqueued code could be subsequently dequeued when is_archive() returns true.

    The disadvantage of conditional enqueue is you’d likely need to modify existing plugin code which you didn’t develop. Not ideal. The dequeue approach thus is often better because dequeuing can be done from any plugin or child theme which you do develop yourself. You do need to determine the enqueued handle that was used in order to dequeue. Assuming the code was enqueued to start with, which isn’t a given.

    Excluding archive pages in AdSense seems like a good alternative, but I’ve no idea why it isn’t working for you. It’s kind of off-topic for a WP forum. But if anyone happens to have any practical AdSense exclusion advice, go ahead and reply here.

    Hi satrap & bcworkz,

    I cannot explain why it is not enough for AdSense to exclude those pages in the settings of your AdSense account.

    However, if you want to exclude the ad injection of the auto ads code (or any other code) into your archive pages, you might test Advanced Ads. Here, you can find a manual about embedding the auto ads code only on specific pages. Use the “archive: category” display condition instead of “specific pages”, and you will manage this task within minutes.

    This solution will only work if you remove additional injections of the auto ads code (currently, there are two that come from your theme).

    Best regards,
    Joachim

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stopping Adsense from displaying in category (archive) pages’ is closed to new replies.