Press enter to see results or esc to cancel.

Ad Networks

On this page you can find description of some popular ad networks for publishers with typical settings for Ad Inserter. If the ad network is not listed here you can can still insert ad codes as Ad Inseter can insert any HTML/Javascript ad code. Check documentation pages of your ad network and then find suitable insertion position for your ad code.

Google AdSense

AdSense is a free, simple way to make money online by placing ads on your website. Google AdSense is a program run by Google that allows publishers in the Google Network of content sites to serve automatic text, image, video, or interactive media advertisements, that are targeted to site content and audience. For WordPress publishers this means that you show AdSense ads on your website and when your visitors click on the ad you get paid.

google adsense

Since this is very likely the most popular ad network for publishers, Ad Inserter has a dedicated support for AdSense – AdSdense ad codes and Ad Inserter settings.

Amazon Associates

Affiliate marketing is a type of performance-based marketing in which a business rewards one or more affiliates for each visitor or customer brought by the affiliate’s own marketing efforts. For WordPress publishers this means that you show affiliate ads on your website, ads show some products, your visitors click on the ads and if they purchase the product you get a commission.

Amazon Associates is one of the largest affiliate marketing programs in the world. The Amazon Associates Program helps content creators, publishers and bloggers monetize their traffic. With millions of products and programs available on Amazon, associates use easy link-building tools to direct their audience to their recommendations, and earn from qualifying purchases and programs.

amazon associates

To insert code for Amazon ads sign in to Amazon Associates, go to Widgets/Widget Source, choose ad type and set parameters. Then simply configure one Ad Inserter block with this code and insert it where you would like to have ads. For example, the best place to show Amazon Native shopping ads is After content on posts

Check also few different approaches to dynamically show related Amazon products – ads that show products related to the page content. If you would like to learn about affiliate marketing there are many great online resources and books. is a leading global advertising company with one of the most comprehensive portfolios of advertising technology in the industry across search, native, display, mobile, local, products and video. manages high-quality ad supply on over 500,000 websites and its platform and products are licensed by some of the largest publishers, ad networks and other ad tech companies worldwide. By market cap, is one of the Top 5 largest ad tech companies worldwide. By revenue, is the second largest contextual advertising business worldwide. is a very good AdSense alternative.

For WordPress publishers this means that you show ads on your website and when your visitors click on the ad you get paid. To insert code for ads sign in to, generate ad codes, pleace the head code in the header and finally configure one Ad Inserter block with body code and insert it where you would like to have ads.

Responsive ad means that it will resize according to the available width, otherwise the ad size will be fixed as configured.

For ads you’ll get two codes. Place head code in head tag across website – make sure you use your code as it contains IDs. It’ll remain the same for all ad units. An example of header code:

<script type="text/javascript">
    window._mNHandle = window._mNHandle || {};
    window._mNHandle.queue = window._mNHandle.queue || [];
    medianet_versionId = "2124129";
<script src="" async="async"></script>

Example of body code – the code that will show the actual ad:

