Known Plugin Conflicts

The page contains information and possible solutions for conflicts between Advanced Ads, one of its add-ons and third-party plugins.

AJAX Load More Premium

See our hints in the Infinite Scroll tutorial.

Last checked: January 7th, 2021.

Autoptimize

The option “Also defer inline JS” in Dashboard > Settings > Autoptimize > JS, CSS & HTML prevents Advanced Ads scripts from being executed correctly. This can cause trouble with Cache Busting and Tracking.

To solve this problem, please consider using the “Aggregate JS-files” option instead.

BuddyPress

BuddyPress seems to set the post ID of some pages (e.g., the Activity page) to 0 which creates a few issues. See The current post ID is 0.

Complianz

Complianz and Complianz Pro cause a JavaScript error (Uncaught TypeError: Cannot read property 'placements' of undefined) if their option to connect with Google Ads/DoubleClick is enabled and the Popup and Layer ads add-on is activated at the same time.

To solve this problem, disable this option in Complianz > Integrations and use the privacy feature of Advanced Ads instead.

If  you see a console error that window.advanced_ads_ready_queue is undefined or Uncaught ReferenceError: advads_tracking_methods, please try adding the Advanced Ads script to Complianz’s whitelist.

You can do this by navigating to Complianz > Integrations > Script Center > Whitelist a script, iframe or plugin and adding window.advanced_ads as the URL/part of a script to block, or you specify the following scripts:

advanced_ads_pro_
advanced_ads_ga_uid
window.advads_passive
advads_tracking_adsCode language: JavaScript (javascript)

Delicious Recipes

The Post Types of this plugin don’t contain the the_content filter. So you can’t inject ads with the content placements there. Use the Custom Position placement or a manual placement instead.

Elementor

When an ad code uses JavaScript with document.write in it then the preview will not work and only show the ad. It would happen with any JavaScript, not just the one that might be managed through Advanced Ads.

If this bothers you then you can request an ad code without document.write from your ad network.

When both WP Recipe Maker and Advanced ads are activated, the error Failed to load plugin: advads_shortcode appears in Elementor.

Not a conflict between the plugin, but more about Elementor and some types of ad codes. Here, you can find a dedicated tutorial about how to integrate and layout ads using Elementor.

Facebook Instant Articles & Google AMP Pages by PageFrog

When using ads on AMP pages with the mentioned plugin, please uncheck this option to allow the content injection.

Force AMP compliance by removing other plugins/functions from AMP pages

Go Pricing – WordPress Responsive Pricing Tables

The Go Pricing plugin is broken, causing ads to be saved as WordPress posts. It also caused a lot of other issues unrelated to Advanced Ads on the site we saw it on. The developers make it impossible for non-customers to reach them and help with a solution.

Gravity Forms

When the no conflicts mode is enabled in the Gravity Forms settings then there might be a conflict with our shortcode button. You can either uncheck that option, or disable the shortcode button using this constante.

A user also reported that Gravity Forms causes not all ads to show up on the ad overview page.

GT Shortcodes

  • conflict between JavaScript libraries in the dashboard leads to the wrong format of form fields – but doesn’t seem to affect features.
  • some JavaScript conflict in the frontend prevents centering and fixing Sticky ads properly.

jQuery Pin It Button for Images

If you see Pinterest buttons above image ads add the following lines of code to your theme’s functions.php.

/**
 * prevent Pin It Button on image ads when https://wordpress.org/plugins/jquery-pin-it-button-for-images/ is installed
 */
add_filter( 'advanced-ads-ad-image-tag-attributes', 'advads_prevent_pin_it_button' );
function advads_prevent_pin_it_button( $attributes ){
	return $attributes . " class='nopin'";
}

You also need to make sure that nopin is added to the Disabled classes option in Selection settings, which it is by default.

Linker

If you are using the Linker plugin, the search function on the ad overview page under Advanced Ads > Ads is broken. The developers are informed, but have not yet responded to the problem.

As soon as the NextGen Gallery plugin is active, no more ads are displayed in the Post List Placement. This issue also affects the AdSense in-feed placement. The NextGen developers have been informed about the problem. We are waiting for them to solve this issue that Advanced Ads does not cause.

PHP Compatibility Checker

The PHP Compatibility Checker might not be able to scan Advanced Ads completely. This is true for many other plugins and mostly depends on your setting and hosting. You can read about possible solutions in their FAQ.

We check Advanced Ads for PHP 5.6 and various 7.x versions before a new release and fix undiscovered compatibility warnings quickly when reported.

PeepSo

