How To Add Ads To WordPress

On This Page,You can easily know about How To Add Ads To WordPress.

Google Adsense is a program is run by Google. The program allows the publishers around the Google network of content sites to offer automatic text, video, images, advertisements to name a few. All of this is directly targetted towards the site content and the audience. is a leading global advertising technology company that develops innovative products for
both publishers and advertisers. It provides the full spectrum of advertising and traffic monetization
solutions to its large, diversified client base worldwide, and has one of the most comprehensive ad tech
portfolios in the industry. Ad Manager plugin for WordPress allows you to insert Ad Code in simple, easy to
follow process. It allows you to insert the Ad Code in different types of pages:

  • Article pages
  • Archive pages
  • Category pages
  • Search pages
  • Static page
  • Home page

The Ad Manager provides an ability to place your ad on any of the pages at the following

  • Above post
  • Below post
  • In-content
  • Above Sidebar
  • Below Sidebar

What is company?

In its simplest form: 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.

Is really pay?

Yes, it is definitely! You may have read some myths about or whether is it a legit company and so on… The truth is that is definitely a legit company and second largest Contextual Ad Network, of course after Google’s Adsense.

What is more interesting here is that some big even bigger websites use like WebMD because of its high paying potential.

Benefits of using Advanced Ads to place ads on your WordPress site

Before we get into the step-by-step walk-through of how to integrate with Advanced ads, let us spend a moment to consider the benefits of doing so. You could, after all, integrate manually or using their plugin as well.

Higher revenue opportunities through various display networks

When you use Advanced Ads, you’re never limited to one ad network only. Instead, you can both rotate and test several ad networks against each other at the same time, thereby maximizing revenue.

The truth is, most ad networks capture one piece of the market, but not another. By placing ads from one ad network manually or with a dedicated plugin provided by that ad network on your site, you’re essentially constraining your demand for a given placement to the requests which that particular network can supply.

Not so with Advanced Ads. Thanks to placements, you can create as many ads as you’d like for each network you’re working with and rotate ads or even groups of ads within one placement.

You can also set up weighted rotations. They allow you to balance how much traffic you end up sending to one particular network. As pointed out below, works excellent for the UK, Canadian, and US markets. But what if your site has a 30%-70% split of the UK vs. Dutch traffic? You’d still want to leverage, as it can increase your revenue but without devoting an entire placement to it.

Use placements in Advanced Ads and ensure that your ads rotate against targeted ads from some other network or your direct-sold ads, with a weight of 30%. That way, you’ll know you’re only sending 30% of your traffic to Of course, you’ll be able to optimize the rotation later based on your results.

Set up your ad units

We will start working on

If you do not already dispose of a account, you’ll have to sign up. Before you do so, you may want to check’s guidelines for admission to the program here.

One requirement worth noting is that most of your traffic comes from the US, the UK, or Canada. These are also the markets for which they can provide the largest ad supply. Once you’ve applied, your application will take a couple of days to be reviewed. So be sure to factor in the extra time if working on a time-sensitive launch.

Once approved, at login, you’ll end up on’s dashboard. dashboard

From there, you’re ready to head over to the “Ad units” tab and select “Add New”. However, keep in mind that you can paste your code only on an approved domain.

So, let’s imagine that you’re working with two sites, i.e., and Most likely, at the time of your application, you only submitted But now that you’ve gotten up and almost running, you want to create tags for both and Well, be warned: the tags won’t work on until also approved this second domain.

If this sounds like you, just go to the Sites tab, and hit “Add New” to add your new site. Do keep in mind that each site you add will have to go through a review process, as explained above.

new ads

Next, you’ll be prompted to give your ad unit a name. Select a size and establish if the ad unit should be responsive. As usual, make sure to develop some rules of nomenclature.

For example, you could call this ad unit “media.net_mysiteaa_Adsize_Placement”. Descriptive titles are especially relevant if you’re working with a sizable number of ad networks, websites, and ad sizes.

Ad sizes recommends any of the following as their best-performing sizes:

  • 300×250
  • 600×250
  • 728×90
  • Responsive Mobile Docked Unit

Those might be suitable sizes to start with. But of course, you should weigh that against the design of your site. For more details, check out our Ad formats section below.

new ad unit in

Note that the “Sticky Mobile Docked Unit” option is enabled by default. We recommend leaving that activated as it will allow you to run the same ad unit at the bottom of your mobile screen, much like you’re probably used to seeing on mobile apps.

Hit “Save” and get ready for the next step: getting the header code and pasting it into Advanced Ads.

Getting header and body tags

Once you hit save, you’ll be automatically directed to the “Get code” page, which also makes accessible from the Ad Units dashboard. The code is, as expected, unique for each ad unit. It can be rendered as “synchronous” or “asynchronous”.

As we suggest in this article on page speed, you should use “asynchronous” tags as much as possible. They load separately from your page content and therefore decrease latency.

You’ll notice that the code consists of two parts: a header tag and a body tag. Both are necessary for optimal performance. Use the same option, synchronous or asynchronous, for both.

We’ll look first at how to implement the header tag, and later in the tutorial, on how to paste the body tag. Do keep in mind that if you were to paste the body tag on your site without its matching header tag, you’d probably end up with a blank space. Not pretty!

So, make sure your preferred option is selected, and then hit “Copy Code” next to the header tag.

copy code in

Integrate codes in Advanced Ads

We have already published a comprehensive article on how to handle header codes in WordPress with Advanced Ads. It’s a worthy read, but for this tutorial, what’s essential to know is that you’ll need to have created in Advanced Ads at least one ad unit and one placement. To make both, follow these instructions.

Add the header tag 

1. Go to Advanced Ads > Ads > New Ad.
2. Select the ad type Plain text and code if it is not already pre-selected and insert the code which you have copied from
3. Give your ad a title, e.g., “ Code”.
4. Publish this ad and create a new placement for it.
5. Go to Advanced Ads > Placements, choose the header code placement from the list, and select your ad unit.

Here’s how the header tag looks like when pasted inside my “Media.net_Header Code” ad unit. header code

And below, you can see that same ad unit saved into my “Header Code” placement.

Note that I’ve chosen the header code placement type, which you can quickly tell apart thanks to its icon. header tag

Place the body tag

Next, we can paste the “body tag” supplied by into one of my ad units, exactly where we want the actual ad to appear.

It would be best if you still had your account opened. Copy your body tag code of the ad unit from the “Get code” tab, as shown in the image above.

To apply it to the ad unit of your choice within Advanced Ads, proceed as follows:

1. Go to Advanced Ads > Ads > New ad.

2. You can keep the Wizard enabled or click on Stop Wizard to see all options on the same page.

3. Enter a title for the ad.

4. Choose the Plain text and code ad type, as shown below.

plain text and code ad type of

5. When done, hit “Next”.

6. Paste the ad code from, indicating the size you’ve chosen. In the example below, you’ll notice it’s 970×90. size

7. Optionally, assign some visitor or display conditions. For example, you could add the “Specific Pages” condition to never show this ad on your contact page.

8. Select a placement where you want to display the ad, either existing or new, as shown below. placement

At this point, your ad should be ready to appear!

Leave a Reply