Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Mail templates are written in the Velocity Template Language, or VTL (official documentation). It is basically HTML with some (simple) logic possibilities and enables the user to create custom templates based on its needs.

...

A list containing all the bookings that match the alert on the moment the alert is checked (based on your configuration of the alert).

...

Parameter nameMeaning
$bookings.size()The amount number of bookings that match the alert.
$booking.get(i)Fetch the i-th booking from the list.

...

Parameter nameMeaning
$booking.idAn integer representing the booking ID
$booking.campaignidAn integer representing the booking campaign ID
$booking.nameA string representing the booking name
$booking.descriptionA string representing the booking description
$booking.toReachVolumeAn integer representing the booking to reach volume
$booking.startDateA date representing the booking start date
$booking.endDateA date representing the booking end date
$booking.startTimeA LocalTime representing the booking start time
$booking.endTimeA LocalTime representing the booking end date
$booking.daysOfTheWeekOnlineAn integer set representing the days of the week online (monday Monday -> 1, tuesday Tuesday -> 2, ..., sunday Sunday -> 7)
$booking.deliveryMethod.value()A string object representing the booking delivery method: auto, sov or rotation
$booking.deliveryMultiples.value()A string representing the booking delivery multiples: all-together, one-at-a-time or free
$booking.creationA date representing the booking creation date
$booking.lastModifiedA date representing the date of the last booking modification
$booking.slot.idAn integer representing the booking slot ID
$booking.slot.nameA string representing the booking slot name
$booking.waveIdAn integer representing the booking wave ID
$booking.pricingCodeA string representing the booking pricing code: cpm CPM, cpc CPC, cppCPP, admADM or cpl CPL

Alert

This contains all the information about the alert fired:

...