abstract type CreativeTemplateVariable (v202505)

  • CreativeTemplateVariable represents a variable defined in a creative template.

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

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

  • The uniqueName is read-only and assigned by Google based on the label.

  • The description provides help text with a maximum length of 255 characters.

  • The isRequired field indicates if the variable must be filled in by users.

Represents a variable defined in a creative template.


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

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.