Google Adsense & Banner Ads by AdsforWP


AdsforWP is an Google Ads & Banner ads plugin built for WordPress & AMP. Easy to Use, Unlimited Incontent Ads, Adsense, Premium Features and more


AdsforWP Plugin is back again and Active Development has started. Regular development will be done here as well as customer support will be provided from now on.


  • AdSense Auto Ads Support
  • Ad Groups with AMP Support
  • Ad Widget added
  • Ad expiry and scheduling option added
  • AMP Compatibility: Seamless integration with AMP for WP & AMP by Automattic.
  • Unlimited Ads
  • Google Adsense Support
  • Custom Ad HTML support
  • Support
  • Ads Shortcode
  • Post Specific Ads Control
  • Easily inject Between the content, After the content or Before the content.
  • Migrate from Advanced Ads plugin with One Click!
  • NEW: Align and set margins easily
  • NEW: Revcontent Ads Support
  • NEW: AMP Story Ads Support
  • NEW: Engageya Support
  • NEW: Outbrain Support
  • NEW: Taboola Support
  • NEW: MANTIS Support
  • NEW: Ezoic Support
  • NEW: Mediavine Support
  • NEW: ads.txt Support
  • NEW: MGID Support
  • NEW: Ads Performance Analytics with reports & insights (supports AMP as well)
  • NEW: View Deep Insights of your traffic and Revenue with reports and data. It gives an overview of Mobile VS Desktop, AMP vs Non-AMP of your Traffic & Ad revenue including the comparision of previous time.

Active Development:

We are actively developing this plugin and our aim is to make this plugin into the #1 solution in the world. You can Request a Feature or Report a Bug. The code is hosted on Github.

Development Roadmap:

  • Visitor Conditions: Find out if the user is coming from a Device, Website, date, a URL, location, language, Parameter, User Agent and many more.
  • A/B Testing: Find out which ads perform the most and how you can improve the ad revenue further.
  • GDPR & Privacy tools: We have got the GDPR and other privacy tools planned so that you don’t have to worry about complying with privacy laws.
  • Click Fraud Protection: Helps you fight the click fraud and helps you stabilize the ad revenue.
  • Responsive Ads: We will be adding the responsive support to Ads to give the best viewability to ads on devices.
  • Innovation & Disruption: We are constantly evolving our product and going to introduce new features which are not being used by anyone in the world.
  • View Full Development Roadmap

Technical Support

Support is provided in Forum. You can also Contact us, our turn around time on email is around 12 hours.


Chart.js library used – License URI:,
Google Api Php Client library used – License URI:



Questo plugin fornisce 1 blocco.

  • Google Adsense & Banner Ads by AdsforWP


16 Settembre 2021
By far this one is better. The only difference it makes is it gives additional ad sizes to choose between. But unfortunately due to themes restrictions it doesnt work on most of the themes.
Leggi tutte le recensioni di 43

Contributi e sviluppo

“Google Adsense & Banner Ads by AdsforWP” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.


“Google Adsense & Banner Ads by AdsforWP” è stato tradotto in 2 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Google Adsense & Banner Ads by AdsforWP” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.9.25 (12 September 2023)

  • Improvement: Tested with WordPress 6.3 #390
  • Fixed: Pop up news letter not working for ads for wp plugin #387

1.9.24 (13 April 2023)

  • Improvement: Change email id and put email text field in contact us support tab #386
  • Bug Fixed: Deprecated: Creation of dynamic property in php 8.2.0 #381
  • Improvement: Give notice in group ads list if there are no ads #384
  • Bug Fixed: The ads for wp scripts are loading on homepage without any ads on the homepage #339
  • Bug Fixed: Need to exclude impression count of the admin on local ads #346
  • Bug Fixed: invalid form control with name=’adsforwp_query_email’ is not focusable. in browser console #385
  • Bug Fixed: Warnings in adsforwp #335

1.9.23 (17 November 2022)

  • Bug Fixed: Doesn’t save as “show globally”. #372
  • Improvement: Removed deprecated warning in PHP 8.1.10. #373
  • Bug Fixed: Resolved post category in advanced Display Condition. #374

1.9.22 (22 August 2022)

  • Feature Added: Added feedback form on deactivation
  • Improvement: Removed usage tracking code . #368

1.9.21 (07 July 2022)

  • Feature Added: Option added to preload image banner Ad #369
  • Bug Fixed: Improvement in Automatic Webp delivery for image Banner Ads. #365

1.9.20 (28 June 2022)

  • Feature Added: Automatic Webp delivery for image Banners – integration with EWWW. #365

