abstract type CreativeTemplateVariable (v202411)

  • CreativeTemplateVariable represents a variable defined in a creative template.

  • Key fields include label, uniqueName, description, and isRequired.

  • CreativeTemplateVariable has several inherited types: AssetCreativeTemplateVariable, LongCreativeTemplateVariable, StringCreativeTemplateVariable, and UrlCreativeTemplateVariable.

  • The label is displayed to users and is required with a maximum length of 127 characters.

  • The uniqueName is read-only and assigned by Google, derived from the label.

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.