Search Knowledge Base by Keyword

How do I install Interstitial ad code on a WordPress based site?

There are many ways to insert interstitial ad code into your WordPress based site. But first of all, make sure to add your site before proceeding with this tutorial.

Note: This tutorial only works for a self-hosted WordPress site and a premium version of the wordpress.com subscription (with its own domain). It will not work for the free version of wordpress.com with or without using own domain name.

This is an Interstitial Ad demo if you need to know how does it display on publishers site (750×500):

There is a number of size of the interstitial ad that you can choose:

  • 750×500 (recommended for laptop/desktop)
  • 400×400 (recommended for laptop/desktop)
  • 300×250 (recommended for mobile)
  • 300×400 (recommended for mobile)
  • 340×480 (recommended for mobile)

1. First, you need to create an ad code. In the publisher dashboard, select ADS CODES and choose the CREATE button. Enter the information that is required to create an interstitial ad code. Then, click the CREATE AD CODE button.

  • Ad Code Name – any name (will not be shown to the targeted user)
  • Ad Code Type – choose CPC/CPM/CPA (Learn more)
  • Targeting Site – choose your added site
  • AdBlock Type – choose Interstitial
  • Select AdBlock – for this tutorial, we will select 750×500
  • Responsive – Yes

2. After clicking the CREATE AD CODE button, you will be directed to the next page. Copy all the ad code in the AD DISPLAY CODE and paste it into a note or any Wordpad. You can also change the text and background color and border type but make sure to save the setting by clicking the UPDATE AD CODE button. Please copy again the regenerated ad code.

3. To insert the ad code into your WordPress site the easiest way, we will guide you by using Insert Headers and Footers plugin for WordPress. It’s an Adsense and IgniterAds compatible plugin. Using WordPress version 5 and above? No worries. We have tested it and works great.

Login as admin in your WordPress dashboard. Go to Plugins and choose Add New. Search for “Insert Headers and Footers” and install and activate it.

4. Now go to Settings and choose Insert Headers and Footers. Paste the ad codes inside the Scripts in Footer field and click Save (technically, it’s between <body> and </body>).

This tutorial is perfect for a plain WordPress theme. If you are using a different theme and facing difficulty, please consult the theme developer.

See Also: Tips On How To Increase Revenue As A Publisher

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents

Leave a Reply

Your email address will not be published. Required fields are marked *