1.9.19 (07 June 2022)

  • Bug Fixed: User targeting option not working on both single ads & group ads. #348
  • Bug Fixed: Allow tag in a custom ads code. #273

1.9.18 (09 May 2022)

  • Bug Fixed: PHP Warning: Attempt to read property “ID”. #359
  • Bug Fixed: The Text” Advertisement” is adding on website when we are using “generate press” theme. #349
  • Bug Fixed: Warning: Undefined array key “ad_sponsorship_label” #349
  • Bug Fixed: Updated Plugin name and Description. #361

1.9.17 (21 April 2022)

  • Bug Fixed: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported. #352
  • Bug Fixed: Warning: in_array() expects parameter 2 to be array. #357 (15 June 2020)

  • Bug Fixed: Display of Ads on pages in non-amp version even though the display condition is set to posts has been fixed. #344

1.9.16 (13 June 2020)

  • New Feature: Created an option to add link attributes for image banner type ads. #338
  • Bug Fixed: Error in query monitor has been resolved. #325
  • Bug Fixed: Center alignment issue while using Ads through shortcode has been resolved. #329
  • Bug Fixed: Receiving Exception in queued GPT command TypeError in Console has been resolved. #326
  • Bug Fixed: Unable to display ads on page build using Elementor issue has been resolved. #323 (17 February 2020)

  • Bug Fixed: Added code to avoid the cutting of content due to ‘percent of content’ option #316 (13 January 2020)

  • Bug Fixed: Auto Ads script exists more than once when adsense auto ads added #309 (20 November 2019)

  • Bug Fixed: Added code for amp script issue #300

1.9.15 (19 November 2019)

  • New Feature: Added Browser Width and Paid Membership Pro conditions under User Targeting #137
  • Bug Fixed: Added Width and Height option when user adds SVG image for Image banner ad type. #297
  • Bug Fixed: Added fully compatible with AMP by automatic. #121

1.9.14 (13 November 2019)

  • New Feature: Added Floating Ads support #293
  • Bug Fixed: Tabs link error in Multisite #290

1.9.13 (05 November 2019)

  • New Feature: Added support for “Revcontent Ad” #284
  • New Feature: Create support for Google Adsense In-feed ads #281
  • Improvement: Added option to Limit the height and width of responsive Ads #279
  • Bug Fixed: Taxonomy terms condition for selected taxonomy type is not working after first condition #292
  • Bug Fixed: We need to make sure Ads are centered on all browsers. #287
  • Bug Fixed: Ad Label text color not changing. #289
  • Bug Fixed: Undefined offset: 0 #286
  • Bug Fixed: Fatal error function adsforwp_modify_title() #294
  • Bug Fixed: Ads loading inappropriately if we set up number of paragraphs between the content. #291
  • Bug Fixed: custom code option is not stable #278
  • Bug Fixed: amp-iframe not working in custom code #277

1.9.12 (25 October 2019)

  • New Feature: Need to add Feature of AMP Stories Ads #230
  • New Feature: Expiry by impression count #228
  • Improvement: Need to show Advertisement text after the Ad #283
  • Improvement: Need to improve javascript functionality of adsforwp option panel #251
  • Bug Fixed: Ads are not loading properly on Mobile and Desktop, if we set user targeting #282

1.9.11 (19 October 2019)

  • Improvement: Need to add attention message if user using Auto Ads and Normal Ads at a time from same company #269
  • Improvement: Need to Add the optional option to place the Ad in the content based on percentage. #223
  • Improvement: Added “h1 – h6” tags in ‘Count As Per The’ dropdown #272
  • Improvement: Need to add a notice below the User targeting section, only for the Device Type #210
  • Improvement: Need to add note for infolinks Ads type below ads type dropdown #275

1.9.10 (16 October 2019)

  • New Feature: Added Engageya ads Native support in AMP #256
  • Improvement: Added Fluid compatibility for double click ads #252
  • Bug Fixed: In-article ads type of adsense Ad can’t publish issue has been fixed #270
  • Bug Fixed: Ads are not getting displayed due to transient issue #271
  • Bug Fixed: Warning with Gutenberg #268
  • Bug Fixed: Warning Invalid argument supplied for foreach() #264
  • Improvement: Improving the consent #266
  • Bug Fixed: Wrong error message display for Group ads #265
  • Bug Fixed: Need to detect current version of mobile #261

1.9.9 (11 October 2019)

  • Bug Fixed: front.js 404 javascript issue has been resolved #255
  • Improvement: Feedback box upon deactivation had been added #260

