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.
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.
- Click Templates in the left navigation menu. The Templates section will appear.
- Click Native Ad Templates. The Native Ad Templates subsection will appear.
- Click Add Native Ad Template. The New Native Template window will appear.
- Click Custom Rendering/API. The New Native Ad Template page will appear.
- 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.
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.
- 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
- 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.
- Click Add Ad Items in the Ad Items table. The Add Ad Item window will appear.
- Click Native. The New Ad Item page will appear.
- Select your native ad template in the Template dropdown menu.
- 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.
- Click Save Ad Item.
Read About ad items for more on AdButler's ad item types and their parameters.
This is what our ad item will look like when it's served: