=== WordPress Ad Manager & AdSense Ads - Ad Inserter === Contributors: spacetime Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4 Tags: ads, adsense, ad rotation, ad manager, amp, amazon, ad blocking detection, header code, banners, adverts, sticky fixed widgets, dfp, DoubleClick for publishers Requires at least: 4.0 Tested up to: 5.1 Requires PHP: 5.6 Stable tag: 2.4.13 License: GPLv3 Manage ads: Google AdSense ads, Amazon banners, ad rotation, sticky widget ads, AMP ads, DFP ads, PHP, tracking, AdSense header and footer code == Description == Ad management plugin with many advanced advertising features to insert ads at optimal positions. Supports all kinds of ads including **Google AdSense ads**, **Google Ad Manager** (DFP - DoubleClick for publishers) ads, contextual **Amazon Native Shopping Ads**, **Media.net ads** and **rotating banners.** This plugin is more than AdSense plugin or plugin for ads. It provides many advanced options to insert opt-in forms, header scripts, AMP ads, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page. **Ad Inserter can insert ads where other plugins fail**. It's all about the [settings](https://adinserter.pro/documentation). Average Rating: 5 out of 5 stars - check Ad Inserter reviews > One of the best adsense plugins [...](https://wordpress.org/support/topic/one-of-the-best-adsense-plugins/) > Most comprehensive Ad plugin available [...](https://wordpress.org/support/topic/most-comprehensive-ad-plugin-available/) > Better than the old Google adsense plugin [...](https://wordpress.org/support/topic/better-than-the-old-google-adsense-plugin/) > The best WP Ad management plugin [...](https://wordpress.org/support/topic/the-best-wp-ad-management-plugin/) > Very flexible and excellent documentation [...](https://wordpress.org/support/topic/very-flexible-and-excellent-documentation/) > Excellent Ad Plugin [...](https://wordpress.org/support/topic/excellent-ad-plugin-2/) > Easy to use and also does more than I need [...](https://wordpress.org/support/topic/easy-to-use-and-also-does-more-than-i-need/) > Exactly what I needed to sell advertising spots [...](https://wordpress.org/support/topic/exactly-what-i-needed-to-sell-advertising-spots-on-our-site/) > Awesome Plugin and Super Support! [...](https://wordpress.org/support/topic/awesome-plugin-and-super-support/) > Lots of options and easy to use [...](https://wordpress.org/support/topic/lots-of-options-and-easy-to-use/) > Crazy flexible [...](https://wordpress.org/support/topic/crazy-flexible/) > Great plugin that makes it simple [...](https://wordpress.org/support/topic/great-plugin-that-makes-it-simple/) > Superb Plugin and Support team also so good [...](https://wordpress.org/support/topic/superb-plugin-and-support-team-also-so-good/) > Best in same kind of plugins [...](https://wordpress.org/support/topic/best-in-same-kind-of-plugins/) > Must Have Plugin for Each WP Site [...](https://wordpress.org/support/topic/must-have-plugin-for-each-wp-site/) > Best Ad Placement Plugin [...](https://wordpress.org/support/topic/best-ad-placement-plugin/) > Best Solution for Advertisement Management [...](https://wordpress.org/support/topic/best-solution-for-advertisement-management/) > Comprehensive, flexible and well supported [...](https://wordpress.org/support/topic/comprehensive-flexible-and-well-supported/) > God bless these guys! [...](https://wordpress.org/support/topic/god-bless-these-guys-2/) > PRO for Free [...](https://wordpress.org/support/topic/pro-for-free/) Looking for AdSense plugin with simple setup for ads at best positions? A plugin for Amazon ads and Google Analytics code in the header? **Features** - check [documentation](https://adinserter.pro/documentation/features) for the complete list * Enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads) and get powerful AdSense plugin * Support for [Google Ad Manager](https://adinserter.pro/documentation/ad-manager-ads) (DoubleClick for publishers) ads * Syntax highlighting [editor](https://adinserter.pro/documentation/code-editing) * Code preview with visual CSS editor * Automatically inserts ads on posts and pages * Insert ads before or after post * Insert ads before or after content * Insert ads before or after paragraph * Insert ads before or after random paragraph * Insert ads before or after multiple paragraphs * Insert ads before or after image * Insert ads before or after comments * Insert ads before or after excerpt * Insert ads near any element on the page (using CSS selectors) * Insert ads above the header (after `
` tag) * Insert ads in the footer (before `` tag) * Insert ads at relative positions in posts * Insert ads between posts on blog pages (in-feed AdSense ads) * Insert ads between excerpts on blog pages * Insert ads between comments * Insert ads at custom hook positions (`do_action ()` WP function) * Insert ads before or after any HTML element using CSS selectors * Visual HTML element selector (DOM explorer) * Avoid inserting ads near images or headers (AdSense TOS) * Disable ads on individual posts or pages * Insert header (`` section) and footer code * Insert raw HTTP response header lines * Insert Google Analytics, Matomo (Piwik) or any other tracking code * Insert images, HTML, CSS, Javascript or PHP code * Code generator for banners and placeholders * Code generator for AdSense ads * Visual advert editor - create ads from scratch * Manual insertion: widgets, shortcodes, PHP function call * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled) * Custom alignments and styles for ads * Insert ads (different ad code) on AMP pages * Custom CSS class name for wrapping divs to avoid ad blockers * Use shortcodes from other plugins * Use custom fields as defined in posts * Use post title, tags or category names to create contextual ads * PHP code processing * Ad labels - show customized label above ads * ads.txt editor * Ad rotation (server-side and client-side - works with caching) * Timed ad rotation - define times to rotate ads in a single ad block * Create rich media ads with standard WordPress TinyMCE editor * Ad blocking detection - popup message, page redirection * Desktop/mobile device detection (server-side and client-side - works with caching) * [Blacklist/Whitelist](https://adinserter.pro/documentation/black-and-white-lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referrers * Easy copying and pasting ads or settings using internal clipboard * Simple troubleshooting with many debugging functions * Function to visualize inserted blocks and ads * Function to visualize AdSense ads with ad names and IDs * Function to visualize available insertion positions * Function to visualize HTML tags * You name it :) [Ad Inserter review](https://wpmayor.com/ad-inserter-review-the-best-wordpress-ad-management-plugin/) on WP Mayor > The Best WordPress Ad Management Plugin? [Ad Inserter review](https://www.shoutmeloud.com/ad-inserter-review.html) on ShoutMeLoud > Both Google and Amazon recommend this plugin for inserting ads, which is a testament to its quality **Endorsed by Google** Google lists Ad Inserter plugin as possible solution to place code for AdSense ads into your WordPress site. Ad Inserter is a perfect plugin to place code for Google AdSense ads at top positions for optimal monetization of your website: ordinary AdSense ads (ad units), AMP ads, Auto ads (page level ads), In-feed ads, in-article ads, responsive ads, AdSense ads that need page-specific header code, etc. > If you're new to AdSense, one of your first tasks is to connect your site to AdSense. This requires you to copy the code on your AdSense homepage and paste it into the HTML of your page, between the `` and `` tags. Check [How to insert ad code in your WordPress site](https://support.google.com/adsense/answer/7527509). Advanced users can enable [AdSense integration](https://adinserter.pro/documentation/adsense-ads#integration): import AdSense ads from the plugin settings page - no need to copy codes for AdSense ads from the AdSense admin pages. List ad units, preview AdSense ads and get ad codes where you need them. **Endorsed by Amazon** Amazon suggests to use Ad Inserter to add Native Shopping Ads to Wordpress posts. > Native Shopping Ads provide highly relevant and dynamic product recommendations in a stylishly designed and responsive ad unit that can be placed at the end or within your content to create a more compelling visitor experience and shopping opportunity. Check Wordpress Integration Guide for Native Shopping Ads. Ad Inserter supports also advanced contextual ads: check settings for contextual Native Shopping Ads that show ads with items related to the post content (using post tags). If you need statistics for ads and metrics for impressions and clicks, A/B testing, lazy loading ads, sticky ads, slider ads, pop-up ads, geotargeting or geolocation to serve country-specific ads, functions to protect content from users using ad blockers, functions to serve different ads for users using ad blockers, multisite options to limit settings for ads, to block some IP addresses, to schedule ads, there is **Ad Inserter Pro** - all-in-one WordPress ad management plugin with many [advanced features](https://adinserter.pro/documentation/features): * Geolocation using Webnet77 or [MaxMind](http://www.maxmind.com/) databases (works also with caching) * Country, state, region and city level geotargeting * Blacklist/Whitelist IP addresses or countries/cities (works also with caching) * Ad impression and click statistics (works also with `