Advanced Ads Ad Manager AdSense Plugin

Price: FREE
Sold By: Startup StrideStartup Stride

Contributors: webzunft, advancedads
Tags: ads, ad manager, ad rotation, adsense, banner
Requires at least: 4.6
Tested up to: 5.3
Requires PHP: 5.6
Stable tag: 1.17.3
License: GPLv2 or later
License URI:

Manage and optimize your ads. All ad codes, Google AdSense Auto ads, ad widget, rotation, header and footer code injection, Google AdSense partner support

== Description ==

Are you looking for a simple ad manager plugin? These are the top arguments to use Advanced Ads:

* approved in 10 years of Publishing and Ad Optimization
* works with all ad types and networks, including Google AdSense, Google Ad Manager (DFP), Amazon ads, or
* Google AdSense Partner
* most features to test and optimize ads
* unlimited ad units
* ads.txt support
* dedicated Gutenberg block for ads
* the only solution with *Ad Health* integration and Google AdSense violation checks
* best rated [free support](

This is what our users are saying about Advanced Ads:

> We use this plugin to deliver rotating ads on a community news site, and it’s great. Both feature-rich and reliable, your imagination is the limit when it comes to the product you want to create for your users. We’ve delivered over a million ad impressions since we launched less than a year ago, using a combination of sidebar, top, sticky and in-content placements — both HTML5 and images. Advanced Ads makes it easy for our small team to deliver a good experience to our users and our advertisers.
> mytown304 on

Would you like to know if there is a certain feature, what the optimized setup would be, or how to implement your client’s demands? Just [open a thread in the forum](!

Advanced Ads allowed us to grow from 0 to 100 MM monthly ad impressions. Benefit from our experience as a publisher and monetize your website today!

[Full Feature List](

= ad management =

* create and display **unlimited** ad units
* rotate ads
* schedule ads and set start time and expiration date
* target ads by content and user groups
* inject ads into posts and pages automatically without coding
* sell ads on your website automatically with the [Selling Ads add-on](

= ad types =

choose between different ad types that enable you to:

* insert ads content and banners from all ad and affiliate networks (e.g., Google AdSense, Amazon, BuySellAds, Google Ad Manager, DoubleClick (DFP), Ezoic,,, Tradedoubler, Awin, Getyourguide, The Moneytizer...)
* dedicated support for all types of Google AdSense ads, including text and diplay ads, native ads (In-article, In-feed, matched content), link units (standard and responsive), Auto ads, and Auto ads for AMP
* display images and image banners
* create content-rich ads with the WordPress TinyMCE editor
* create Amazon ads with the Rich Content ad type and the [Amazon Associates Link Builder]( or insert contextual Amazon Native Shopping Ads
* inject HTML, CSS, Javascript or PHP code
* use shortcodes within ads (to also deliver advertisements from another ad plugin like Ad Inserter, AdRotate, Quick AdSense, WP Bannerize, or the Google AdSense Plugin WP QUADS)

= display ads for WP =

* use functions to display ads in template files
* use shortcodes to place them manually in post content
* show ads in the sidebar and in widgets
* disable all ads on specific pages
* display multiple ads (ad blocks)
* display a customizable ad label, e.g., “Advertisements” above each banner ad

= display conditions =

show ads based on conditions like:

* individual posts, pages, and other post types
* posts by category, tags, taxonomies, author, and age
* archive pages by category, tags, taxonomies
* special page types like 404, attachment and front page
* hide ads on secondary queries (e.g., posts in sidebars)
* display or hide banners within the post feed
* hide all ads from specific page types, e.g., 404 pages, feed
* hide ads from bots and web crawlers

= visitor conditions =

serve ads by conditions based on the visitor. [List of all visitor conditions](

* display or hide a banner by device: mobile and tablet or desktop
* display or hide a banner by role and for logged-in visitors
* advanced visitor conditions: previously visited URL (referrer), user capability, browser language, browser and device, URL parameters included in [Pro](
* display ads by geolocation with the [Geo Targeting add-on](
* display ads by browser width with the [Responsive add-on](

> **Fantastic plugin and outstanding support**
> I tried at least three other ad plugins for WordPress and ‘Advanced Ads’ is by and far the best one. Last but not least in the support. The first port of call are a number of excellent tutorials. And finally the hands on support. I don’t quite know how he does it but the speed and depth of responses are absolutely amazing.
> djsawyer on

= ad injection | placements =

Placements to insert ads in pre-defined positions in your theme and content. [List of all placements](

* ads after any given paragraph or headline
* ads at the top or bottom of the post content
* ads before closing `` tag
* ads in the footer
* test placements against each other with [Pro](
* many more ad positions with [add-ons](
* automatic insertion of any kind of code into header or footer, not only advertising

= mobile devices =

* display ads on mobile and tablets or desktop only
* display responsive image ads
* ads for specific browser sizes only using [Responsive Ads](
* inserting ads on AMP pages with [Responsive Ads](

= Google AdSense =

Amazing features of the most powerful and easy Google AdSense plugin.

* unlimited Google AdSense ads banners
* pull ad units directly from your Google AdSense account
* show AdSense revenue in WP Admin
* change settings of your Google AdSense ads directly from your WordPress backend
* supports all Google AdSense ad types, including Google AdSense display ads, link units, native ads like In-feed ads, In-article ads, matched content ads, Google AdSense Auto ads, and Google AdSense Auto ads for AMP
* change type and sizes of an ad without going into your Google AdSense account
* hide Google AdSense advertisements on 404 pages by default (to comply with Google AdSense terms)
* insert Google AdSense code for verification and AdSense Auto Ads (previously called Page-Level ads and QuickStart)
* disable Google Auto ads anchor ads at the top of the page
* easy Ad Health integration and Google AdSense violation checks
* option to make the Google AdSense background transparent
* place Google AdSense In-feed ads using the also free [In-feed add-on](
* assistant for exact sizes of responsive Google AdSense code with the [Responsive add-on](
* convert Google AdSense ads into AMP ads automatically with the [Responsive add-on](
* ads.txt generated with the correct AdSense information automatically
* works along Google Site Kit or can replace if it you want to [control your ad placements](

Like j4ckson185, there are thousands of happy AdSense users:

> Your app is awesome, congratulations! Google Adsense suggests using your app on its official website, it’s incredible!

= ads.txt =

* generates ads.txt with custom content
* adds the content for AdSense to the ads.txt automatically

(available with WordPress 5.1)

= ad blocker =

* basic features to prevent ad units from being removed by AdBlock and others
* prevent ad blockers from breaking sites where plugin scripts are running
* ad blocking detection: show alternative content to ad block users with [Pro]( and improve the monetization of your website

Learn more on the [plugin homepage](

Thank you for motivating us with your [positive review](

Localizations: Czech, Dutch, English, French, German, Italian, Japanese, Norwegian, Portuguese, Slovak, Spanish, Turkish, Vietnamese, Polish, Chinese (Taiwan)

> Add-Ons
> * all add-ons include priority email support
> * [Advanced Ads Pro]( – powerful tools for ad optimizations: cache-busting, more placements, lazy load, ad blocker module, click fraud, and more
> * [Geo Targeting]( – display ads based on geo location of the visitor
> * [Tracking]( – ad tracking and statistics
> * [Responsive Ads]( – create mobile ads or ads for specific browser sizes and ads on AMP
> * [Sticky Ads]( – increase click rates with fixed, sticky, and anchor ads
> * [PopUp and Layer Ads]( – display ads and other content in layers and popups
> * [Selling Ads]( - allows you to sell ads on your website fully automated, including payments and advertiser profiles.
> * [Slider]( – create a simple slider from your ads

If you have problems with Advanced Ads, please reach out to [our support](

== Installation ==

How to install the plugin and get it working?

= Using The WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Search for 'advanced ads'
3. Click 'Install Now'
4. Activate Advanced Ads on the Plugin dashboard

= Uploading in WordPress Dashboard =

1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `` from your computer
4. Click 'Install Now'
5. Activate Advanced Ads in the Plugin dashboard

= Using FTP =

1. Download ``
2. Extract the `advanced-ads` directory to your computer
3. Upload the `advanced-ads` directory to the `/wp-content/plugins/` directory
4. Activate Advanced Ads in the Plugin dashboard

== Frequently Asked Questions ==

= 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),

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.


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"]`

= 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.
Advanced Ads can be used along Google Site Kit or replace it if you need more control over your ad setup.

= 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](

== Screenshots ==

1. Placements that let you inject ads anywhere into your site without coding (7 in Advanced Ads + 14 through add-ons).
2. Support for all kinds of ad types, including dedicated AdSense type. AMP is included in the Responsive add-on.
3. Flexible ad input with the Plain Text ad type and code highlighting.
4. Align your ads within the content.
5. Dynamically change AdSense ad options in your WordPress backend.
6. Choose where to display your ads using many conditions.
7. Use various conditions to choose who should see ads (basic plugin and more in add-ons).
8. See AdSense earnings in your WP Backend
9. Track impressions and clicks (Tracking add-on).
10. Convert AdSense ads into AMP automatically (Responsive add-on)

== Changelog ==

= 1.17.3 =

* prevented content injection into specific elements where ads cause issues
* assign `advads-stop-injection` class to any element into which you don’t want to automatically inject ads
* fixed possible cURL error when checking existing ads.txt file locally

= 1.17.2 =

* replaced autoloader
* fixed an issue where an expired ad removed HTML in the ad code

= 1.17.1 =

* fixed failing upload of new image ads
* fixed Google Ad Manager debug link also showing up when other Google Publisher Tags are used

= 1.17 =

* improved AdSense ad unit list coming from the AdSense API
* improved "highlight ads" option in Ad Health
* show notice if AJAX calls are broken
* added `` as exception for placing ads.txt files in subdomains
* removed placeholder for AdSense ads in the Customizer and Elementor editor
* fix for WP Smush lazy load preventing image ads from showing at all

= 1.16.1 =

* fixed JavaScript that broke privacy module check in the frontend
* allow to change size of AdSense ads loaded from the AdSense account

= 1.16 =

* moved all users to the new content injection logic and removed opt-out option
* use new Auto ads code for everyone who didn’t enable the "Disable top anchor ads" option
* hide "Disable top anchor ads" option to users who didn’t enable it
* the Ad Admin user role can now also save the plugin settings
* hide Wizard for existing ads
* removed warning about WP Autoterms plugin after a fix by the plugin authors
* some work for Conditions to improve compatibility with an upcoming Pro feature
* fixed multiple wrappers occurred as result of using nested ads
* fixed missing index issue on 404 pages for logged-in admins
* fixed AJAX/PHP error 403 on Settings page
* fixed layout issue that happened when "If>So Dynamic Content" plugin was active
* prevented Ad label from taking height of fixed sized AdSense ads

= 1.15 =

* please enable the new content injection method under Advanced Ads > Settings > General > Content Injection > Use new injection logic
* rewritten content injection to prevent HTML markup modifications
* rewritten code for Display and Visitor Condition form fields on ad edit pages
* allow to replace existing ads.txt file with the option provided by Advanced Ads
* prevented duplicated SQL query when a group contains no ads
* added warning for WP AutoTerms plugin, which prevents ads from showing on category archive pages

= 1.14.11 =

* moved placement form above the list of existing placements
* made "ads.txt" file available before the Settings page is saved
* removed leading and trailing spaces from privacy options to prevent accidental misconfiguration
* implementing coding standards in a few backend files
* fixed welcome panel not showing up
* fix for plugins using the "pre_option_upload_path" or "pre_option_upload_url_path" filters

= 1.14.10 =

* creating unique slugs for the ad post type in order to prevent conflicts like found with Beaver Builder
* added option to disable AdSense stats in the backend
* fixed conflicts when $ (jQuery) was not available
* fixed potential JS conflict in Wizard script
* added a warning suggesting to install "dom" extension in order to use "Content" placement

= 1.14.9 =

* fixed deprecated notices causing a warning
* fixed possible missing class error
* replaced AdSense in widgets with dummy ads on Elementor preview pages to prevent issues
* removed unneeded warning about early called `advads_is_amp` function

= 1.14.8 =

* replaced AdSense with dummy ads on Customizer and Elementor preview pages to prevent issues
* make text fields in Advanced Ads settings fully resizable
* removed unneeded ads.txt warning on domains

= 1.14.7 =

* allow "Footer code" and "Sidebar Widget" placements on AMP pages created by the official AMP plugin
* prevented AMP warnings on XMLRPC requests
* removed unused debug function

= 1.14.6 =

* fixed frontend issue showing for admins if the HEAD placement is used

= 1.14.5 =

* sanitize Container ID option on save and warn about wrong format
* made Placements page work when another plugin includes Twitter Bootstrap
* updated missing ads.txt warning
* disabled Privacy module on AMP pages so that the Google AMP cache shows them
* fixed warnings for some features on AMP pages
* fixed suggestion to switch Auto ads code in plain text ad type to AdSense ad type

= 1.14.4 =

* fixed JavaScript issue on ad edit pages

= 1.14.3 =

* allow adding ads to newsletter emails created in MailPoet using the shortcode `[custom:ad:AD_ID]` in the email template
* prevented error when Piklist plugin is used
* fixed JS error on post edit pages that had no real consequences
* minor fixes to licensing settings (Pro only)

= 1.14.2 =

* preparations for [Advanced Ads Pro]( 2.4.2
* fixed time zone difference in AdSense reporting
* fixed script dependency in the backend

= 1.14.1 =

* fixed issue with PHP 5.2 (please update to PHP 5.6.20 since it is the minimum requirement of WordPress)
* fixed potential conflict with ClassiPress ad categories
* prevented user interface from looking broken when Twitter Bootstrap is added by another source

= 1.14 =

* rewrite of AdSense code logic. Please reach out through if you discover any issues
* show AdSense revenue in WP Admin
* removed parent ad group option since it was never used by Advanced Ads
* made newly installed Advanced Ads work correctly with Q2W3 Fixed Widget

= 1.13.8 =

* prevented warning about missing ads.txt file when the file exists
* added a hint about solving ads.txt issue on WP Engine platform
* allow to translate Ad Label option if WPML String Translation is used
* fixed Ad Health notices showing also ignored issues when adding a new notice
* inject ads in the outermost `the_content` when they may have been injected in an inner `the_content`
* added chain of nested `the_content` filters to `debug.log` to allow reasoning about possible issues

= 1.13.7 =

* set `ADVANCED_ADS_DISABLE_EDIT_BAR` to disable frontend edit bar
* set better default data for new AdSense ads
* when `the_content` filters are nested, use the outermost one to inject ads
* hide certain notices for a longer period even if they stay valid
* removed notice about plugin updates since WP 5.2 handles this now
* removed notice about website being hosted on
* honor "Hide ads for user roles" and "Hide ads from bots" settings when displaying AdSense verification code & Auto ads
* prevented some attachment pages containing ads from being indexed

= 1.13.6 =

* fixed missing index issue raised when Tracking settings never were saved

= 1.13.5 =

* option to hide ads by user role does now show all registered roles
* prevented possible JavaScript error in Ad Health
* updated minimum PHP version check to warn below PHP 5.6.20
* exclude LiteSpeed Cache bot from bot detection
* fixed Ad Health notices with invalid ID

= 1.13.4 =

* improved compatibility with WPML
* improved errors given when no ad units were found in the AdSense account
* improved UI when hiding ad health notices
* fixed issue when logging the AdSense Hidden problem
* fixed issue on ad filter list when two terms with the same slug exist
* fixed unlikely case of an SQL error on ad overview page
* fixed issue with Ad Health bar in frontend when jQuery was not found
* added a link to ads.txt settings from AdSense warning about missing ads.txt file
* removed unneeded ads.txt warning on domains

= 1.13.3 =

* 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

= 1.13.2 =

* 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

= 1.13.1 =

* fixed issue with PHP 7.1 and higher

= 1.13 =

* 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
* load notices box without JavaScript
* stop content injection into wp_router pages when ads are disabled on secondary queries
* introduced `advanced-ads-max-ad-weight` filter to allow manipulating the available ad weight

= 1.12 =

* 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

= 1.11.2 =

* 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

= 1.11.1 =

* fixed AdSense code field not working if AdSense connection is missing

= 1.11 =

* 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

= 1.10.12 =

* 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

= 1.10.11 =

* added `advanced-ads-frontend-prefix` to 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

= 1.10.10 =

* 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

= 1.10.9 =

* fixed AdSense Auto ads check in the Ad Health bar giving false positives

= 1.10.8 =

* 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

= 1.10.7 =

* reverted code optimization that broke some forms

= 1.10.6 =

* fixed HTML issue with paragraph index when saving the placement page

= 1.10.5 =

* 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
* prevented possible JavaScript error created by the Privacy module
* 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

= 1.10.4 =

* 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

= 1.10.3 =

* 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

= 1.10.2 =

* 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

= 1.10.1 =

* 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)

= 1.10 =

* 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
* WP Rocket: compatibility with the recent version of deferred JavaScript

[Changelog Archive](

== Upgrade Notice ==

= 1.15 =

We have rewritten the content injection method. For the next weeks, new users opt in by default, existing ones need to opt in manually.
As existing user, please enable the new content injection method under Advanced Ads > Settings > General > Content Injection > Use new injection logic.

Please report any issues.

Advanced Ads Ad Manager AdSense Plugin
Price: FREE

Are you looking for a simple ad manager plugin? These are the top arguments to use Advanced Ads: * approved in 10 years of Publishing and Ad Optimization * works with all ad types and networks, including Google AdSense, Google Ad Manager (DFP), Amazon ad

View Cart