Using the Debug Mode can help you check if and how the plugin works under the hood.

Enabling Debug Mode

Also see the step by step guide to logging errors.

Advanced Ads uses the WordPress Debug Mode. You can enable the debug mode setting the constant WP_DEBUG  in your wp-config.php  to true. See the WP manual for more details.

Some errors will be logged in your php log file, or in wp-content/debug.log g, when WP_DEBUG  and WP_DEBUG_LOG  are enabled. Therefore, use the following two lines in your wp-config.php  file in order to get all errors:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true); // set to `false` if you don’t want error output in the frontend

See also: Debugging in WordPress

Once, the debug mode is enabled, you can also make use of the following functions.

Global Arrays

There are some global settings saved by Advanced Ads. You can find its output on the Debug Page without having Debug Mode enabled. Simply visit Advanced Ads > Settings > Debug Page in your WordPress dashboard.

Display Conditions

If debug mode is enabled you find a link called show debug output. Click it to see the raw output of the display conditions array saved as a post meta value to the database. This output matches the display conditions that are saved and not the once you might have just set but didn’t save yet.