Ad Commander – Ad Manager for Banner Ads, AdSense, Ad Networks


Ad Commander is a complete ad management plugin for WordPress. With Ad Commander, users can quickly create custom banner image ads, Google AdSense ads, Amazon Associates ads, and ads for other affiliate ad networks.

Create groups of rotating banner ads or randomly displaying ads. Insert ads with shortcodes, template tags, blocks, or automatic placements. Inject scripts into the header or footer of your site.

AdSense users: Ad Commander integrates directly with your AdSense account to make implementing AdSense and AMP ads quick and easy. Simply connect an account and choose from a searchable, sortable list of ad units. Alternatively, build your ads manually or paste in code.

Some key features of Ad Commander include:

  • Create individual ads or groups of randomizing, rotating, or manually sorted ads
  • AdSense ad type with direct AdSense account integration, manually built ad units, or simple code pasting
  • Track impressions and clicks and generate reports for ads
  • Support for AMP ads with amp-pixel and amp-analytics tracking
  • Inject ads or groups using shortcodes, template tags, blocks, or automatic placements
  • Conditionally display ads with content targeting options
  • Display required labels above ads
  • Add custom code before and after ads or groups
  • Dynamically create an ads.txt and manage it in the WordPress admin
  • Familiar WordPress interface

Documentation | Support

Ad Commander core is free to download and use. Ad Commander Pro has additional advanced features. Visit our website to learn more about Ad Commander Pro.

Some Pro features include:

  • Priority email support
  • Automatically convert AdSense ads to AMP ads
  • Google Analytics (GA4) tracking of impressions and clicks
  • Expire ads by date or maximum stats
  • Advanced automatic placement positions
  • Popup ads
  • Visitor targeting options
  • Geotargeting with MaxMind IP databases
  • Content and visitor targeting for groups and automatic placements
  • Display groups in a grid layout
  • Weighted or evenly distributed ad impressions

All Features


  • Creating an AdSense ad using direct account integration.
  • Creating an individual ad in the WordPress admin uses a standard Add Post interface. Create your ad, assign it to groups, apply settings, and publish.
  • Ad Groups are WordPress taxonomies and are used to display a group of ads together.
  • Placements allow you to insert ads or groups automatically without implementing shortcodes, template tags, or blocks.
  • Detailed reports are generated if local tracking is enabled. Local tracking is available in Ad Commander core (free download).
  • Reports can be displayed in line or bar graphs, and filtered by ads and time period.
  • Settings allow you to control some Ad Commander options from one central location.


Detta tillägg tillhandahåller 1 block.

  • Ad or Group Display an Ad Commander ad or group.

Vanliga frågor

Does Ad Commander work with page caching?

Ad Commander core supports server-side rendering. Many caching plugins offer fragmented caching. This could be used to make Ad Commander’s server-side rendering compatible with page caching. The implementation of fragmented caching varies between caching plugins and is not directly supported by Ad Commander, but may be possible to implement with developer assistance.

Ad Commander Pro offers three rendering methods: Server-side rendering, Client-side rendering, and Smart (combination) rendering. Client-side and Smart rendering are designed to work with page caching and all visitor targeting methods.

Do I need to edit my theme to insert ads?

Nope! Ads and groups can be inserted into your site using automatic placements, shortcodes, or blocks.

Can I manually insert ads and groups into my site or theme files?

Yes! Individual shortcodes or PHP template tags can sometimes be a better solution than automatic placements, depending on your specific site layout and circumstances. Both are available for ads and groups, and can be added to your theme files if desired.

Will Ad Commander work with AdSense?

Yes. Ad Commander offers multiple ways to insert AdSense ads. These include direct integration, manually building ads, or pasting code from your account. Ad Commander also supports AdSense auto ads and AMP Ads.

Will Ad Commander work with my ad network?

Ad Commander supports inserting any script code using the Text or Code ad type. These ads can be inserted within your site or placed in the site head or body using automatic placements. The flexibility of this approach should allow any ad network to be used on your site. If you have trouble with a specific ad network, please reach out to support for help.

Can Ad Commander require consent before displaying ads?

Yes. Ad Commander does not create consent banners but can monitor a cookie and display ads after it exists.

The cookie name and value are unique to your consent management system and are specified in Ad Commander’s settings. After your visitor accepts, ads will display as long as the consent cookie exists.

Consent management works best with client-side or smart rendering available in Ad Commander Pro. This feature will also work with server-side rendering, but there are some caveats (see documentation).

Which versions of PHP is Ad Commander compatible with?

Ad Commander and Ad Commander Pro are tested on PHP 7.4 – PHP 8.1. Support for PHP 8.2 is currently in beta but has no known issues at this time.


Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Ad Commander – Ad Manager for Banner Ads, AdSense, Ad Networks” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer



  • Enables compatibility with Ad Commander Tools add-on


  • Misc UI/UX improvements
  • Fixes potential error with placements that have no items
  • Adds future support for Ad Commander Tools add-on


  • Fixes potential error with some WordPress configurations


  • Sync AdSense account alerts to dashboard
  • Post meta and query performance improvements
  • UI/UX improvements
  • WordPress 6.6 compatibility


  • Adds AdSense ad type with direct AdSense account integration
  • Adds support for AMP ads and AMP analytics
  • Misc bug fixes and improvements


  • Moves Pro CSS out of core plugin to avoid loading unnecessary styles
  • Misc bug fixes and improvements


  • New columns while managing ads, groups, and placements
  • Adds sortable admin columns to ads, groups, and placements
  • Adds the ability to quickly copy shortcodes and template tags


  • Bug fixes and improvements to content targeting and visitor targeting rules


  • Adds support for date archives to content conditions
  • General improvements to content and visitor conditions
  • Adds the ability to disable wrappers to some automatic placements
  • Adds the ability to force server-side rendering to some automatic placements
  • Misc bug fixes and UI improvements


  • Adds support for Popup placements (Ad Commander Pro 1.0.4)
  • Adds support for Max Ad/Placements Impressions & Max Ad Clicks (Ad Commander Pro 1.0.4)
  • Copies ad groups when using duplicate feature
  • Misc bug fixes and UI improvements


  • Adds support for future plugin add-ons
  • Misc bug fixes and UI improvements


  • Improves visitor and content targeting logic
  • Misc security improvements


  • Improves compatibility with WordPress multisite
  • Ability to add a custom prefix for class names and IDs
  • Misc bug fixes and improvements


  • Misc security improvements


  • Adds ability to duplicate ads, placements, and groups
  • Misc bug fixes and improvements


  • Override consent requirement on individual ads, groups, and placements


  • Adds Ad & Group block
  • Misc bug fixes and UI improvements


  • Ability to require consent before displaying ads
  • Notification system on dashboard for common errors
  • Updates frameworks to latest versions
  • Misc bug fixes and security improvements


  • Initial stable version