Archived topic
Ads are not displayed on my website
9 replies · Started by Jesus on November 26, 2020
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 .
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
and how can I disable that option?
Go to the Autoptimize settings and uncheck the Optimize Javascript code
https://docs.generatepress.com/article/configuring-autoptimize/
ok I have already deactivated it, now what do I have to do?
Are you using any other Cache Plugins or server side caches?
I'm using the Cache plugins:
- W3 Total Cache
- Autoptimize
Can you temporarily disable both Plugins so i can see if that is causing the JS error
They are already deactivated, to see if it has already been fixed
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.