1.9.8 (09 October 2019)

  • Improvement: Added Tutorial Links for Ad types in pop up notification field in “Add new ad” section #258
  • Improvement: Custom code Ad type support for Engageya Ad code has been added #180
  • New Feature: Added Block support for Ads with gutenberg #245
  • Improvement: New condition to set ads by author #254
  • New Feature: Ad Blocker Support with Ad blocker notice popup, bar and page redirection #242

1.9.7 (26 September 2019)

  • New Feature: In-Article Support in Google Adsense #240
  • New Feature: Importer for Quick Adsense #180
  • Improvement: Improvements in responsive ad units #249
  • Bug Fixed: Responsive Ads issue with Newsmag theme #246

1.9.6 (21 September 2019)

  • New Feature: Sticky Ads with DoubleClick Ad type for AMP #174
  • New Feature: Added outbrain Ad type compatibility #207
  • New Feature: Added Taboola Ad support #185
  • New Feature: Added MANTIS Ad Network #145
  • New Feature: Added Ezoic Ad support #187
  • New Feature: Added compatibility of Mediavine #220
  • New Feature: Added Matched Content support #161
  • New Feature: Added new feature to support multi-size ad requests #176
  • Bug Fixed: After update ads are decentralized #244

1.9.5 (09 September 2019)

  • New Feature: Added new feature ‘data-enable-refresh’ for amp-ads.
  • Added: Text wrapper option to wrap text around the ads #234
  • Bug Fixed: Java Script Error: Uncaught (in promise) Error: Element not found #225

1.9.4 (05 September 2019)

  • Bug Fixed: Issue with responsive feature in Ads for WP plugin #191
  • Bug Fixed: ins should not have any color in background #213
  • Bug Fixed: Code Stripped of from Custom ad section #227
  • Bug Fixed: AMP scripts should load when any ads related to that script are there. #235
  • Bug Fixed: Expire Date doesn’t work if an ad is in a group #231
  • Bug Fixed: User Targeting last row is not being deleted #222
  • Bug Fixed: Text-align & responsive banner #229
  • Bug Fixed: Responsive Ads option not working in NON-AMP version #214

1.9.3 (9 August 2019)

  • Added: MGID Support #215
  • Added: ads.txt support #198
  • Bug Fixed: Advanced display condition is not working when selected Not Equal to #221

1.9.2 (15 July 2019)

  • Bug Fixed: Taboola Ads not appearing #218

1.9.1 (09 July 2019)

  • Bug Fixed: In Custom ads the custom code is not getting added #211

1.9 (29 June 2019)

  • Bug Fixed: Security improvement and other bugs #206.

1.8 (26 June 2019)

  • Bug Fixed: error “.afw_ad_amp_12345″ not found” #178
  • Bug Fixed: Custom target option removing the classes #168
  • Bug Fixed: Sticky ads with adsense are having 11 instances #175
  • Bug Fixed: After importing the ads from AMPforWP then Non-AMP Visibility should be hidden #157
  • Bug Fixed: Duplicate Queries #194
  • Bug Fixed: Review wave issues ( form submision requires escaping, nonce in “analytics-settings” file ) #160
  • Bug Fixed: If image banner is empty still amp img tag loads which throw amp validation error. #195
  • Improvement: If the “Ad Performance Tracking” is not enabled, then it should not show the Performance count section #197
  • Improvement: AdBlocker notice should have learn more link #177

