type LongCreativeTemplateVariable (v202502)

  • The content describes the LongCreativeTemplateVariable which represents a long variable within a creative template.

  • LongCreativeTemplateVariable inherits from CreativeTemplateVariable and includes fields such as label, uniqueName, description, and isRequired.

  • The LongCreativeTemplateVariable specifically adds the defaultValue field, which is a long type.

  • The label and description fields are required for CreativeTemplateVariable and have maximum character limits of 127 and 255 respectively.

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

Represents a long variable defined in a creative template.


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

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.

LongCreativeTemplateVariable

defaultValue

xsd:long

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