• Resolved exhilawriting

    (@exhilawriting)


    Hi,
    Whatever I’m trying to do it seems like whenever I have wp-rocket enabled my ads are not displayed on mobile.
    I have no rotation in the ads and tried the client side insert mode.
    No luck…

    Note that the site is NSFW and wp-rocket is disabled at the moment (until issue will be resolved).

    Any help about the required configuration will be highly appreciated

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Spacetime

    (@spacetime)

    I believe this has nothing to do with Ad Inserter.

    I noticed javascript errors on your site:

    57068cfc56727d0d6caed9925a13b1fe.js:8 Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.

    The javascript file is very likely created by the cache plugin:
    https://www.exhilawriting.com/wp-content/cache/min/1/57068cfc56727d0d6caed9925a13b1fe.js

    It seems that your caching plugin joins javascript code from ads which use old method document.write.

    Try to configure caching without changing javascript codes.

    I am using WP-Rocket and the ads are working fine.

    You might want to clear the cache and check the setting in WP-Rocket not to enable cache for specific user.

    Just my thoughts, hope that helps.

    Plugin Author Spacetime

    (@spacetime)

    Are you still having issues?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No ads on mobile when using with wp-rocket’ is closed to new replies.