Site logo

[Support request] Ads are not displayed on my website

Home Forums Support [Support request] Ads are not displayed on my website

Home Forums Support Ads are not displayed on my website

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1548776
    Jesus

    Good morning, I am monetizing my website with adsense, the problem comes when the ads are not seen in all the articles, there are in some articles that are shown and in others that are not, so I do not know if it is the theme or what it may be .

    #1549258
    David
    Staff
    Customer Support

    Hi there,

    i am seeing a Javascript error in your console, which may be causing the ads not to load, as broken JS script stops over JS from being fired.

    Can you disable the JS combine/minify setting in your Cache plugin to see if that resolves the error.
    Leave it disabled if nothing changes so i can take a look

    #1549360
    Jesus

    and how can I disable that option?

    #1549369
    David
    Staff
    Customer Support

    Go to the Autoptimize settings and uncheck the Optimize Javascript code

    https://docs.generatepress.com/article/configuring-autoptimize/

    #1550707
    Jesus

    ok I have already deactivated it, now what do I have to do?

    #1551584
    David
    Staff
    Customer Support

    Are you using any other Cache Plugins or server side caches?

    #1551589
    Jesus

    I’m using the Cache plugins:
    – W3 Total Cache
    – Autoptimize

    #1551735
    David
    Staff
    Customer Support

    Can you temporarily disable both Plugins so i can see if that is causing the JS error

    #1554326
    Jesus

    They are already deactivated, to see if it has already been fixed

    #1555014
    David
    Staff
    Customer Support

    That has cleared the JS errors.
    You can re-enable your Cache plugins BUT – make sure that you DO NOT select the same settings in each plugin.

    For example if you’re Optimizing JS in Autoptimize DO NOT select the same setting W3 Total Cache.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.