impact.com can host ads that are generated from an HTML file, as well as ads with dynamic content such as search widgets, embedded forms, and banners with product-browsing capability.
Note
If you host your HTML content ad on impact.com, you can change the code at any time without needing any third-party programs. Note that 2 items must be added to your HTML file before you can upload it to impact.com:
An absolute link, aka a landing page, served securely with HTTPS.
Any dynamic URL tokens you want to be tracked whenever the ad is clicked.
From the left navigation bar, select
[Engage] → Content → Ads.
In the top right corner, select Create Ad
[Drop-down menu] → Article.
Enter a Name for your ad.
Under Content, enter the HTML/CSS/JS code for your ad.
You can also upload an HTML file by selecting
[Toggle on] Upload Files → Choose Files.
Want to use dynamic content in your ad? See the Dynamic token reference and Dynamic content ad example below.
Under Ad Unit Size, select
[Drop-down menu] and choose the appropriate display size.
Enter a Description to provide more details about your ad.
If you want to define how your Landing Page is served, select
[Drop-down menu] → Custom.
Select
[Toggle on] Mobile Fallback to reroute mobile traffic when a user does not have your app installed.
Select
[Toggle on] Metadata if you want to add query parameters to the ad's tracking link.
Under Deal, choose an option from the drop-down menu if you want to group this ad with others for your partners.
Under Labels, add keywords to help partners search for your ad.
[Toggle on] Available Dates to set a date range for which this ad will be active.
[Toggle on] Restrict Partner Access to define which partner groups can use this ad. Search for partners in the Search partners field, and use the
[Forward arrow] to give them access.
Optionally, add promotional themes to the ad. This allows you to organize ads by a specific time of year.
Optionally, expand and configure advanced settings.
[Toggle on] Tracking Code if you want partners to only use iFrame tracking codes for this ad.
Under Language, select
[Drop-down menu] and choose your target language for this ad.
Select
[Checked box] Setup a third-party impression pixel for this ad if you want to record how users interact with your ad.
Save the ad.
If you want to save your ad without making it live for partners to use, select
[Checked box] Save as a draft.
If you want to save the ad while making it accessible to partners, select Save.
Beside the Save button, you can select
[Drop-down menu] for additional saving options.

Token | Description |
---|---|
| Populates the tracking link URL with the impact.com partner ID value assigned to the partner. |
| Populates the tracking link URL with the impact.com ad ID value assigned to the ad. |
| Populates the tracking link URL with the impact.com program (or campaign) ID value assigned to your impact.com program. |
| Populates with the partner’s SubId1 value—a query string parameter that partners can append to their assigned tracking links. Partners typically use them in their reporting. |
| Populates with the partner’s SubId2 value—a query string parameter that partners can append to their assigned tracking links. Partners typically use them in their reporting. |
| Populates with the partner’s SubId3 value—a query string parameter that partners can append to their assigned tracking links. Partners typically use them in their reporting. |
| Populates with the partner’s SharedId value—a query string parameter that partners can append to their assigned tracking links, which is passed to you and available in various reports. |
| Populates the tracking link URL with the tracking domain for your program. |
| Populates with a generated timestamp in Unix epoch format of when the ad is retrieved by the partner. |
| Populates the tracking link URL with a randomly generated integer when the ad is retrieved by the partner. |
In the Example code provided below, we have:
An HTML form with a textbox entry and "Submit" button
Embedded CSS to style the form independently of other content
A
<div>
container for the widgetJavaScript function that dynamically creates an impact.com tracking link and appends query string parameters
A
<noscript>
tag for the system to accept the script when it doesn’t have an outgoing link (Without this tag, we’d encounter an error when trying to upload this creative.)
In practice, many of these elements can be hosted or embedded on your website—impact.com supports external HTML, CSS, and JavaScript files for dynamic content.
<style type="text/css">
#search-widget-container {
font-family:"Verdana";
padding:20px;
width:280px;
height:75px;
margin:30px;
background:#FFFFFF;
border:1px solid #BBBDBF;
border-radius:6px;
box-shadow:5px 5px 2px rgba(0,0,0,0.1);
}
#submitbutton {
background:#fff;
color:#3B91CF;
font-weight:bold;
font-size:12px;
padding:5px:
border-radius:6px;
border:1px solid #3B91CF;
cursor:pointer;
}
#submitbutton:hover {
background:#3B91CF;
color:#fff;
}
#searchbox {
width:200px;
margin:10px 10px 10px 0px;
}
</style>
<div id='search-widget-container'>
<img src="http://www.impactradius.com/wp-content/uploads/2014/05/impact-radius-logo.png" width="150px">
<form>
<input name='searchTerm' id='searchBox' type='text' placeholder='Search The Website'>
<input onClick="searchFunction()" type='submit' value='Submit' id='submitbutton'>
</form>
</div>
<script type="text/javascript">
function searchFunction() {
// Get the user-submitted value from the search box var
searchTerm = document.getElementById("searchBox").value;
var landingPage = "http://{domain}/c/{irpid}/{iradid}/{ircid}?p.searchTerm=";
// Append the searchTerm to the end of the landingPage
var completeURL = landingPage.concat(searchTerm);
// Send the customer to the complete final URL
window.location.href = completeURL;
}
</script>
<noscript><a href=”http://www.example.com”>No script link</a></noscript>
The JavaScript code generates a tracking URL using dynamic tokens and appends the search terms as query string parameters.
Since the content doesn’t have an absolute URL, we use
{domain}
,{irpid}
,{iradid}
, and{ircid}
as dynamic tokens to generate a tracking link, which populates with the program’s tracking domain, partner ID, ad ID, and program ID values.Once clicked, the customer will be routed through Impact and then forwarded to the landing page—in this case,
https://www.example.com