How to make ads with a text overlay

Advertisers often promote their services on client ads using a text or hyperlink overlay. You can easily create this in AdButler using native ad templates and native ad items.

A sample text overlay ad

This feature requires the Enhanced Ads add-on. For more information on adding add-ons to your subscription, read How to change your subscription.

In this guide, we're going to create a simple image ad with a hyperlink overlay. You're free to add other variables in your template and customize your overlay in your code.

How to create a text overlay native ad template

This template will require the user to provide the image tag for the creative as well as the tracking link when creating the text overlay ad item.

  1. Click Native Ad Templates in the left navigation menu to go to the Templates section.
  2. Click Add Native Ad Template in the Native Ad Templates table. The New Native Template window will appear.
  3. Click Custom Rendering/API. The New Native Ad Template page will appear.

Selecting a native template type

  1. Name the template then add an image tag variable for the image that will be in the ad and a URL (Encoded) variable for the tracking link. In our sample code we called these variables Image and Tracking Link, respectively.
For templates that have multiple variables such as this one, you can drag the icon on the far left of each variable field up or down to reorder your variables.

Creating a custom native text overlay ad template in AdButler

You can save variables and use them in other templates. After adding a variable, click on the three dots at the far right of the variable fields then click Save Variable as Template. To use a saved variable, click Add Saved Variable while creating a native template.
  1. Enter the code in the HTML Template (Custom Rendering) field, then click Save Changes.

Here's the code we used in our example:

<style>
.parent {
   position:relative;
}
.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 8px;
}
a {
    color: black;
    font-size: 12px;
}
</style>
<div class="parent">
    <div class="bottom-left">
        <a href="http://www.your-domain.com" target="_blank">Ads By Company!</a>
    </div>
    <div>
        <a href="[%Tracking Link%]" target="_blank">[%Image%]</a>
    </div>
</div>

How to create a native ad item with text overlay

  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 Ad Items 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. 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 an ad item with text overlay in AdButler

This is what our ad item will look like when it's served:

Sample ad with text overlay


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.