• Resolved ykc12

    (@ykc12)


    I have a problem with minimized Google Adsense. Google Adsense ads only appear with the Google Clousure Minimized Compiler (Web Service), but Narcissus offers better speed results, the problem is that when using Narcissu or any other, the Google Adsense code is removed. thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ykc12

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Are you using any other caching/minify plugin?
    Can you please share your website URL? Does the issue only happen with Minify enabled?
    Thank you

    Thread Starter ykc12

    (@ykc12)

    Good morning, thank you for answering.
    No, I don’t use any other add-ons. Cloudflare only but I have the minify option disabled.

    Currently W3 Total Cache I have it set to “JS Minimized: Google Closure Compiler”, which does not block Google Adsense.

    Personally I like the option “JS Minimized: Narcissus”, because it yields better performance, the problem is that when I activate it I lose Google Adsense, the same goes for the other options available in the “Js Minimize”.

    The only one that hasn’t given me problems is Google Closure Compiler although it doesn’t yield such good performance of the site.

    https://www.ykcg.info
    https://www.dragoit.com

    Thank you for providing those website URLs! Our team is looking into this now and we will let you know when we get it sorted out.

    Thread Starter ykc12

    (@ykc12)

    In the first URL unfortunately I had to remove the plugin momentarily.

    But the second URL https://www.dragoit.com
    still follows the active plugin, I also just activated the settings I had mentioned that they gave problems.
    JS Minimized: Narcissus

    I’ll leave these options on for a day or two.

    I tried to clear the browser cache, From Cloudflare, from the W3 Total Cache tool, but it still doesn’t show me the ads.

    The browsers where I did the tests are as follows:

    I tested on Windows 10 for browsers: google chrome, Firefox.

    On Android Firefox and Edge.

    Thanks for the help.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ykc12

    Thank you for the information.
    Just to confirm, the issue does not occur only when JS minifier: is set to ” Google Closure Compiler” and with all other minify methods the issue persists?
    Thank you!

    Thread Starter ykc12

    (@ykc12)

    It’s correct, with “Google Closure Compiler (Web Service)” the problem doesn’t happen.

    The problem only happens with:

    JsMin (Default)
    Google Closure Compiler (Local Java).
    Narcissus.
    YUI Compressor.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ykc12

    Thank you for the information. Can you please disable minify and share if you have any JS errors in the console? Also, please check for the JS errors in the console when those minifiers are enabled.
    Thank you!

    Thread Starter ykc12

    (@ykc12)

    If I disable Minify in the General Settings, it doesn’t give me any problems with google Adsense.

    But if I activate Minify in the general settings and go to the Minimize menu > JS >
    JS minimizer configuration.
    And disabled the option from there, the error continues Google Adsense.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ykc12

    Thank you I understand that. Do you have any JS errors in the console when minify is disabled?? Also, please check for the JS errors in the console when those minifiers are enabled.
    Thank you!

    Thread Starter ykc12

    (@ykc12)

    No, there’s no mistake. He also doesn’t throw error messages to me or anything like that.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ykc12

    When I inspect the https://www.dragoit.com/ I can see that there are some “Uncaught ReferenceError: jQuery is not defined” errors.
    I can also see that the Rocket Loader is enabled. Can you please disable the Rocket loader and check the console again?
    Thank you!

    Thread Starter ykc12

    (@ykc12)

    Good morning, I have disabled Rocket Loader, even modify CloudFlare to development mode, however, the problem with Google Adsense persists.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ykc12

    As stated before, you have some JS errors in your console. Please disable minify and purge the cache. Check for the console for errors and you need to fix those errors in your code before using minify. Otherwise, it tends to make problems worse.
    Thank you!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Error Google Adsense’ is closed to new replies.