Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Manage Ads in WordPress with AdSanity Plugin

Selling advertising space is one of the best ways to make money online. However, creating, adding, and tracking your ads can become time-consuming and complicated.

That is why we recommend the AdSanity plugin. It is a powerful solution for managing and tracking ads, making it an excellent choice for site owners.

In this article, we will show you how to easily manage ads in WordPress using the AdSanity plugin.

How to manage ads in WordPress with AdSanity Plugin

Why Manage Ads in WordPress With the AdSanity Plugin?

Like billboard owners, many website and blog owners make money online by selling advertising space. However, WordPress doesn’t come with an easy way to manage ads.

Most WordPress themes don’t even have space where you can show advertisements. By default, you will need to edit your theme files to insert ad code into WordPress.

That’s where AdSanity comes in.

This advanced WordPress ad management plugin allows you to show ads anywhere on your WordPress site using ready-made blocks, widgets, and shortcodes. You can even tell AdSanity to show a random ad to visitors without writing a single line of code.

AdSanity comes with built-in reporting and scheduling. It also supports self-hosted ads, HTML5 ads, and external ad networks like Google AdSense.

That being said, let’s see how you can make money online by managing ads with the AdSanity WordPress plugin:

Step 1: Set Up the AdSanity Plugin

First, you will need to install and activate AdSanity. If you need help, then please see our guide on how to install a WordPress plugin.

Upon activation, visit the AdSanity » Settings page in your WordPress admin dashboard and switch to the ‘Licenses’ tab.

After that, add your key to the ‘License’ field. You can find this information under your account on the AdSanity website. With that done, click on ‘Save Changes’.

Adding a license to the AdSanity ad management plugin

Now, you are ready to create ads for your WordPress website. To get started, go to AdSanity » Create Ad.

To start, you must add a title by typing it into the field that shows ‘Give this ad a title’. Visitors won’t see this information, so it’s for your reference only.

Creating an ad for a WordPress website

Next, it’s time to choose an ad type. Your options are Ad Hosted On-Site, External Ad Network, and HTML5.

If you are just getting started, then it’s a good idea to try different types of ads. You can then look at the results and prioritize the types that make the most money.

With that in mind, let’s look at each option in detail.

Ad Hosted On-Site

To start, you may want to build and host your own ad on your website. By selling ads on your WordPress blog, you get to keep all the profits.

You can also use self-hosted ads to promote your own content. This includes products you sell in your online store or your upcoming webinars, conferences, and other events.

To create a self-hosted ad, select the ‘Ad Hosted On-Site’ tab. After that, you can open the ‘Ad Size’ dropdown and choose a size from the list.

Adding a self-hosted advertisement to WordPress

Larger advertisements are more likely to catch the visitor’s attention but can also distract from your site’s content.

After making a decision, you will need to type a URL into the ‘Tracking URL’ field. This is where visitors will go when they click the ad.

By default, the URL will open in the same browser tab. However, you may want to open it in a new tab, particularly if the advertisement is linking to someone else’s website.

For example, if you are linking to an affiliate marketing partner, then you will typically want to check the ‘Open in a new window’ box.

Adding a tracking URL to an online ad

Once you have done that, it’s time to upload the image that AdSanity will show to visitors.

Simply select ‘Set an image’ and then upload a banner or other ad graphic.

Adding an image to a WordPress ad

Finally, you may want to type some information into the ‘Notes’ field.

These notes will only be visible to people who have access to the WordPress dashboard, so it’s perfect for writing quick reminders.

If you run a multi-author WordPress blog, then you can even use the ‘Notes’ field to communicate with other users.

Adding notes to an AdSanity advert

External Ad Network

While you can sell advertising space directly to other businesses, many website owners use an advertising network instead. These networks are often hassle-free because you don’t have to deal with advertisers or worry about collecting money.

Instead, the network decides which ads to place on your site, collects the payment, takes their management fee, and then sends you the rest.

If you are using an advertising network, then click on the ‘External Ad Network’ tab.

Adding external network ads to a WordPress blog or website

You can now type a title into the ‘Title’ field.

After that, you can choose a size for your ads. If you are using Google AdSense, then you may want to see our guide on the highest-performing Google AdSense banner sizes and formats.

Resizing an external network advert in WordPress

You can also see our guide on how to optimize your AdSense revenue in WordPress.

Once you have done that, it’s time to copy the advertisement code provided by your network. The steps will vary depending on the network you are using, but you will often find the ad code by logging into the account you have created with that network.

If you are using Google AdSense, then see our guide on how to properly add Google AdSense to your WordPress site.

When you have the code, simply paste it into the ‘Ad Code’ box.

Adding external network code from a service such as Google AdSense

Finally, you can type any extra information into the ‘Notes’ field.

