• Resolved Andrewa

    (@lyfcure)


    hello,
    my ads are not showing finely when i activate the autoptimize. as i deactivate plugin ads started showing up and on activating ads doesn’t work properly or show 2 or 1 or 3 ads while i’m using 5 ad code in a page.
    so, tell me that How can i exclude ads caching from Autoptimize?

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hey Lyfcure;
    First and foremost try to identify what is breaking your site by just disabling CSS or JS optimization. Once you know that, dive in and try identify what code/ files (CSS or JS) are responsible for the broken feature and try excluding that. If the problem is with JS, chances are you’ll find useful information on your browser’s developer console. There’s more info in the troubleshooting tips and info on exclusions in the AO FAQ.

    hope this helps,
    frank

    Thread Starter Andrewa

    (@lyfcure)

    yip, the problem is with js. where could i find the codes/files that is responsible for broken feature to exclude.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Well, do you use a specific plugin to inject your Google Ads? Have you tried excluding that? Did you try unticking “also aggregate inline JS” (assuming you have that active)?

    Thread Starter Andrewa

    (@lyfcure)

    yes, i’m using advanced ads to inject google ads, and i didn’t enable “also aggregate inline JS”. and how could i exclude the plugin “advanced ads” being the part of caching.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    try adding wp-content/advanced-ads/ to the comma separated JS optimization exclusion list. also make sure you’re not using a plugin (or AO) to async or defer the google ads related JS.

    frank

    Thread Starter Andrewa

    (@lyfcure)

    Didn’t work for me. Will it take More hours to work perfectly with adsense or I have to exclude

      wp-content/advanced-ads.js

    Instead of

      wp-content/advanced-ads/
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Better ask Advanced Ads developer what needs to be excluded. I see in the code that he tries to take autoptimize into account, so it should work ..

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Just saw it was fixed as per this thread 🙂

    feel free to leave a review of the plugin and support here! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘adsense ads are not showing up’ is closed to new replies.