1.7 (31 May 2019)

  • Bug Fixed: Auto ads loads with extra sticky ad amp tag #192
  • Bug Fixed: Amp compatiblity option is not working on auto ads #189
  • Bug Fixed: Draft group post and still is being displayed. #164
  • Bug Fixed: Debug Warnings (#179, #188)
  • Bug Fixed: Debug Notice #159

1.6 (25 March 2019)

  • Bug Fixed: Security improvement.

1.5 (04 March 2019)

  • Added : AD to be displayed after every number(XX) of paragraphs #154
  • Added : Sponsorship Label that Displays a Word such as “Ad” above the Ad #153

1.4.1 (02 March 2019)

  • Bug Fixed: Ads migrator from AMPforWP ads is not properly working.
  • Bug Fixed: Multiple calls are happening while checking user IP in User Targeting (Ticket was re-opened). #148

1.4 (16 February 2019)

  • Added: Showing monthly ads stats inside analytics section by passing ad id or clicking on ad impression or clicks in ad list ( impression, clicks etc.. )#130
  • Added: Display positioning of AMP and non-AMP should be combined into one dropdown #146
  • Bug Fixed: Multiple calls are happening while checking user IP in User Targeting. #148

1.3 (30 January 2019)

  • Added: Sticky ad support for adsense (Only AMP)
  • Added: Doubleclick (DFP) ad support for AMP and NON AMP
  • Added: Ad Inserter Plugin ( ) importer. It will import all block ads to ads-for-wp (Note: Ad Inserter Plugin which is available on
  • Added: AD Performance Tracking Option ( Users can choose whether they want to track ads impressions and clicks or not)
  • Bug Fixed: Normal adsense ad shows responsive even when the responsive option is disabled #135

1.2 (17 January 2019)

  • New Feature: Background Ad Type
  • New Feature: User targeting by Cookie
  • Added: Support for MGID Ads & Taboola Ads in custom ads type
  • Added: Delete all settings, ads and groups ads at one click
  • Added: Option to filter ads list by ad type
  • Added: Prepared for localization to make plugin translatable
  • Improvement: Notice box to ask for review in day interval should not be shown again, if users click no thanks button
  • Bug Fixed: Update wheretodisplayamp while importing Ads from AMPforWP #125
  • Bug Fixed: If auto ads is selected, then AMP Display Positioning in AMP section should be hidden #114
  • Bug Fixed: Warning issue when no Ads are setup. #128

1.1 (20 December 2018)

  • New Feature: Sticky display type added in banner ad type for amp or non amp
  • New Feature: Option to filter ads list by display type
  • New Feature: Show ads on specific theme element
  • New Feature: User targeting by Geo Location
  • Bug Fixed: For the outgoing links in banner ads, need to add rel=”nofollow” #117

1.0.9 (26th November 2018)

  • New Feature: Responsive Size Option
  • New Feature: New Visitor Conditions (URL Parameters)
  • New Feature: Advance option in display type between the content. Display ads using different html elements count on content. Example div, img etc.)
  • Label Changed: Renamed some labels for better understanding of context

1.0.8 (16th November 2018)

  • New Feature: Importer and Exporter (Copy Ads for WP complete data from one site to another with one click )
  • UX improvement: Renamed some labels for better understanding of context
  • Bug Fixed: AMP content disappear after setting AMP Display Positioning in group ads. #108
  • Bug Fixed: wp_mail conflict with SendGrid. #107
  • Bug Fixed: Queries optimization( for fast loading of ads ). #94

1.0.7 (26th October 2018)

  • New Feature: Visitor Conditions (limit the number of users who can see your ad)
  • New Feature: AMP Display Positioning
  • New Feature: AMPforWP Ads Migration tool
  • New Feature: AMPforWP Advanced Ads Migration tool
  • Added notifcations to review on day interval
  • Advanced Ads migration tool button will remain visible whether Advanced Ads install or not.
  • Bug Fix: In Image Banner Ad, Anchor link is not working in AMP. #85
  • Bug Fix: Group ads are showing deleted ad as blank on page. #97
  • Bug Fix: Amp analytics js appears twice. #94
  • Bug Fix: Extra character “ss” is coming with amp normal ad. #93

1.0.6 (03th October 2018)

  • Full Release Post on
  • Major Milestone Feature: Ads Performance Analytics with reports & insights (supports AMP as well)
  • Bug Fix: Ads not working in the Widgets #79
  • Bug Fix: Auto Ads were appearing only on Single, not Globally. #81

1.0.5 (11th September 2018)

  • Full Release Post on:
  • Major Feature: AD blocker Support –
  • Major Feature: Conditional Display to help you target ads on specific location.
  • Major Feature: Ad Revenue Sharing that supports all the ad networks and AMP.
  • Infolinks Support Added
  • support added
  • Ad Now Support Added
  • New Feature: Ad Scheduling with expiration support. You can control when to run the ads and expire after certain time.
  • New Feature: Ads alignment Feature: You can set margin to each and every ad.
  • New Feature: Contact form embeded directly you can easily get in touch with our support team.
  • New Feature: Emebed popup added which allows you to get the shortcode or PHP code for you to embed.
  • New Feature: Show only in AMP feature.
  • New Feature: Ad Alignment feature
  • Ad Rotation with groups Improved with performance.
  • Bug Fix: Auto ads were not loading properly has been fixed.
  • Bug Fix: Media upload didn’t had the link version:
  • Debug errors resolved
  • and many other improvements

1.0.4 (23th August 2018)

  • Major Feature: AdSense Auto Ads support added
  • Bug fix: Ad was not displaying #36 ( )
  • Minor bugs fixed

1.0.3 (14th August 2018)

  • MAJOR Update: Ad groups feature added
  • Small bug with custom ads code area.
  • Widget added for you to add unlimited ads anywhere you want.

1.0.2 (3rd August 2018)

  • Ads not showing in the old posts bug fixed
  • Pointers added for help.
  • Optin Capability Added

1.0.1 (27th July 2018)

  • Ad Support
  • Minor improvements

1.0 (25th July 2018)

  • Initial Release