{
    "title": "Ad Inserter",
    "seo_title": "Ad Inserter: review, recommended settings and limits",
    "h1": "Ad Inserter",
    "description": "Ad Inserter free or Pro: ad placement, strengths, limitations, pricing from €20, recommended settings and the vulnerabilities fixed in 2026.",
    "lead": "Ad Inserter places your AdSense, Ad Manager or banner ads exactly where you want them in WordPress: between paragraphs, next to an element, in the header. Our take on the free and Pro versions, the debugging and cache settings to check and the many vulnerabilities fixed in 2026.",
    "language": "en",
    "locale": "en-US",
    "type": "plugin-sheet",
    "url": "https://www.wp-feint.com/features/camouflaged-plugins/ad-inserter/",
    "canonical": "https://www.wp-feint.com/features/camouflaged-plugins/ad-inserter/",
    "markdown": "https://www.wp-feint.com/features/camouflaged-plugins/ad-inserter/index.md",
    "json": "https://www.wp-feint.com/features/camouflaged-plugins/ad-inserter/index.json",
    "published": "2026-11-04T08:00:00+00:00",
    "modified": "2026-11-22T12:17:53+00:00",
    "site": {
        "name": "WP Feint",
        "url": "https://www.wp-feint.com/"
    },
    "translations": [
        {
            "language": "en",
            "hreflang": "en-US",
            "title": "Ad Inserter",
            "url": "https://www.wp-feint.com/features/camouflaged-plugins/ad-inserter/",
            "markdown": "https://www.wp-feint.com/features/camouflaged-plugins/ad-inserter/index.md",
            "json": "https://www.wp-feint.com/features/camouflaged-plugins/ad-inserter/index.json"
        },
        {
            "language": "fr",
            "hreflang": "fr-FR",
            "title": "Ad Inserter",
            "url": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/ad-inserter/",
            "markdown": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/ad-inserter/index.md",
            "json": "https://www.wp-feint.com/fr/fonctionnalites/extensions-camouflees/ad-inserter/index.json"
        },
        {
            "language": "es",
            "hreflang": "es-ES",
            "title": "Ad Inserter",
            "url": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/ad-inserter/",
            "markdown": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/ad-inserter/index.md",
            "json": "https://www.wp-feint.com/es/funcionalidades/plugins-camuflados/ad-inserter/index.json"
        },
        {
            "language": "de",
            "hreflang": "de-DE",
            "title": "Ad Inserter",
            "url": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/ad-inserter/",
            "markdown": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/ad-inserter/index.md",
            "json": "https://www.wp-feint.com/de/funktionen/getarnte-plugins/ad-inserter/index.json"
        },
        {
            "language": "it",
            "hreflang": "it-IT",
            "title": "Ad Inserter",
            "url": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/ad-inserter/",
            "markdown": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/ad-inserter/index.md",
            "json": "https://www.wp-feint.com/it/funzionalita/plugin-camuffati/ad-inserter/index.json"
        },
        {
            "language": "pt",
            "hreflang": "pt-BR",
            "title": "Ad Inserter",
            "url": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/ad-inserter/",
            "markdown": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/ad-inserter/index.md",
            "json": "https://www.wp-feint.com/pt/recursos/plugins-wordpress-camuflados/ad-inserter/index.json"
        },
        {
            "language": "nl",
            "hreflang": "nl-NL",
            "title": "Ad Inserter",
            "url": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/ad-inserter/",
            "markdown": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/ad-inserter/index.md",
            "json": "https://www.wp-feint.com/nl/functies/gecamoufleerde-plugins/ad-inserter/index.json"
        }
    ],
    "headings": [
        {
            "level": 1,
            "text": "Ad Inserter"
        },
        {
            "level": 2,
            "text": "What Ad Inserter does on your site"
        },
        {
            "level": 2,
            "text": "Which sites Ad Inserter is a good fit for"
        },
        {
            "level": 2,
            "text": "Ad Inserter strengths and limitations"
        },
        {
            "level": 3,
            "text": "Strengths"
        },
        {
            "level": 3,
            "text": "Limitations"
        },
        {
            "level": 2,
            "text": "The settings we recommend for Ad Inserter"
        },
        {
            "level": 2,
            "text": "Ad Inserter security: a busy year of fixes in 2026"
        },
        {
            "level": 2,
            "text": "Ad Inserter FAQ",
            "id": "faq"
        }
    ],
    "body": "## The essentials\n\n- Best for AdSense-funded blogs that want precise ad placement, down to the paragraph.\n- Main caveat: a dense interface and about fifteen vulnerabilities fixed in 2026 to keep up with.\n- Free; Pro from €20 for 2 sites with a year of updates: statistics, geotargeting, A/B tests.\n\n## What Ad Inserter does on your site\n\nAd Inserter adds whatever code you give it to your pages: Google AdSense or Ad Manager ads, banners, tracking scripts, CSS or PHP. Each piece of code lives in a numbered \"block\" under Settings > Ad Inserter, with an automatic position: before or after the content or a paragraph, between posts on a blog page, between comments, next to an element matched by a CSS selector, or at a `do_action()` hook in your theme. Widgets, Gutenberg blocks and the `[adinserter block=\"1\"]` shortcode cover manual placement.\n\nThe free version adds ad rotation, device detection, include and exclude lists (categories, URLs, cookies, referrers), an ads.txt editor, separate ads for AMP pages, header and footer code, ad blocker detection and visual debugging tools.\n\nThe developer, Igor Funa (Spacetime account on wordpress.org), sells Ad Inserter Pro, a separate plugin that replaces the free one and keeps its settings. Pro adds impression and click statistics, PDF reports, A/B testing, frequency capping, click fraud protection, geotargeting, scheduling, lazy loading, sticky ads and email support.\n\n![Diagram: Ad Inserter works on visitors and bots, wordpress, external services. Public traces: folder name (hidden with Pro); tag IDs (hidden with Pro); CSS classes (still visible).](https://www.wp-feint.com/media/wpm-sheets/ad-inserter/diagram-en.svg?v=84fdecbe)\n\n## Which sites Ad Inserter is a good fit for\n\nAd Inserter is built for publishers who earn from ads and want to decide exactly where they show up:\n\n- **AdSense-funded blogs**: an ad after the second paragraph, away from images, missing from certain categories, all without touching the theme.\n- **Sites that sell their ad slots**: rotating banners, an \"Advertisement\" label above blocks, page-by-page exceptions.\n- **Sites behind a page cache**: rotation and device detection can run in the browser, after the page has been cached.\n- **Several ad networks at once**: AdSense, Ad Manager, Media.net, Amazon or in-house code can live side by side, each in its own block.\n\nIt is the wrong tool if all you need is to paste a tracking tag into the header: a snippet plugin such as [WPCode](https://www.wp-feint.com/features/camouflaged-plugins/wpcode/) is enough. If AdSense Auto ads are all you want, [Site Kit by Google](https://www.wp-feint.com/features/camouflaged-plugins/site-kit-by-google/) can also do the job.\n\n## Ad Inserter strengths and limitations\n\n### Strengths\n\n- **Precise placement, for free.** Paragraphs, images, comments, CSS selectors and theme hooks are all available without paying.\n- **Cache friendly.** Rotation and device detection can run in the browser, in plain JavaScript with no jQuery.\n- **Consent support.** Blocks can wait for a consent cookie or the IAB TCF 2.0 API before inserting any ad code.\n- **Visual debugging.** From the toolbar you can see inserted blocks, available positions and the processing log.\n- **Affordable Pro.** A Pro license starts at €20 for 2 sites, and the plugin keeps working after the year of updates.\n\n### Limitations\n\n- **A dense interface.** Every setting sits on a single page full of tabs and buttons, and some translations are rough.\n- **No statistics in the free version.** Impressions, clicks, A/B tests, scheduling and geotargeting require Pro.\n- **Many vulnerabilities in 2026.** About fifteen CVEs published this year, mostly XSS, mean you need to follow updates closely.\n- **Promotions on the settings page.** The developer’s comparison lists an ad-free settings page as a Pro feature.\n\n## The settings we recommend for Ad Inserter\n\nGeneral settings open from the gear-shaped tab (General Settings) in Settings > Ad Inserter. The labels below are those of the plugin’s English interface.\n\n| Setting | Recommended value | Why |\n| --- | --- | --- |\n| **Remote debugging**  Settings > Ad Inserter > General Settings > Debugging | Disabled (default) | When enabled, it opens the debugging tools to logged-out visitors. Keep it for support requests only. |\n| **Dynamic blocks**  General Settings > General > Frontend | Client-side insert (default) if a caching plugin is active | Rotation, devices and consent cookies are evaluated in the browser, so they stay correct despite the cache. |\n| **Plugin usage tracking**  General Settings > General > Administration | Disabled | When enabled, it sends the developer your site URL, your plugin list and the server IP address. |\n| **Min. user role for ind. exceptions editing**  Same screen | Administrator (default) | Only an administrator can then turn off ads on a post from the editor. |\n| **Access** for each custom page General Settings > General > Custom pages | Administrator (default), or Editor at most | These pages edit fields reused in blocks; opened to every account, they made CVE-2026-81655 possible. |\n| **Process PHP code in block**  PHP button of each numbered block | Off, except for blocks that need it | A PHP block runs on the server on every page view: one error breaks the page. |\n| **Use external scripts**  General Settings > Ad Blocking | Disabled if you wait for visitor consent | That is the developer’s own advice in this case. |\n| **Disable caching for logged in administrators**  General Settings > General > Administration | Enabled (default) | While logged in, you see the real effect of your blocks (WP Super Cache, W3 Total Cache, WP Rocket). |\n\n- Open a post while logged in as an administrator and turn on \"Label Blocks\" in the Ad Inserter toolbar menu: each inserted block should appear framed, in the right position.\n- Log out, clear the cache and reload the page: ads should stay in the same spots.\n- Decline cookies in your consent banner: no block that depends on consent should appear.\n- In Plugins, check that the installed version is at least 2.8.20.\n\n## Ad Inserter security: a busy year of fixes in 2026\n\nAd Inserter prints dynamic content (search terms, titles, referrers) on public pages, which explains a long run of reflected and stored [XSS vulnerabilities](https://www.wp-feint.com/glossary/xss/), plus information leaks through its debugging features. The developer takes reports through the Patchstack disclosure program. The cases most worth knowing:\n\n- **CVE-2023-4668, versions up to 2.7.30**: without an account, the `ai-debug-processing-fe` URL parameter revealed installed plugins, the theme, the WordPress version and server paths (CVSS 5.3).\n- **CVE-2026-81655, versions 2.8.12 to 2.8.18, fixed in 2.8.19**: if a global custom fields page was open to every account, a mere subscriber could save code that was then run as PHP or shown to visitors.\n- **CVE-2026-102905, fixed in 2.8.20**: arbitrary shortcode execution without an account through the search parameter, when a block shown on search pages uses a dynamic tag such as `{title}` (CVSS 6.5).\n- **CVE-2026-105077, fixed in 2.8.20**: XSS exploitable without an account as soon as a user opens a booby-trapped link (CVSS 7.1).\n\nTurn on automatic updates for Ad Inserter in Plugins (see our guide to automatic plugin updates), limit the accounts that can write on the site (see roles and least privilege) and get [plugin vulnerability alerts](https://www.wp-feint.com/features/vulnerable-plugin-alerts/). WP Feint Pro hides the `ad-inserter` folder in file URLs and the `ai` ID on its tags, which makes the plugin harder to spot for bots targeting these flaws without replacing the update; the `code-block` and `ai-*` classes on blocks stay visible in the page code.\n\n## Ad Inserter FAQ\n\n**Does Ad Inserter add its own ads to my site?**\n\nNo. According to its documentation, the plugin only inserts the code you configure, plus a few internal scripts for its features. The ads you see come from your ad networks' code.\n\n**Why do my AdSense ads show up in places I did not choose?**\n\nYou are probably using the AdSense Auto ads code: Google then picks the placements, not Ad Inserter. For precise placement, use a regular ad unit code inside a positioned block.\n\n**How much does Ad Inserter Pro cost, and what happens after a year?**\n\nLicenses cost €20 for 2 sites (your own sites), €30 for 5 sites, €50 for 25 sites and €100 for 100 sites, the last three allowing client sites. After a year, the plugin keeps working, without updates or support until the license is renewed.\n\n## Key facts\n\n- Category: Newsletter, pop-ups and sharing\n- Vendor: Igor Funa (Spacetime)\n- Price: Free; Ad Inserter Pro from €20 for 2 sites, with one year of updates and support\n- Active installations (wordpress.org): 300 000+\n- Version: 2.8.20\n- Official page: https://wordpress.org/plugins/ad-inserter/\n\n## What WP Feint hides\n\n- Handled by WP Feint Pro only\n- With Pro: folder name, tag IDs\n- Still visible: CSS classes",
    "catalog": "ad-inserter",
    "essentials": [
        "Best for AdSense-funded blogs that want precise ad placement, down to the paragraph.",
        "Main caveat: a dense interface and about fifteen vulnerabilities fixed in 2026 to keep up with.",
        "Free; Pro from €20 for 2 sites with a year of updates: statistics, geotargeting, A/B tests."
    ],
    "format": "application/json"
}