Google Adsense Autoads (Advanced)

Google Adsense Autoads (Advanced) v2.4.0

No permission to buy ($25.00)
  • FIX: Homepage exclusion follows the board index page route, including a custom route, and the public homepage URL
  • FIX: Template exclusions recognize each page node's own template name
  • ADD: Option to exclude ads on specific public routes (available under "advanced options")

Attachments

  • Screenshot 2026-10-07 at 6.54.19 AM.webp
    Screenshot 2026-10-07 at 6.54.19 AM.webp
    45.3 KB · Views: 6
  • UPDATE: Added CMP-compatible AdSense Auto Ads loading controls to help prevent AdSense requests before user consent is available.
New options added:
  • AdSense script loading mode: choose between direct loading, consent-blocked output, or disabled/manual loading.
  • Consent-blocked script type: controls the script type used for CMP-blocked output, defaulting to text/plain.
  • Consent-blocked script URL attribute: controls where the AdSense URL is stored instead of src, defaulting to data-src.
  • Consent group attribute: optional CMP attribute name for consent category/group mapping.
  • Consent group value: optional CMP category/group value used with the consent group attribute.
  • Consent-blocked output allows CMPs such as CCM19, Cookiebot, Usercentrics, consentmanager, OneTrust, Quantcast Choice, Didomi, Sourcepoint, and Google Funding Choices to release the AdSense script only after consent.

Attachments

  • Screenshot 2026-06-28 at 6.28.35 PM.webp
    Screenshot 2026-06-28 at 6.28.35 PM.webp
    39.1 KB · Views: 29
  • FIX: Fatal Error: Cannot redeclare class in setup (thanks @SatGuyScott)
  • NEW: Option "Hide unfilled ad units" (default=on)
  • NEW: Option "Add basic CSS to ad-units" (default=on)
  • ADD: Prevent AdSense console warning "AdSense head tag doesn't support data-template-name attribute."
    • ADD: Event listener to remove "data-template-name" from AdSense <script> tag for custom script template renderer
  • ADD: Validation to the Publisher ID for prefix and digit sequence
  • ADD: Contact Form exclusion
  • ADD: Minified version of JavaScript
  • FIX: Homepage exclusion ignored on some versions of XF (all versions of XF 2.2.x thru 2.3.x)
  • FIX: Scope admin css from global admin scope to options only page
  • FIX: Admin tabs are now mobile friendly
Now fully compatible with XenForo 2.3.x
  • OPTIMIZED: Page exclude selections
  • ADDED: New controllers and page exclusion sections
  • ADDED: Grouped page types and quick select (check all / uncheckall)
  • ADDED: Tabbed administration
  • ADD: Logo to addon.json
  • FIX: v2.3.6 controller issue
  • New AdSense code released (fully backward/forwards compatible)
  • The new AdSense code allows AdSense to trigger optimization features earlier which can improve the performance of the ads on your site.
  • The new ad code works for both Auto ads and ad units.
  • Updating will ensure you're able to take advantage of the new optimization features.
This update brings a user requested update as follows:
  • Ability to exclude any selected forum (and child forums) within your community from showing ads
Thanks @novice
  • There is no update, previous update showed v1.5.6 (typo), when in fact the current version is v1.6.0
  • Added the ability to prevent ads showing on any of the XF Resource Pages
  • Added new option group (exclude controllers)
  • Added exclusions for numerous default controllers of xenforo (23 granular exclusions)
  • Updated language in options to be more clear
  • Tiny performance improvement moving check for addon-enabled to first check in PHP
  • Added help link to get Publisher ID
  • Made prevent more obvious using bold style in option titles
Back
Top Bottom