Title: AdPermit Rules
Author: onodev77
Published: <strong>September 24, 2026</strong>
Last modified: September 24, 2026

---

Search plugins

![](https://ps.w.org/adpermit-rules/assets/icon-128x128.png?rev=3711980)

# AdPermit Rules

 By [onodev77](https://profiles.wordpress.org/onodev77/)

[Download](https://downloads.wordpress.org/plugin/adpermit-rules.2.5.4.zip)

 * [Details](https://wordpress.org/plugins/adpermit-rules/#description)
 * [Reviews](https://wordpress.org/plugins/adpermit-rules/#reviews)
 *  [Installation](https://wordpress.org/plugins/adpermit-rules/#installation)
 * [Development](https://wordpress.org/plugins/adpermit-rules/#developers)

 [Support](https://wordpress.org/support/plugin/adpermit-rules/)

## Description

AdPermit Rules gives WordPress publishers an easy way to control where ads are allowed,
where they should be blocked, and where custom ad blocks should appear.

Use flexible exclusion rules based on content, URLs or post/page IDs, choose which
Google ad formats should be blocked, and manage your own ad placements from one 
simple interface. AdPermit Rules is designed to give publishers more control without
adding unnecessary complexity.

Main areas:
 * Exclusion Rules: disable selected advertising formats when post/page
content contains configured words, phrases or URLs. * Ad Inserter: create simple
ad/HTML blocks and place them before/after content or around paragraphs.

Google Ad formats can be selected individually: In-page/Banner, Multiplex, Side 
Rail, Anchor, Vignette and Ad Intents. A Select all Google Ads control enables every
Google format at once without forcing them off when the master control is later 
deselected.

Exclusion rules always have priority over blocks created by the built-in Inserter.

## Screenshots

[⌊Admin settings⌉⌊Admin settings⌉[

Admin settings

[⌊Exclusion Rules⌉⌊Exclusion Rules⌉[

Exclusion Rules

[⌊Ad Inserter⌉⌊Ad Inserter⌉[

Ad Inserter

## Installation

 1. Upload the plugin ZIP in Plugins > Add New > Upload Plugin.
 2. Activate AdPermit Rules.
 3. Open AdPermit Rules > Exclusion Rules and add one or more conditions.
 4. Choose which ad formats/sources should be blocked when a rule matches.
 5. Optionally create your own blocks under AdPermit Rules > Ad Inserter.

## FAQ

### Does it block ads for every visitor like a browser ad blocker?

No. AdPermit Rules is an administrator/publisher tool. It suppresses configured 
advertising only on posts/pages that match your exclusion rules.

### Can I block only some Google AdSense formats?

Yes. Google formats can be selected independently, including In-page/Banner, Multiplex,
Side Rail, Anchor, Vignette and Ad Intents.

### Does it support non-Google ad networks?

### Does it work with Ad Inserter?

AdPermit Rules includes compatibility for the external Ad Inserter WordPress plugin
and can suppress its output when a matching exclusion rule is active and that source
is selected.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AdPermit Rules” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ onodev77 ](https://profiles.wordpress.org/onodev77/)

[Translate “AdPermit Rules” into your language.](https://translate.wordpress.org/projects/wp-plugins/adpermit-rules)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/adpermit-rules/), check
out the [SVN repository](https://plugins.svn.wordpress.org/adpermit-rules/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/adpermit-rules/)
by [RSS](https://plugins.trac.wordpress.org/log/adpermit-rules/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.5.4

 * Improved detection of in-content Google ads when partial exclusions are active.

#### 2.5.3

 * Refined the plugin readme and public description.

#### 2.5.2

 * Removed the full-response output buffering flow flagged during review.
 * Exclusions continue to use WordPress filters, enqueue hooks and the front-end
   runtime guard.
 * Removed obsolete pre-release short-prefix migration aliases so current plugin-
   owned identifiers consistently use the unique AdPermit Rules prefix.

#### 2.5.1

 * WordPress.org review fixes: unique prefixes, enqueued assets, and contributor
   metadata.
 * Sanitized built-in ad block output with an explicit HTML allowlist.
 * Moved public/admin CSS and runtime JavaScript to properly enqueued asset files.

#### 2.5.0

 * Renamed the plugin to AdPermit Rules.
 * Updated the plugin slug/text domain to adpermit-rules.
 * Completed the pre-release rename to the AdPermit Rules identity.

#### 2.4.9

 * WordPress.org Plugin Check compliance fixes.
 * Improved output escaping in admin screens.
 * Added nonce verification to the quick exclusion action.
 * Sanitized request URI handling.
 * AdSense loader now uses the WordPress enqueue API.
 * Updated WordPress compatibility header.

#### 2.4.8

 * Improved partial exclusion diagnostics in the WordPress admin bar.
 * Shows which Google ad formats remain allowed.
 * Simplified Other ad networks to Ezoic and custom ad domains.
 * Built-in Inserter and Ad Inserter compatibility now work automatically without
   technical toggles.
 * Added clearer Blocked/Allowed state labels and Google format summary.

#### 2.4.7

 * Admin-bar status now appears on archive and paginated front-end views.
 * Quick “Exclude this page?” is hidden when an exclusion is already active.
 * Quick exclusion uses Content ID on singular posts/pages and a normalized relative
   URL path on archive/paginated views.

#### 2.4.6

 * Added a Save button next to Add rule on the Exclusion Rules screen for faster
   editing.

#### 2.4.5

 * Fixed Content ID exclusion rules to use exact numeric matching.
 * URL rules now match only the permalink; content rules match only title/content.

#### 2.4.4

 * Added separate Content contains, URL contains, and Content ID rules.
 * Admin bar “Exclude this page?” now creates an ID-based exclusion rule, avoiding
   URL variations such as www, HTTPS, trailing slashes, and permalink changes.

#### 2.4.3

 * Admin Bar now distinguishes full Exclusion from Partial exclusion.
 * Added “Exclude this page?” shortcut that opens Exclusion Rules with the current
   permalink prefilled.
 * Added translations for the new Admin Bar status/actions in all supported interface
   languages.
 * Admin Bar AdSense-loader status is now calculated from the current request instead
   of render timing.

#### 2.4.2

 * Fixed Admin Bar status so applicable Inserter blocks are detected before content
   rendering.
 * Selective Google exclusions now keep the AdSense loader active when at least 
   one Google format remains allowed.
 * Full Google-format exclusion still suppresses the loader entirely.
 * Added publisher-ID fallback for allowed Auto Ads on matched exclusion pages.

#### 2.4.1

 * Added a live AdPermit Rules status indicator to the WordPress admin bar on singular
   frontend views.
 * Shows whether an Exclusion Rule matched, how many built-in Inserter blocks were
   actually added, and whether the AdSense loader was printed.
 * The status menu links directly to Exclusion Rules and Ad Inserter settings.

#### 2.4.0

 * AdPermit Rules now automatically loads Google adsbygoogle.js in the page head
   when an enabled built-in AdSense block applies.
 * The AdSense publisher ID is detected from the saved block code.
 * Duplicate adsbygoogle.js loader tags pasted inside ad blocks are removed automatically.
 * Exclusion Rules still take priority and prevent the loader when the built-in 
   Inserter is excluded.

#### 2.3.1

 * Fixed Post/Page targeting for the built-in Inserter on pages containing secondary
   loops or shortcodes.
 * Improved exclusion matching on Pages by checking the main title, stored content,
   and permalink.

#### 2.3.0

 * Redesigned the What to block section.
 * Added Select all Google Ads master selector.
 * Added separate Google format controls for In-page/Banner, Multiplex, Side Rail,
   Anchor, Vignette and Ad Intents.
 * Added separate controls for built-in Inserter and external Ad Inserter.
 * Added Ezoic recognition.
 * Added custom ad-network domain blocking.
 * Master Google selector now reflects the individual Google selections and does
   not clear them when turned off.

#### 2.2.1

 * Improved dashboard statistic cards.
 * Improved Google master-toggle behavior.

## Meta

 *  Version **2.5.4**
 *  Last updated **10 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [ad inserter](https://wordpress.org/plugins/tags/ad-inserter/)[ads](https://wordpress.org/plugins/tags/ads/)
   [adsense](https://wordpress.org/plugins/tags/adsense/)[advertising](https://wordpress.org/plugins/tags/advertising/)
   [exclusion](https://wordpress.org/plugins/tags/exclusion/)
 *  [Advanced View](https://wordpress.org/plugins/adpermit-rules/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/adpermit-rules/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/adpermit-rules/reviews/)

## Contributors

 *   [ onodev77 ](https://profiles.wordpress.org/onodev77/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/adpermit-rules/)