Advanced Ads comes with a variety of options to disable ads. This is an overview.
Table of Contents
Remove all ads on your site permanently
The options below allow you to disable some ads or all ads for some users and pages. If you want to remove all ads permanently, then please check out Remove ads from WordPress.
Disable ads in the main settings
You can set general rules to disable ads for a lot of pages or visitors in the main plugin settings under Advanced Ads > Settings > General > Disable ads. This includes
You can set general rules to disable ads for many pages or visitors in the main plugin settings under Advanced Ads > Settings > General > Disable ads. This includes disabling ads
- in the frontend, but keep the plugin working in the backend
- on 404 pages
- on non-singular pages like archives and category pages
- in secondary queries like created by similar posts plugins
- in the RSS feed
- by user roles like Administrators or Editors
- for bots (not recommended, see this post)
- for post types like pages or WooCommerce products (comes with Advanced Ads Pro)
These options also apply to the Google Auto ads code added using Advanced Ads.
Disable individual ads using conditions
You can disable specific ads for specific pages or page types using the Display Conditions and for specific user groups using the Visitor Conditions on the ad edit screen.
Here are a few examples of conditions you can disable ads for.
- Specific pages
- Device or browser width
- Mobile or desktop
- AdSense ads on mobile devices
- URL parameter
Disable all ads on specific post types
If you want to disable all ads globally on a specific post type, please, navigate to Advanced Ads > Settings > General > Disable ads. There, you can choose on which post types ads should not appear.
Disable all ads on specific pages
You can disable all ads on a specific page. Visit the appropriate edit page and find the Ad Settings box either in the document settings or below the main content.
Advanced Ads Pro provides an additional option to disable ads automatically injected with specific placements in the content.
These placements are:
- Before Content
- Content
- After Content
- Random Paragraph
- Content Middle
If you enable the checkboxes, you will find the CSS classes .aa-disabled-page
and .aa-disabled-content
on the respective pages.
Disable all ads for specific user roles
Sometimes it is necessary to disable all ads for specific user roles. The fastest way to do this is to use the corresponding option in Advanced Ads > Settings > General > Disable ads.
Disable Google AdSense Auto ads
The options set in the main settings also apply to Google AdSense Auto ads added by Advanced Ads.
If you manage the Auto ads code in an ad unit code, you can also apply Display and Visitor Conditions. Please find details of that setup on this page.