Permission: Campaign entities
OTT/CTV message variables allow your organization to utilize a single OTT/CTV message for a property group with programmatic customizations for each property in the property group. Commonly, these OTT/CTV message variables are used by organizations for site-specific branding of the messages.
Note: OTT/CTV message variables are only available for messages within property groups. OTT/CTV messages built in individual properties will not have the option to add message variables.
To start, click Properties on the left-hand panel and select Property Groups from the subsequent menu.
Navigate to a property group on the subsequent list and click the launch icon inline with the property group name.
Select Messages from the top navigation bar and select a regulatory regime (either GDPR Messages or U.S. Privacy Messages).
Click OTT/CTV from the subsequent menu.
Click the Edit icon inline with an OTT/CTV message on the subsequent list. Alternatively, click + New Message if the property group does not have an existing OTT/CTV message.
Create OTT/CTV message variable
From the OTT/CTV message builder page, click Variables on the right-hand panel. Use the provided fields to input a variable name and a default value for the variable.
Click Add Variable when finished.
Note: $$ will be wrapped around your variable name to denote that the name you input is a message variable. Be sure to include the $$ before and after the variable name when using the message variable (e.g. $$button$$).
The OTT/CTV message variable will be added to the Master Variable List and every property in the property group.
Expand each property in the Variables panel to set the message variable value for each property.
The OTT/CTV message variable value will be assigned the default value previously set unless otherwise edited.
After you have set the OTT/CTV message variable value per property in the property group, insert the OTT/CTV message variable name in the message builder settings and/or custom CSS whenever the message variable should be called.
Click Save Message when finished.
In the above example, we want the background color for certain buttons to change depending on which property an end-user visits.
The OTT/CTV message variables will be pushed to the properties in the property group based on your configuration. When viewing the message builder from any of these individual properties the message builder will display the value of the OTT/CTV message variable you set in the property group.
Delete OTT/CTV message variable
From the OTT/CTV message builder page for a property group, click Variables on the right-hand panel and expand the Master Variable List.
Navigate to a OTT/CTV message variable from the expanded list and click the Delete icon inline with message variable.
The message variable will be deleted from the properties in the property group.
Once the message variable is deleted, you will need to update your message builder settings and custom CSS to manually remove the message variable and replace it with either a new message variable or non-message-variable value.
Click Save Message when finished.