How to make adhesion ads

Adhesion ad units stick to the bottom or top of the page and remain at the forefront of the user's device as they scroll. You can use native templates to create adhesion 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 tag called "Image Tag".
  4. Enter the code in the HTML/Script field, then click Save template.

Creating an adhesion ad native template

Here's the code we used in our example:

<div id="ab-bottom-wrapper">
            <div id="ab-bottom-icon">
                <a id="ab-icon-close" onclick="abHandleClose()">
                    <img src="" alt="close icon">
            <div id="ab-bottom-image-wrapper">
                <a target="_blank" href="[TRACKING_LINK]">
                display: block;
                z-index: 1000;
                width: 100%;
                background-color: rgba(69, 69, 69, 0.3);
                position: fixed;
                height: 90px;
                bottom: 0;
                left: 0;
                margin-left: auto;
                margin-right: auto;
                max-width: 728px;
                height: 90px;
                display: block;
            #ab-bottom-image-wrapper > a > img{
                height: 100%;
                position: absolute;
                right: 0;
                cursor: pointer;
                margin-bottom: 0;
                overflow: hidden;
                width: 25px;
                height: 25px;
                margin-right: 0;
                font-family: Arial,sans-serif;
                font-size: 14px;
                z-index: 1001;
                color: #000000;
                z-index: 1000;
                width: 50px;
                height: 50px;
                margin: 0;
                -webkit-tap-highlight-color: rgba(0,0,0,0);
                -webkit-user-select: none;
                max-width: none;
            function abHandleClose(){
                document.getElementById('ab-bottom-wrapper').style.display = "none";

How to create a native ad item

  1. Go to the dashboard 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

Visit the blog

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