type StringCreativeTemplateVariable (v202411)

  • StringCreativeTemplateVariable represents a string variable within a creative template, used for defining and managing string values in creatives.

  • It inherits properties from CreativeTemplateVariable such as label, uniqueName, description, and isRequired for managing general variable attributes.

  • Users can specify values for this variable when creating TemplateCreatives using StringCreativeTemplateVariableValue.

  • It includes a defaultValue field to pre-fill values when creating new creatives from the template, enhancing efficiency.

  • The namespace for this object is https://www.google.com/apis/ads/publisher/v202411, providing a standardized location for access and utilization.

Represents a string variable defined in a creative template.

Use StringCreativeTemplateVariableValue to specify the value for this variable when creating TemplateCreative from the TemplateCreative.


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

Field

CreativeTemplateVariable (inherited)

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.

StringCreativeTemplateVariable

defaultValue

xsd:string

Default value to be filled in when creating creatives from the creative template.