Skip to content

Manage Ads Easily and Effectively on Your WordPress Site


There are many ways to monetize your WordPress site or blog. Running ads is one of them. But in order to make it work, you need to create an advertising management  strategy first.

Having used ad management on our site for a long time, I know how important it is. You don’t want to just start slapping up ads all over the place. Folding in, of course, your site, your readers and your goals, it’s key you have the ability to control those ads effectively and easily.

AdSanity Plugin for WordPress: Easily Manage The Ads on Your WordPress Site

AdSanity is a popular plugin that sites in the WordPress space have been using for some time. It’s intuitive and they offer extended features in their packages. In this post I will be including all add-ons, both basic and pro, to show you just how powerful and easy to use.

General Settings

In these settings there are a few options, two that you may want to take advantage of: who can view the tracking in the back-end, and entries for ads.txt. The latter helps you avoid counterfeit ad networks selling fictitious ads. by giving you a chance to specify which ad networks you are using to sell advertising spots on your site.

general settings

You can choose where you want your ads to display on posts, pages or wp_block. You can also create an ad group which I will talk about later.

display options

Creating an Ad

You can create four different kinds of ads:

  • Ad Hosted On-Site
  • External Ad Network
  • HTML5
  • Configure vi stories

For each of these, you have a wide variety of sizes to use, including responsive.

ad sizes

Ad Hosted On-Site

For the first example, I have added some info. Some ads run on your site without any external influence. You will upload an image easily into the ad as I have done and create  a Tracking URL. And if you have the pro add-on for Google Analytics Stats, you will get a view of your stats on that specific ad.

You can also add any of your own notes here—or those of or someone who is helping you manage your ads. I find this piece very useful because there are times I need to make notations on changes, etc that will help me remember what I did to the ad.

image for ad creation

External Ad Network or Text Ads

If you are using an external network, you get many of the same options, plus a spot to drop in the code. Or you can create your own text ads using HTML. This is a great alternative if you don’t want to use an image. For instance, you might want some ads to be more text-based.

external ad network


Html5 Ads are similar to mini web pages and require multiple file types to the ad display and features. They are packaged and created by ad developers, but there may come a time you choose to create one yourself, or have someone create one for you. Whatever the case, AdSanity makes it easy to install one.

html5 ads

Configure vi stories

If you are using video intelligence for you ads, this gives you the opportunity to take full advantage of them. Here is a brief description for those who are new to this and they do have a site where you can learn more about it.

You will then need to create an account to start using this kind of advertising.

configure vi stories

Once you have created and connected to your account, you will now be able to add your video as well as do some customizations here.

vi setup

Limited Publication of Ads

When you create any of these four ad types, you can also publish them to show only during a specific time duration.

date of ad

Having Control Over Where and When Your Ads Display

If you have the conditional logic pro add-on, this would appear at the end of each of the four previous ad creation pages. From someone who uses advertising plugins on their site, I can tell you that it’s almost impossible to live without conditional logic to control your advertisements.

conditional logic

In case you are not familiar with what conditional logic is, in a nutshell, it’s: if this happens, then this other thing will happen. And here are all the variables that you can use, so it gives you a fine-tuned control of where ads will appear.

conditional variations

Let’s say I have an ad for hosting. I write a lot of content and naturally, I want the ad to show up to the right audience. So by using post taxonomies, or categories, I can choose the posts assigned to those categories. In the example below, I have chosen three categories: web design, WordPress and development. The post would then have to be assigned to all three of this categories in order for the ad to display.

conditional ad using categories

I could show you tons more examples but you get the idea. It can be as narrow as a single post or two, a post type, or any of the other variables I showed you in the screenshot above.

User Role Ad Visibility

Speaking of controlling who sees the ad, you can also do this by user roles, which is a pro add-on for the plugin. There are many instances where this comes in handy. For one example, let’s say you have protected content on your site that people pay access for. But on your blog, you run ads asking people to join your site. Well, you probably wouldn’t want your members to see the ads, so typically you would assign subscriber for the role. Then if you toggle Subscriber, your members won’t see the ads.

role visibility

Custom Ad Sizes

Using this free add-on, you will have even more control. I showed you all the ad sizes that are include, but you can also edit or add more if needed.

add ad sizes

Ad Groups

You can create ad groups by simply adding a category to organize them in. This could be anything from a group of similar products that you want to target to several that would compliment each other.

ad groups

When you are creating an ad, just add it to a group like you would add a post to a category.

assign ad to ad groups

Rotating Ads

Rotating ads, a pro add-on, can work in some cases and you will need to toggle them on. Be sure you know whether your advertisers’ terms and conditions allow for their ads to be included in a rotation.

rotating ads

Inserting Ads

There are several ways to insert ads into specific locations on your website.

Widget Areas

You can use any of the AdSanity specific widgets to insert single ads, groups, rotating ads, random ads or select ads.


Inserting into a Page or Post with a Shortcode

You can also insert ads into a post, page or any other custom post type using these tools to insert a shortcode.

icons to insert shortcode

You can insert ad, insert ad group, insert rotating ad and insert ordered ad group.

insert shortcodes

Placing an Ad in a Block

To place an ad into an block in the editor window, you will need to copy the shortcode for the ad.

This can be found in a couple of places. First, on the page where you created the ad:

shortcode embed on ad page

Or on the page where you manage all your ads:

shortcode from list of ads

Once you have copied it, add the shortcode block to your post or page.

shortcode block

And paste the shortcode in:

paste shortcode into block

Also note that if you just paste the shortcode into a text block, for example, the shortcode block will automatically be inserted.

Ad Block Detection

This pro add-on is an interesting option for this plugin. It will basically either show a message or redirect the user if they are using an ad blocker on their browser. You also have a couple of warning modes.

ad blocker detection settings

Contacting Advertisers on Expired Ads

You can add your advertisers and assign ads to them.

assigning advertisers

When their ad is about to expire, you can set up a notification to them. This pro add-on will save you a ton of time keeping track of ads expiring.

advertiser notifcation

Reports on Ads

I don’t have any data to share with you, but you can see the overall picture you get for an all-time summary, top 10 clicks and top 10 click-through rates.

reports dashboard

You can also create custom reports for a date range or by specific ads.

reports custom

If you are running ads on your WordPress site, it is critical to have something in place to manage those ads. Just popping them around in various spots won’t do it for you. Your own strategy will develop over time, depending on what works and how your readers interact with ads.

If you are looking to monetize your site with ads, I highly recommend that you get something in place. As you can see from the features I have shared with you, AdSanity is a top-notch option.

Trust me. If you get a plugin like this in place, you will find tons of other creative ways to monetize your site.

Leave a Comment