Ad placements
The ad placement code consists of HTML link and image tags pointing to your instance's delivery domain. These can be included on any email deployment, and should (ideally) be loaded into a system that supports setting custom values on the backend, as Javascript is not available in most email clients.
If you do not have a system that can support dynamically injecting values into the link and image URLs, you will need to manually generate the [...params]
reference used below.
URI Parameters
adUnitId
The id of the ad unit you would like to include on the page.[...params]
A url-encoded set of query parameters such asdate=some_date&rand=1234
.date
An ISO-8601 formatted date/time stringemail
The email address or unique identifier of the user. This should be a merge variable filled in by your ESP, such as@{encrypted_customer_id}@
or*|EMAIL|*
.rand
A random value. This value helps ensure that views and clicks are correlated properly.send
An optional merge variable for the send identifier, used for future reporting efforts.
Example Implementations
HTTP Request Definition
Ad Request
GET
https://[mydomain].serve.email-x.parameter1.com/image/:adUnitId
The ad request endpoint.
Path Parameters
adUnitId
string
ID of the Ad unit to use
Query Parameters
date
string
An ISO-8601 formatted date/time string. This date should not be filled by an ESP, and should reflect the date the email deployment was sent.
string
The email address or unique identifier for the user. This value must be filled in by an ESP, and must be unique per send/open.
rand
string
A random number/string to ensure that requests are correlated properly. This value should not be filled by an ESP.
Last updated
Was this helpful?