abstract type CreativeTemplateVariable (v202411)

  • The CreativeTemplateService allows management of creative templates and their variables.

  • CreativeTemplateVariable is the base class representing a variable within a creative template, with specific types like Asset, Long, String, and URL.

  • Each CreativeTemplateVariable has a label, unique name, description, and can be designated as required.

  • These variables are used when creating TemplateCreatives from a CreativeTemplate, enabling dynamic content insertion.

Represents a variable defined in a creative template.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

label

xsd:string

Label that is displayed to users when creating TemplateCreative from the CreativeTemplate. This attribute is required and has a maximum length of 127 characters.

uniqueName

xsd:string

Unique name used to identify the variable. This attribute is read-only and is assigned by Google, by deriving from label, when a creative template variable is created.

description

xsd:string

A descriptive help text that is displayed to users along with the label. This attribute is required and has a maximum length of 255 characters.

isRequired

xsd:boolean

true if this variable is required to be filled in by users when creating TemplateCreative from the CreativeTemplate.