The PeepSo Ad Stream placement is not compatible with the Advanced Ads tracking, and neither clicks nor impressions are recorded. The tracking works as expected on all other placements, e.g., in the sidebar next to the activity stream.

Real Cookie Banner

The Real Cookie Banner plugin is not compatible with Advanced Ads. We recommend using another privacy plugin instead.

Relevanssi

Relevanssi optimizes the WordPress search. To hide ads within the search or break some other ads on that page, you should exclude ads, (ad groups and ad authors) from being considered in the search results.

Relevanssi allows you to enable indexing and search for custom post types. This could break the search for ads under Advanced Ads > Ads. To solve this, disable indexing of the advanced_ads post type, advanced_ads_groups taxonomy and enable the option “Respect exclude_from_search”. (verified on May 30, 2020).

Shortcodes Anywhere or Everywhere

Using the option for injecting shortcodes to widgets, site title/description, and post/page custom fields might stop Advanced Ads from working correctly.

Smush

The integrated lazyloading option of this plugin can under certain circumstances cause Advanced Ads to no longer display image ads in some placements.

This problem occurs when you enable the Smush lazyloading and activate the Advanced Ads lazyloading on sidebar placements. In this configuration, ads on widget placements, pop-up placements, and custom position placements are not showing-up.

If you need the Smush lazy loading feature, we recommend either

  • disabling this option for specific locations in the Smush settings
  • disabling the option for particular file types in the Smush settings, for example, disable it for PNG files and convert your image ads into this format
  • disabling the Advanced Ads lazyload for sidebar placements

Social Warfare

This plugin might add a Pin it button to your image ads if you have that feature enabled. A user reported that there is an option to disable that button.

Swift Performance

There is a conflict with the plugin Swift Performance (Lite and Pro) regarding the ads.txt. If you want to use the ads.txt feature from Advanced Ads, please disable the “Minify HTML” setting of the Swift Performance plugin to ensure that Advanced Ads can create the file successfully.

The Events Calendar

The plugin can show the following message:

The Ad “AD TITLE” uses the “events” slug: the Events Calendar plugin will show its calendar in place of the page.

This seems to not use an ad slug, but an ad group. Either way, if you have an ad or ad group called “Events” then you can just ignore this warning because neither of them is displayed in the frontend and really use that slug.

W3 Total Cache

The Object Cache feature breaks transients, which means that WordPress backends might check for available updates of all installed plugins on every page request. Users might experience a slow backend. The issue doesn’t only happen to Advanced Ads, but with other plugins as well. See this article for more information.

WooCommerce

The store page which displays all of your products might be listed among your static pages but is technically working as a product archive.

This means that for the General Conditions display condition it responds to the Archives condition, not Singular Pages. For the Post Type condition, it responds to Products post type, not Pages.

If you are using our Tracking add-on then make sure the following setting is disabled: WooCommerce > Settings > General > Default Customer Location > pick the third option, which is IP without cache. This will remove the IP address from the URL, which breaks out click tracking URLs.

WordFence (excessive CPU usage)

It isn’t related to Advanced Ads but was reported suspecting our plugins, so we added this here anyway.

WordFence has a live scanning feature which can lead to a lot of requests. Some hosters, like SiteGround in this case, have limits for requests and might block your website if there are too many of them.

WP Minify

WP Minify might cause features from Advanced Ads Pro or other add-ons to not work properly, including ads not showing up. The reason is that the plugin minifies the files wrongly.

To get the ad shown in this placement while keeping the JS minification, you can simply exclude the javascript files from Advanced Ads (Pro) from minification.

You can do that on the wp-minify settings page. It’s normally on the Settings menu of the admin panel, after the Permalinks. In the Local JavaScript exclusion list (the first big text area from the top of the page), enter “advanced-ads-pro” (w/o the quotes) and update the options.

There is now a plugin called WP Minify Fix, which is basically WP Minify on which some bug-fixes and additional features have been added because WP Minify was not updated since 2012. The plugin is at https://wordpress.org/plugins/wp-minify-fix/. It might work more stable.

WP Recipe Maker

When both WP Recipe Maker and Advanced ads are activated, the error Failed to load plugin: advads_shortcode appears in Elementor.

Yoast SEO

The combination of Yoast Premium, Video SEO and Woocommerce SEO may break the ad injection by the content placements.

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

* indicates required
Interests

YouTube WordPress plugin by Embed Plus

If using the [embedyt]https://www.youtube.com/watch?v=nfybYz8ayXQ[/embedyt]shortcode please disable AJAX Cache Busting for the placement in question to ensure the video is rendered correctly.

Make it better

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