HTML5 Advertisements

If you want to create multimedia ads featuring a mix of animations, audio, video, and other content, then AdSanity has full support for HTML5. This means you can create engaging, interactive ads using HTML5 and then upload those files to AdSanity.

To add an HTML5 ad to your WordPress blog, simply select the ‘HTML5’ tab.

Adding an HTML5 ad to WordPress

You can now type in a title for the ad.

After that, click on ‘Choose File’ and then select the HTML5 file you want to use.

Uploading HTML5 ad files to a website, blog, or online store

With that done, you need to open the ‘Ad Size’ dropdown and choose how big or small the HTML5 ad should be.

When creating an HTML5 advertisement, we recommend using one of the ‘Responsive’ size options, as these tend to look the best.

How to create responsive HTML5 adverts in WordPress

Finally, you may want to add some notes by typing them into the ‘Notes’ box.

Step 2: Organize Your Advertisements Into Ad Groups

As you create the self-hosted, external network, or HTML5 ads, it’s a good idea to organize those advertisements into groups.

For example, you might create a ‘holiday advertisements’ group for all the campaigns you run during the holiday season. This can make it easier to find a specific ad, even if you have created lots of advertisements for WordPress.

To create an ad group, click on the ‘Add New Group’ link. You can now type in the title for it.

Creating ad groups in WordPress

Just like WordPress categories and subcategories, you can arrange your advertisement groups into parent-child relationships.

By default, all of AdSanity’s groups are parent groups. If you want to create a child group instead, then simply open the dropdown that shows ‘Parent Group’ by default.

Creating parent and child ad groups

You can then select the group you want to use as the parent.

When you are happy with how your advertisement group is set up, click on the ‘Add new Group’ button to save your changes.

To add a self-hosted, external, or HTML5 ad to a group, simply check that group’s box.

Organizing the ads on your website or blog

Step 3: Publish or Schedule a WordPress Ad With AdSanity

When you are happy with your ad, it’s time to make it live. If you want to show the ad right away, then simply click ‘Publish’.

Publishing an AdSanity ad to WordPress

Another option is to schedule the ad so that it will appear on your site automatically later.

This allows you to schedule all your campaigns in advance, which is a great option if you run lots of campaigns or you are a busy business owner with limited time.

To schedule an ad, click on the ‘Edit’ link next to ‘Publish forever.’

Scheduling an ad to go live automatically

You can now set the date and time when the ad will go live.

You can also select when the ad gets removed from your website.

Scheduling advertising campaigns for your website

If you want to keep the ad on your site indefinitely, then click on the ‘Publish Forever’ button.

When you are happy with your schedule, simply click ‘Publish.’

Step 4: Placing the Ad on Your WordPress Website

The next step is placing the ad on your online marketplace, store, or website. You can use shortcode, but using the ready-made AdSanity blocks is typically easier.

To add an advertisement to a page or post, simply open that post or page for editing. Then, click on the ‘Add Block’ (+) button.

Placing an advert on your site using a block

This will open the block menu prompt where you must type in ‘AdSanity.’

You will now see all the different AdSanity blocks that you can use.

Adding AdSanity blocks to a page or post

To add a specific ad, select AdSanity Single Ad.

You can now open the ‘Select an ad’ dropdown and choose the advertisement that you want to show. You can also change the ad’s alignment using the ‘Align’ settings.

Showing a single ad on your website or blog

Another option is to show advertisements from the same ad group. This allows you to display multiple related ads on the same page or post.

To do this, click on ‘AdSanity Ad Group’, which adds the block to your layout.

Adding an AdSanity Ad Group block to your WordPress website

You can then open the ‘Select an ad group’ dropdown and choose the group you want to use.

You can also pick how many ads to show in the block and how many columns to use in the advertising area.

Showing advertisements groups on a WordPress page or post

Finally, you can show a random advertisement from a particular group using the AdSanity Random Ad block.

This is useful if you have created many different ads but have limited advertising space on your website.

In the popup, simply click the ‘AdSanity Random Ad’ block.

Showing random ads on your website or blog

You can now open the ‘Select an ad group’ dropdown menu and choose the group that you want to use.

Once again, you can change the advertisement’s alignment using the small icons in the ‘Alignment’ section.

Managing ads in WordPress using AdSanity

When you are happy with how the page or post looks, either click on ‘Publish’ or ‘Update’ to make the advertisement live.

You can also add the AdSanity blocks to any widget-ready area in your WordPress theme. For step-by-step instructions, please see our guide on how to add and use widgets in WordPress.

If you are using a block-based theme, then you can add an AdSanity block anywhere on your site using the full site editor.

Finally, you can embed a single ad on any page, post, or widget-ready area using a shortcode. Simply head over to AdSanity » Manage Ads and find the ad that you want to show.

