VAST Extension Template Service
This service provides a template to enter and save custom extensions from a VAST file. Extensions are custom XML snippets added to the VAST file. Video players must be specially programmed to recognize and handle the data provided. Since an extension must be added manually, and to avoid having to add the same extension multiple times, you can use this service and enter the template id.
In addition, custom and impbus macros are supported in the extension templates.
Once you have created an extension, you must then associate it with a creative.
Example Extension XML
View VAST Extension Templates:
Add a VAST extension template and custom macros :
The name of the VAST extension.
The member ID of the member associated with this VAST extension.
|content||string||The XML content to output when rendering the creative's VAST document.||POST|
|created_on||timestamp||Read-only. The date and time the VAST extension template was created.|
|last_activity||timestamp||Read-only. The date and time the template was last modified.|
array of objects
The custom macros used in the
You must define each custom macro used in the
The macro name exactly as it is used in the
The user-friendly name for this macro that traffickers will see when they add creatives that use this template via the UI.
The type of value that traffickers will provide for this macro when they add creatives that use this template. Possible values: "true/false", "string", "url", "integer", "decimal", "string_list", "select_from_list" and "file".
For example, on the UI, if you set this to "true/false", traffickers will see the macro name followed by a check box.
If true, traffickers will be required to provide a value for the macro when using this template.
The accepted values for the macro, if
Step 1: Add a custom VAST extension.
Step 2: Associate it with a creative
video_attribute object for the creative, assign the template id in the
vast_extension_template_id field and ensure that you define the macros in the