• Resolved Sanjeev Aryal

    (@sanzeeb3)


    Hey, I’m using auto ads which are only appearing when logged in.

    When logged out, auto ads aren’t appearing.

    Is there anything to check for?

    Ideally I want the opposite of what’s happening currently.

    Thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Sanjeev Aryal

    (@sanzeeb3)

    It looks like Loading JS Deferred is causing the issue.

    Is there any way to use auto ads when also using the “Load JS Deferred” option?

    The ad that is not auto (added via custom script) seems to work fine with deferred JS as well.

    Thank you.

    Plugin Support James Osborne

    (@jamesosborne)

    Hi there @sanzeeb3,

    When visiting your website I can see ads being served, while not logged in of course.

    It looks like Loading JS Deferred is causing the issue.
    Is there any way to use auto ads when also using the “Load JS Deferred” option?

    Are you using a third party plugin to apply this? If so let me know and I can take a look. It may be possible that there is an exclusion option, which could potentially be applied for ads. While it will ensure ad code is not deferred it may allow ads to appear as normal.

    For questions on changing the behavior such as deferring ads, and whether this is accepted AdSense policy you can also ask the product experts over at the AdSense Help Center.

    Thread Starter Sanjeev Aryal

    (@sanzeeb3)

    Hi @jamesosborne,

    Thanks for looking into this. I just disabled “Loading JS Deferred” to fix the issue. I’m using the Litespeed cache plugin for this. https://d.pr/wWrEPC.

    I’d like to exclude the ad code from being deferred instead of disabling the option altogether.

    Plugin Support James Osborne

    (@jamesosborne)

    Hi @sanzeeb3,

    In that case let me take a look and see what I can find out. I’ll report back to you here at some stage today after checking out the same configuration.

    Plugin Support James Osborne

    (@jamesosborne)

    hi @sanzeeb3,

    It looks like Litespeed cache do provide an exclusion option for deferred JS (Litespeed Cache > Page Optimization > Tuning > JS Deferred Excludes).

    You can add the adsbygoogle.js option within that field to ensure your ads are not deferred.

    As this is a third party plugin configuration you may wish to confirm your setup with the Litespeed cache team.

    Let me know if you have any further questions with the above, and happy new year.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto ads when logged out’ is closed to new replies.