<div id="754416427">
  <script type="text/javascript">
    try {
      window._mNHandle.queue.push (function (){
          window._mNDetails.loadTag ("754416427", "300x250", "754416427");
    catch (error) {}

Please note that the code above uses div ID – a unique identifier. If you are inserting a block with such code more than once (for example, between posts) only the first insertion will work – ads for other insertions may be displayed where the code for the first insertion is placed. To fix the issue you need to automatically generate unique IDs. To do this add block counter shortcode [ADINSERTER counter='block'] to the id, for example:

<div id="754416427-[ADINSERTER counter='block']">
  <script type="text/javascript">
    try {
      window._mNHandle.queue.push (function (){
          window._mNDetails.loadTag ("754416427-[ADINSERTER counter='block']", "300x250", "754416427-[ADINSERTER counter='block']");
    catch (error) {}

This way each time the block will be inserted, the ID will contain also block insertion counter so it will be unique.

Since the shortcode has an attribute and is inserted inside an HTML id attribute, it uses single quotes for the counter attribute value.


Ezoic is a Google award-winning platform for publishers. Ezoic was inspired by the idea that with the growing complexity of the digital ecosystem, many publishers struggle to make critical decisions. With so many competing priorities and goals to balance, publishers needed an objective way to optimize, streamline, and balance all the elements that make digital publishers successful. Today, Ezoic is an innovative industry leader in machine learning. They help their users to manage and automate the tests and adjustments needed to maximize a site’s true potential.


Insert Ezoic placeholders

For Chrome users: go to Chrome web store and install Ezoic Ad Tester Chrome extension. It will help you to view and create Ezoic Ad Tester placeholders on your site.

Log into your Ezoic dashboard and click Monetization. Scroll down until you reach the Ad Tester section. Select New Placeholder. Select name, position, options and create the placeholder. Copy the code and paste it into Ad Inserter block. An example of Ezoic placeholder:

<!-- Ezoic - bottom_of_page - bottom_of_page -->
<div id="ezoic-pub-ad-placeholder-123"></div>
<!-- End Ezoic - bottom_of_page - bottom_of_page -->

Set insertion options – where the block with the placeholder code will be inserted. Use either one of the automatic insertions or manual insertion for the widget or shortcode. Repeat the process for other placeholders. For details check Ezoic guide for WordPress Ad Inserter plugin and watch the video below.

To visualize the inserted blocks you can also use debugging function Label blocks.

Infolinks Ads

Infolinks is a global advertising platform offering ad solutions for both publishers and advertisers. Online advertisers utilize the Infolinks Self-Serve Marketplace to customize their own campaign. Advertising with Infolinks means delivering brand messages to engaged users. You can also use Infolinks ads in addition to AdSense or ads.

Add Infolinks Ads with Adsense to earn More Money

First you need to sign up as an Infolinks Publisher. This is quick and easy process, all you need to do is to fill out a short form. Infolinks team will review your application within 48 hours. Upon approval you will be able to integrate the Infolinks script into your web pages.

Once you’ve been approved you can login to the Publisher Center and configure Ad Inserter with codes for Infolinks ads.

AdMobby Ads

AdMobby is a global advertising platform offering ad solutions for both publishers and advertisers. AdMobby Advertisement is an Online advertising platform developed by AdMobby, where advertisers pay to display brief advertisements, service offerings, product listings, video content.


Publishers – Online bloggers, website and Mobile App owners monetize their websites with admobby while keeping the look & feel of their sites undisturbed. Admobby publishers can select their winning Admobby ad combination from our ad unit options: Contextual Ads and Video Ads. It takes less than a minute to integrate Admobby on a publisher’s site.

After AdMobby publisher account has been verified go to your AdMobby dashboard and download the ads.txt file. Open it, copy it and add it to Ad Inserter on your WordPress website. Then add code into Footeruse the code as provided by AdMobby. AdMobby footer code looks like this:

<!-- JQuery -->
<script type="text/javascript" src=""></script>
<!-- AdMobby JS -->
<script ad-client="327252" async src=""></script>

Use the footer code as provided by AdMobby – the footer code contains your Ad Client number.

Most WordPress installations already load jQuery library. In such case you may omit jQuery from the footer script.

Now you need to configure individual ads. For each ad use one block, paste the ad code and set insertion options – where the block with the placeholder code will be inserted. Use either one of the automatic insertions or manual insertion for widget or shortcode. Repeat the process for all ads you need to place on your website. An example of AdMobby ad code:

<div ad-type="larger" ad-data="picture"></div>

See the Attributes reference in your AdMobby dashboard to know what other functions you can use and how to define ad sizes. For example:

  • code for 728×90 image ad:

    <div ad-type="leadboard" ad-data="picture"></div>

  • code for 336×280 video ad:

    <div ad-type="larger" ad-data="video"></div>