type UrlCreativeTemplateVariable (v202411)

  • UrlCreativeTemplateVariable represents a URL variable within a creative template, used when creating TemplateCreatives.

  • It inherits properties like label, uniqueName, description, and isRequired from CreativeTemplateVariable.

  • Users can specify a defaultValue for the URL and indicate if it's a tracking URL, enabling automatic cache-busting.

  • UrlCreativeTemplateVariableValue is used to set the variable's value when creating TemplateCreatives.

  • The namespace for this object is https://www.google.com/apis/ads/publisher/v202411.

Represents a url variable defined in a creative template.

Use UrlCreativeTemplateVariableValue 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.

UrlCreativeTemplateVariable

defaultValue

xsd:string

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

isTrackingUrl

xsd:boolean

When true, if the URL is identified as from a known vendor, cache-busting macros will automatically be inserted upon save.