1. Concepts
  • Getting Started
  • Concepts
    • Advertiser
    • Placement
    • Template
    • Ad
    • Creative
  • API Reference
    • Request an Ad
      POST
  1. Concepts

Template

What is a template?#

A template defines the elements and tracking events of your ads.

Creating a template#

1
Basic Details
2
Template Fields
Create the elements that make up your ad design. Chose from different data types such as text, image, url, integer, float, textarea and color.
Image preview of template fields
Each data type has their own validation criteria. For example: limiting the character length of a headline text.
Text / Textarea
Image
Integer / Float
Max Length
Regex
3
Template Styles (optional)
The same collection of elements can make up different end-designs. For example, a headline, subtitle and image, can make up many different layouts/orientations.
The different styles that template can form, can be configured here. Eg: image_left or image_right.
After selecting a template the ad creation flow, you will have the option to select what styles this ad supports. Any styles configured at this point will be selectable, ads can support more than one style.
shape1.png
Image left
shape2.png
Image right
Every template will have a default style of default
4
Template Events (optional)
Define the events you want to track. Tracking can be as granular as needed such as button clicks, opening modals etc. The response from the Decision Engine will contain the tracking events defined here.
By default, an impression tracking event will always be returned in the Decision Engine's response
5
Connect to placement (optional)
You may not want to allow all templates to be shown in all placements, so it is necessary to connect compatitble placements and templates before creating ads.
When creating an ad, a placement and template must be selected. The template options will be the templates that you have previously connected to the selected placement.
This can also be done at a later stage.
Modified at 2025-03-20 20:22:50
Previous
Placement
Next
Ad