• Resolved joesupport

    (@joesupport)


    When I enabled Cloudflare APO, my ads started only showing ~90% of the time.

    When you visit the below URL, there should be a ad, asking readers to sign up to the email list. It should be surrounded with a thin dotted line below the post author name and above the image of birds. This ad appears on most of the other posts.

    When I turn Cloudflare APO off, the issue resolves itself.

    I am also using Autoptimize.

    The “Mode” for all ad groups has always been set to “Default – Show one ad at a time”

    I have replicated the issue on Safari & Chrome in both iOS and MacOS.

    I am using the Pro version

    Is there a simple way to resolved this issue?

    • This topic was modified 1 month, 4 weeks ago by joesupport. Reason: more detail
    • This topic was modified 1 month, 4 weeks ago by joesupport.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arnan de Gans

    (@adegans)

    I don’t know what Cloudflare APO is, but if you look at the Page source at the location you describe there is a group 13 that loaded advert 136. Or, it tries to anyway.

    The advert appears empty. A few paragraphs down the page there is a sidenote text ad, Group 1, that does work.
    Maybe the missing ad is indeed ‘missing’, and not set up properly?

    You can kind of check this by editing the ad and making sure the preview works. If not, there is something wrong with the adcode.
    If it does work, but it still won’t show up consistently, the schedule can be wrong. Check the schedule settings in Manage Schedule for any weird stuff, match it with a working ad’s schedule for example.

    Thread Starter joesupport

    (@joesupport)

    Hi Arnan,

    Thanks for you reply and help with checking the issue.

    Cloudflare APO caches your website on Cloudflare’s network, both static and dynamic content. It caches about 97% of my site, up from ~50% from before I enabled it. You can read their marketing of it here: https://www.cloudflare.com/application-services/products/automatic-platform-optimization/

    Maybe the missing ad is indeed ‘missing’, and not set up properly?

    I honestly don’t think so…It works just fine when I preview it in the Adrotate Pro editor and when I check it in a browser where I am logged into wp-admin. It also worked just fine without Cloudflare APO activated. Also, the schedule has no issues.

    If you visit most other posts on the site, the ad loads fine.

    Could it be that the site is being cached too aggressively? If so, is there a way to exclude AdRotate ads from being cached?

    Plugin Author Arnan de Gans

    (@adegans)

    But the code is missing from the first group, as I mentioned in my previous message.
    Caching just caches stuff and then ignores any changes until the cache refreshes – So 3 ads in a group would only show one, for example.

    The missing code suggests a configuration error in the advert (eg, no output because of that) or some kind of content blocker is stripping out the code.

    Then on the other hand, if it works without the CF cache active… Logically it’s a caching issue.
    Try emptying their cache and see if something changes then. If the ad appears for example.

    At any rate AdRotate has support for Borlabs Cache and W3 Total Cache. Both support a thing called Fragmented caching which lets you exclude bits of the site from caching – Ads in this case.

    Check out this manual to see how to set up the plugins for that to work; https://ajdg.solutions/support/adrotate-manuals/caching-support/
    Personally I prefer Borlabs cache (https://borlabs.io) as it’s much easier to set up.

    Thread Starter joesupport

    (@joesupport)

    I tried emptying the cache, but no luck.

    I’ll check out both these plugins. Thanks Arnan!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.