Sucuri and ads

This page contains information about potential conflicts when serving ads or using Advanced Ads on sites that use Sucuri as a Firewall.

Btw., wpadvancedads.com also uses the services of Sucuri.

Ads not showing up

If your ads disappear in general, please check your browser’s console and see if you can spot errors showing an HTML status code indicating Sucuri is blocking calls from Advanced Ads to the admin-ajax.php with 502 or 503 errors. To fix this, please reach out to your firewall admin or hosting provider.

Please also see “Outdated scripts” below since cached outdated scripts might break some features.

Outdated scripts

Sucuri caches all static files for three days. If you experience script issues then please see Clearing Cache in Sucuri.

The media library upload is broken

(reported on June 1st, 2020)

A user wrote that the Media library upload does not work when Advanced Ads is enabled. You can fix this issue by whitelisting the user’s IP address. We were not able to reproduce it, so it might just be a rare false positive.

Tracking not working

(reported in April 2021)

A user informed us that Sucuri was blocking calls to our tracking script. This could prevent all or some impressions and clicks from being recorded if the Frontend tracking method is used.

Sucuri confirmed this as a false positive and suggested that users add the following URL to the Sucuri whitelist:

/wp-content/ajax-handler.php

In addition, they told us this:

WAF Signature: Block ID: BAK024- Backdoor location denied

BAK024 happens when the user tries to access a PHP file deep inside some directory such as “wp-content/plugins/pluginame/something.php”, for instance. Usually, that’s where backdoors are stored so we block access to files directly on these directories.

Subscribe to our newsletter and get 2 add-ons for free!

* indicates required
Interests

The radius option for Geo Targeting does not work

The Radius option of the geo-targeting condition, as described here, might not work when Sucuri is enabled.

Make it better

Increase your ad management skills without spending more time.
Join over 150,000 publishers and AdOpts increasing their ad revenue.