Manage and optimize your ads in WordPress with this easy to use and extendable plugin.
|Author:||Thomas Maier (profile at wordpress.org)|
|WordPress version required:||4.6|
|WordPress version tested:||5.1.1|
|Added to WordPress repository:||23-06-2014|
|Total downloads:||1 957 257|
|Active installs:||100 000+|
Click to start download
Placements that let you inject ads anywhere into your site without coding (7 in Advanced Ads + 14 through add-ons).
Support for all kinds of ad types, including dedicated AdSense type. AMP is included in the Responsive add-on.
Flexible ad input with the Plain Text ad type and code highlighting.
Align your ads within the content.
Dynamically change AdSense ad options in your WordPress backend.
Choose where to display your ads using many conditions.
Use various conditions to choose who should see ads (basic plugin and more in add-ons).
Track impressions and clicks (Tracking add-on).
Convert AdSense ads into AMP automatically (Responsive add-on)
How to put ads on WordPress?
You can use Advanced Ads to insert ads into your WordPress site without any coding.
To get started, just take a look at
- the general first ad tutorial
- using AdSense Auto ads in WordPress
- the AdSense overview page.
- Ads not showing up? Take a look here.
What about my users’ privacy and GDPR?
You can show ads only to visitors that give their consent. See GDPR support.
Advanced Ads itself does neither save personal information (e.g., an IP address) in your database nor cookies in the visitor’s browser.
Third party services like Google Analytics are disabled by default.
You can learn more about how Advanced Ads and its add-ons handles data and privacy of your visitors on this page.
Which ad networks are supported?
Advanced Ads is compatible with all ad networks and banners from affiliate programs like Google AdSense, Chitika, Clickbank, Amazon, and also Google Ad Manager (Google Double Click, DFP), media.net.
You can also use it to insert additional ad network tags into header or footer of your site without coding.
AdSense has even a dedicated ad type leveling the specific options this ad network provides.
PHP functions and shortcodes
You can use functions and shortcodes to display ads and ad groups.
The integers in this example are the IDs of the elements.
Use these shortcodes to insert an ad or group into your post/page.
[the_ad id="24"] [the_ad_group id="5"]
Use these functions to insert an ad or ad group into your template file.
<?php the_ad(24); ?> <?php the_ad_group(5); ?>
In addition to directly displaying ads and groups you can define ad placements and assign either an ad or group to them.
[the_ad_placement id="header-left"] <?php the_ad_placement('header-left'); ?>
Is there a revenue share?
There is no revenue share. Advanced Ads doesn’t alter your ad codes in a way that you earn less than you would directly including the ad code in your template.
Can I place ads directly in my theme files?
Yes. I would add a “Manual” placement into your theme files. It would allow you to change the displayed ads or groups later without changing your code again.
Does it work with other ad plugins?
Yes. Advanced Ads can be combined with other ad plugins.
Just use their shortcodes in our “Rich Media” ad type to combine both features.
Works with AdRotate, Ad Inserter, Ad Injection, Quick AdSense, Quick AdSense Reloaded (WPQUADS), Simple Ads Manager, and other plugins.
Can I use Flash ads?
There is a dedicated Flash ad type in Pro.
Is the plugin compatible with page builders?
Yes. It works out of the box with all site builders that allow shortcodes or widgets, like Elementor, SiteOrigin, Beaver Builder, WPBakery Page Builder (formerly Visual Composer), Nimble Page Builder, and others.
There is also a free add-on to support the WPBakery Page Builder (formerly Visual Composer).
Will ads show up for ad block users?
Visitors who have any ad blocker (e.g., AdBlock Plus) enabled won’t see ads from known external sources (e.g., AdSense).
You can still monetize those spots with custom content.
Read more about ad blockers and the features Advanced Ads has to deal with them on this page.
Does the plugin support an ads.txt?
Google AdSense and some other networks ask you to provide an ads.txt.
Advanced Ads can create that file automatically with the correct information for AdSense, when you enable the ads.txt feature in Advanced Ads > Settings > General > ads.txt and enter your AdSense publisher ID in Advanced Ads > Settings > AdSense.
I am a developer. Can I customize the plugin?
Yes. Advanced Ads is based on WordPress standards and therefore easily customizable using either WordPress hooks or the ones we defined here.
- added link to get help in some error notices
- fixed error caused by ads.txt module on multisites that use WordPress lower then 5.1
- fixed compatibility with Gutenberg plugin
- added AdSense ad slot ID to “AdSense hidden” warning
- improved ads.txt test for existing files and other problems
- fixed broken link preventing the Privacy settings from working
- fixed issue with PHP 7.1 and higher
- added support for ‘ads.txt’
- added option to disable Google Auto ads anchor ads at the top of the page
- prevented attachment content from being shown next to Rich Content ads on attachment pages
- allow to hide “Ads are disabled” warning
- added AdSense connection errors to notifications
- remove hidden notices if resolved
- stop content injection into wp_router pages when ads are disabled on secondary queries
advanced-ads-max-ad-weightfilter to allow manipulating the available ad weight
- new ad health notification logic in WP Admin to show notifications and critical issues at one place
- disable Ad Health in frontend and backend using the existing “Disable Notices” option, now called “Disable Ad Health and other notices”
- prevented ad injection into excerpts
- reordered settings page
- removed “Limit to 3 AdSense ads” option for users who don‘t have it enabled since AdSense no longer has such a rule
- fixed filtering by ad groups on the ad list
- hide ad blocker checking code when not needed
- fixed AdSense code field not working if AdSense connection is missing
- improved the AdSense onboarding process
- hide idle ads in the ads list loaded from the AdSense server
- don’t inject ads into content when ads are disabled on Secondary Queries (problem caused by Similar Posts plugin)
- limited Edit-button in the frontend to ads with a container around them
- fixed issue caused by browsers with a default ad blocker
- fixed ad group filter on the ad overview page not appearing
- fixed “Ad block counter” being needed to display ads for ad blockers
- compatibility with the “Render Blocking JS” option of the WP Fastest Cache plugin
- added clearfix option to fix possible layout issue with all types of AdSense responsive ads
- use same URL field for Tracking and basic plugin
- Sticky Ads: fixed incorrect centering when parent element begins lower
- added function that allows Advanced Ads Pro to prevent script optimizing plugins to break ad codes
- fixed JS conflict for plain text ads using PHP or shortcodes
advanced-ads-frontend-prefixto adjust the frontend prefix dynamically
- placement position set to center does cause selected ad to be placed to the left
- fix ads within multiple groups not being saved
- made compatible with improved cache-busting in Advanced Ads Pro 2.3
- new ad block works with WordPress 5.0
- show hint when shortcode or PHP options are enabled, but not needed
- fixed long group pages not being saved
- fixed AdSense Auto ads check in the Ad Health bar giving false positives
- show hint if Auto ads are enabled
- allow responsive Adsense ads with custom sizes to be floated
- show an advice if user does not have permissions to edit ads
- fixed AdSense key overlay not accepting copy&paste in Safari and Firefox
- reverted code optimization that broke some forms
- fixed HTML issue with paragraph index when saving the placement page
- improved list of ads imported from AdSense account
- use width and height ad settings for image ads if they differ from the entered sizes
- added option column with shortcode to the ad list. It is optional. Go to “Screen Options” at the top right of the ad list page to enable it
- show warning if AdSense Auto ads code is used in ad code field
- added a warning if Advanced Ads constants are enabled
- extended “Transparent Background” option for AdSense to fix a border they have in some themes
- removed ad block counter code when not used
- updated add-on updater class
- added a warning about floated responsive AdSense ads
- fixed posts instead of ads showing up on the ad overview list caused by 15zine theme
- fixed translation issue that caused Italian sites to not save ads properly
- removed unneeded language files since they are now hosted on wp.org
- removed filter for paginated ad list since it was unintentionally broken by third-party plugins
- fixed compatibility with Q2W3 Fixed Widget that gone missing with last update
- fixed issue with JNews theme which produced a widget ID that is blockable by ad blockers
- fixed second page on ads overview showing the same results as the first
- fixed issue that caused some items to vanish on admin pages without screen ID
- fixed issue caused by wrongly registered third party taxonomies
- fixed conflict on ad list with plugins going an extra query, e.g., Elementor
- added PHP version check to new AdSense connector (5.4)
- added AdSense integration
- added sub menus to setting pages
- added name to taxonomies in Display Conditions if the same label is repeated
- added clearfix option to fix possible layout issue with AdSense responsive ads
- removed title attribute from image ads
- plugin update warning now only appears for Advanced Ads plugin and add-ons
- rewritten filters on ad list to work with all ads not just those on the current page
- allowed to create new placement with same name
- fixed issue with license activations on sites using the Multilanguage by BestWebSoft plugin
- fixed duplicate queries in backend
- fixed possible conflict between assets created by the Ad Blocker module