You can then go ahead and click on ‘[shortcode]’. This will copy the ad’s shortcode to your computer’s clipboard.

Adding adverts to your WordPress website using shortcode

Now, you just need to add the shortcode to your website. For step-by-step instructions, please see our guide on how to add a shortcode in WordPress.

Step 5: Monitor Your WordPress Ads Using AdSanity and MonsterInsights

After publishing one or more ads, it’s important to do conversion tracking. This allows you to see what’s working and what isn’t. By continuously monitoring and fine-tuning your ads, you should get more clicks and conversions.

If you are showing HTML5 ads or ads from an external advertising network, then you will need to set up AdSanity’s Google Analytics Tracking Addon. This allows you to track views and clicks on these advertisements.

Simply install and activate the plugin, and then follow the onscreen instructions to set up the add-on. If you are using MonsterInsights, then the AdSanity Addon will recognize the connection as soon as you authenticate your Google account, which makes the setup process much easier.

For more information, please see our guide on how to install Google Analytics in WordPress.

For self-hosted ads, you can simply go to AdSanity » Reports in your WordPress dashboard.

Viewing advertisement reports in the WordPress dashboard

Here, you will find the following information:

  • All-Time Summary: The total views and clicks across all your ads, plus the total click-through rate.
  • All-Time Top 10 Clicks: The 10 ads that have got the most clicks.
  • All-Time Top 10 Click-Through Rate: The 10 ads that have the highest interaction rate based on their display rate. Here, you will also find the total views, clicks, and click-through rate.
  • All-Time By Ad Group: The 10 best-performing ads in each ad group are based on views, clicks, and click-through rate.

Alternative: Use AdRotate to Manage Ads on Your Website

If you are looking for an AdSanity alternative, then you can use AdRotate. It is another popular ad management plugin that helps maximize your earnings without ruining the user experience.

It supports both hosted ads with rotating banner ads and network ads and even lets you create ad groups for better management.

AdRotate

Plus, the plugin is also completely free, making it a great choice if you have just started a small business and want to make money online.

It even comes with basic analytics, scheduling, geo-targeting, mobile adverts, and media management.

For detailed instructions, you can see our beginner’s guide on how to manage ads in WordPress with the AdRotate plugin.

We hope this article helped you learn how to manage ads in WordPress with AdSanity. You may also want to see our beginner’s guide on how to properly set up the TikTok ad pixel in WordPress and our expert picks for the best online community platforms.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

12 CommentsLeave a Reply

  1. Dennis Muthomi

    I manage multiple client websites, and the ad group organization tips are super helpful. It’s perfect for handling seasonal campaigns.
    A useful tip I use is I create a separate ad group just for testing new formats and placements. It’s way easier to track performance this way without messing up your main ad groups.
    The reporting feature in AdSanity has been a game-changer for me. I use it all the time to optimize one of my clients’ ad performance.

  2. Ralph

    Can this help me with such scenario?
    I use this for google ads but when company come to me and buy placement on their website for entire month I cant show any other ads.
    Can I swap all the ads with few clicks and then after a month rever it so I show google ads again?

    • WPBeginner Support

      You should be able to using the plugin :)

      Admin

  3. Christopher Glaeser

    We would love to use this plugin for our sites, but it is currently not AMP compliant. Can you recommend a plugin with similar features that is AMP compliant?

    • WPBeginner Support

      We will keep an eye out but for the time being AMP’s base design is not conducive to including ads at the moment.

      Admin

  4. Tonya L

    Does this plugin allow you to place ads based on blog category or tags? In other words, my articles are based on geographic areas and I’d like to only show ads for that geographic area.

  5. Abiodun

    How do one install the Adsanity free plugin? It’s not on the official Wordpress plugin page and the ones I saw on the Adsanity website to download are not free.

  6. Chandan

    One of my blogs is not showing Asynchronous Ads, but Synchronous ads are showing correctly.

    Can you please help me? Blog:

  7. Gilbert de Rooij

    I’m a very happy user of Adsanity. And since some time I’m using Google adsense. Didn’t use Adsanity for Google adsense but suddenly the plugin shows a google ad in the Adsense Group widget. It should appear somewhere else and not in the widget. What could be going on? Is it a temporary cache problem? Hope someone can help me.

  8. vtmiller

    This looks simple but what if one wants more functionality like pre-populating or controlling the # of impressions shown for each ad (aka: pre-sold campaign to a client) or scheduling ad start/stop dates for say weekly or monthly fixed fee ad buys? Any plugin suggestions for this?

    • Brandon Dove

      AdSanity doesn’t have impression-based scheduling, but it does have start/stop scheduling capabilities. You could also use a programmatic filter to automatically add ads to post content.

    • Karen Ratte

      Try Adrotate.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.