Skip to main content

Variables From Tags to_Custom_Codes

This document explains how to define variables inside INS tags and VAST tags, and how these variables are accessed inside your custom methods.

It also includes syntax, examples, naming conventions, usage flow, and best practices.

1. Overview

Variables allow you to pass dynamic values from the ad tag (INS or VAST) directly into your custom code logic.
You can control creative behavior such as:

  • Colors
  • Text
  • URLs
  • Durations
  • Images & assets
  • Screen properties
  • Widget-level properties

This helps make creatives dynamic without re-uploading or editing visuals.

2. Variables in INS Tags

INS tags use the following syntax: