How to make interstitial ads

Interstitial ads are pop-up ads that take up the viewer's screen for a few seconds before giving way to the content on a page or app. It can be as large as the entire viewable area of a page or app. You can use native templates to create interstitial ad items that are tailored to your needs.

A sample interstitial ad

In this guide, we're going to create a simple interstitial ad. You can customize the sample HTML code to fit your needs.

How to create an interstitial native template

This template will require the user to provide the URL to where the image creative is hosted when creating the interstitial ad item.

  1. Click Templates in the left navigation menu to go to the Templates section.
  2. Click Create New in the Native Ad Templates table. The New Native Ad Template page will appear.
  3. Name your template.
  4. Add an image URL variable for the image that will be in the ad. In our sample code we called this variable ImageURL.
  5. Enter the code in the HTML/Script field, then click Save template.

Creating an interstitial ad native template

Here's the code we used in our example:

<!DOCTYPE html>
<html lang="en">
    <script src=""></script>
    /* The Modal (background) */
    .modal {
        display: block; /* Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 1; /* Sit on top */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

    /* Modal Content/Box */
    .modal-content {
        position: relative;
        margin: 15% auto;
        width: max-content;

    /* The Close Button */
    .close {
        position: absolute;
        right: 0;
        color: #000000;
        font-size: 22px;
        font-weight: bold;
        background: white;
        padding: 0px 5px;
        border-radius: 36px;
        margin: 3px;

    .close:focus {
        text-decoration: none;
        cursor: pointer;
    function closeButton() {
<!-- The Modal -->
<div id="myModal" class="modal">

    <!-- Modal content -->
    <div class="modal-content">
        <span class="close" onclick="closeButton()">×</span>
        <a target="_blank" href="[TRACKING_LINK]">
            <img src="[%ImageURL%]" style="width:100%">


How to create a native interstitial ad item

  1. Go to the section of the relevant zone (Your AdButler > Publishers > Your Publisher > Your Zone) or campaign (Your AdButler > Advertisers > Your Advertiser > Your Campaign).
We recommend assigning native ad items and campaigns with native ad items to dynamic zones.
  1. Click Add New in the Ad Items table. The Add Ad Item window will appear.
  2. Click Native. The New Ad Item page will appear.
  3. Select your interstitial native ad template in the Template dropdown menu.
  4. Fill in the rest of the fields as needed, including the image URL. If you entered a destination URL, you can test it by clicking Open Destination URL to the right of the field.
  5. Click Save Ad Item.
Read About ad items for more on AdButler's ad item types and their parameters.

Creating a native interstitial ad item

Can't find what you're looking for?

Send us an email

Visit the blog

For more ad serving tips, industry news and AdButler insights.