How to make interstitial ads

Interstitial ads are pop-up ads that can be as large as the entire viewable area of a webpage or app. You can use native templates to create interstitial ad items that are tailored to your needs.

How to create a native ad template

  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 then add the variables as needed. To follow this guide, add an Image as an "Image Tag", as well as Height (Number) and Width (Number)
  4. 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:

<div id="ab-background">
<div id="ab-modal">
    <a id="ab-modal-close" onclick="abHandleClose()">
        <img src="https://servedbyadbutler.com/getad.img/?libBID=3288048" alt="close icon">
    </a>
    <a target="_blank" href="[TRACKING_LINK]">[%Image%]</a>
</div>
</div>

<style>
    #ab-background {
           display: block;
           z-index: 1000;
           width: 100%;
           background-color: rgba(69, 69, 69, 0.3);
           position: fixed;
           height: 100%;
           bottom: 0;
           left: 0;
   }
    #ab-modal {
        display: block;
        z-index: 1000;
        position: fixed;
        width: [%Width%]px;
        height: [%Height%]px;
        left: calc(50% - [%Width%]px / 2);
        top: calc(50% - [%Height%]px / 2);
    }

    #ab-modal-close {
        cursor: pointer;
        position: absolute;
        right: 8px;
        top: 8px;
        padding: 8px;
    }
</style>
<script>
    function abHandleClose(){
        document.getElementById('ab-modal').style.display = "none";
        document.getElementById('ab-background').style.display = "none";
    }
</script>

How to create a native 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 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 native ad template in the Template dropdown menu.
  4. Fill in the rest of the fields as needed, then click Save Ad Item.
Read About ad items for more on AdButler's ad item types and their parameters.

Creating an adhesion ad item


Can't find what you're looking for?

Send us an email

hello@adbutler.com

Visit the blog

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