plugin-icon

Rankwell Ad Manager

لصاحبه Omajemite Don·
Securely manage Google AdSense, MGID, and image ads with zero bloat. Strict ID-based integration — no raw script storage.
النسخة
1.3.0
آخر تحديث
Jun 29, 2026

Rankwell Ad Manager is a lightweight, enterprise-grade ad management plugin designed for high-traffic sites. Create, schedule, and display advertisements anywhere on your site with precision targeting, caching compatibility, and strict security standards.

Why Rankwell Ad Manager?

Unlike bloated ad plugins that slow down your site or open your database to Cross-Site Scripting (XSS) vulnerabilities via raw script injection, Rankwell Ad Manager is built with a highly secure, performance-first architecture:

  • 100% Secure ID-Based Integration – Never expose your site to arbitrary script injection. Just enter your AdSense, MGID, or Tracking IDs, and the plugin safely hardcodes the required scripts on the frontend.
  • Zero frontend bloat – Only loads what’s needed, when it’s needed.
  • Cache-safe device targeting – CSS-based visibility ensures ads display correctly even with full-page caching.
  • Transient-based queries – Database queries are cached, eliminating repeated meta queries on every page load.
  • CLS prevention – Image ads automatically include width/height attributes to prevent layout shifts.
  • Slot reservation system – Explicit inventory management prevents ad oversaturation per format, device, and placement.

Features

  • Secure Ad Types: Google AdSense, MGID Native Ads, Direct Image Ads.
  • Site-Wide Tracking & Auto Ads: Secure configuration for GA4, Google Tag Manager (GTM), Meta (Facebook) Pixel, AdSense Auto Ads, and MGID Site Scripts.
  • Smart Placement: Before/after content, before specific paragraphs, middle of content.
  • Compliant Ad Labels: Mandatory, non-removable “Advertisement” labels on all ad units.
  • Slot Reservation System: Capacity-based inventory management per ad format with overflow queue.
  • Device Targeting: Desktop-only or mobile-only ads (cache-safe via CSS).
  • Scheduling: Set start and end dates for time-sensitive campaigns.
  • Post Type Filtering: Choose which post types display each ad.
  • Post Exclusion: Exclude specific posts from showing ads.
  • Clone & Quick Toggle: Clone ad units and toggle active status from the list view.
  • Shortcode Support: [rankwell_ad id=”123″] for manual placement.
  • Template Tag: rankwell_display_ad(123) for theme developers.

PRODUCTION-READY ARCHITECTURE

Built by Omajemite Don (author of BotFend Anti-Bot Firewall and Rankwell SEO), this plugin follows WP Coding Standards with:

  • Strict sanitization and ID-only database saving (No unfiltered_html required)
  • PSR-4 autoloading
  • PHP 8.0+ typed properties and return types
  • Nonce verification on all forms
  • Capability checks for admin actions
  • Transient caching for database queries
  • CSS-based device visibility (full-page cache compatible)
  • DOM-safe paragraph insertion (regex-based, never breaks HTML)
  • Vanilla JavaScript — zero jQuery dependency

Usage

  1. Go to Ad Manager Add New Ad
  2. Choose your ad network (Google AdSense, MGID, or Image Ad)
  3. Enter your Publisher ID/Widget ID, or configure your image
  4. Set display rules (position, device, schedule, post types)
  5. Publish and your ad is live!

For site-wide tracking (GA4, GTM, Meta Pixel) and Auto Ads, go to Ad Manager Tracking & Auto Ads.

Shortcode

[rankwell_ad id="123"]

Replace 123 with your ad unit ID.

Template Tag

<?php if ( function_exists( 'rankwell_display_ad' ) ) { rankwell_display_ad( 123 ); } ?>

External Services

This plugin securely integrates with the following third-party services to provide ad management and performance tracking. By using these services, data may be transmitted to their respective platforms as per their policies:

  • Google AdSense: Used for ad serving and monetization.

    • Data transmitted: Ad requests, browser information, and publisher IDs.
    • Terms of Service: https://policies.google.com/terms
    • Privacy Policy: https://policies.google.com/privacy
  • Google Tag Manager (GTM): Used to manage and deploy marketing and analytics tags.

    • Data transmitted: Browser interaction and analytical data.
    • Terms of Service: https://marketingplatform.google.com/about/analytics/terms/us/
    • Privacy Policy: https://policies.google.com/privacy
  • MGID: Used for native ad delivery.

    • Data transmitted: Site ID and interaction metrics.
    • Terms of Service: https://www.mgid.com/terms-and-conditions
    • Privacy Policy: https://www.mgid.com/privacy-policy
  • Meta Pixel (Facebook): Used for conversion tracking and ad performance analysis.

    • Data transmitted: Page view events and pixel identifiers.
    • Terms of Service: https://www.facebook.com/legal/terms
    • Privacy Policy: https://www.facebook.com/privacy/policy/
مجانيعلى الخطط المدفوعة
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 7.0
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.