Title: Cloudflare compatibility
Last modified: September 2, 2019

---

# Cloudflare compatibility

 *  Resolved [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-compatibility-4/)
 * Hello,
    I have just installed and set up a group that contains two simple HTML
   adverts. The group is set up to split the ads 50:50. However when I visit my 
   site, only one of those ads is ever shown on the page I visit. I assume this 
   is due to the fact that I’m using Cloudflare with my site and therefore the initial
   output HTML is cached and Advanced Ads is reliant on PHP for ad generation/output?
   Is there a way that I can have the ad “dynamically” shown for the site via JS
   as opposed to relying on PHP for the ad generation, therefore bypassing “page
   caching” issues?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-compatibility-4/#post-11890217)
 * Hi Will Stocks,
 * thanks for reaching out.
 * You are correct assuming that we use PHP to deliver ads.
 * [Advanced Ads Pro](https://wpadvancedads.com/add-ons/advanced-ads-pro/) comes
   with Cache Busting, a feature that loads ads dynamically on cached websites. 
   It works with Cloudflare and any other caching systems.
 * Please let me know if you need anything else.
 * Best regards,
    Thomas
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-compatibility-4/#post-11890330)
 * Hi Thomas,
    OK, that’s good to know – thank you. I will bear this in mind. For
   the time being, I’ve implemented a vanilla js script to rotate the two ad units
   I have (they had equal weighting) and will consider Advanced Ads Pro as I expand
   my creatives, as I’d like to be able to ideally tie together ads displayed on
   a particular page (for instance, in a “sponsored” page/post, I’d like all ad 
   units to show for the company that sponsored that page/post) Thanks! Will
 *  Plugin Author [Thomas Maier](https://wordpress.org/support/users/webzunft/)
 * (@webzunft)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-compatibility-4/#post-11890365)
 * Hi Will,
 * > I’d like to be able to ideally tie together ads displayed on a particular page(
   for instance, in a “sponsored” page/post, I’d like all ad units to show for the
   company that sponsored that page/post)
 * I am not sure if this is just a comment or a question. If you want to display
   ads that belong together on multiple placements then maybe the [tutorial about roadblock ads](https://wpadvancedads.com/combine-ads-roadblock/)
   might help.
 * Best regards,
    Thomas
 *  Thread Starter [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * (@willstockstech)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-compatibility-4/#post-11890401)
 * Thanks Thomas! That definitely looks like what I’d plan to do! I will definitely
   be considering Advanced Ads Pro in the near future in that case.
    Thanks Will

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cloudflare compatibility’ is closed to new replies.

 * ![](https://ps.w.org/advanced-ads/assets/icon-256x256.gif?rev=2773443)
 * [Advanced Ads – Ad Manager & AdSense](https://wordpress.org/plugins/advanced-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-ads/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 4 replies
 * 2 participants
 * Last reply from: [Will Stocks](https://wordpress.org/support/users/willstockstech/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/cloudflare-compatibility-4/#post-11890401)
 * Status: resolved