type UrlCreativeTemplateVariable (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CreativeTemplateService
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/v202408
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eUrlCreativeTemplateVariable represents a URL variable within a creative template, used when creating TemplateCreatives.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties like label, uniqueName, description, and isRequired from CreativeTemplateVariable.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify the variable's value using UrlCreativeTemplateVariableValue when building TemplateCreatives.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a defaultValue for pre-filling when creating creatives and isTrackingUrl to enable automatic cache-busting for known vendors.\u003c/p\u003e\n"]]],["The core content defines `UrlCreativeTemplateVariable`, a component within `CreativeTemplateService`. This variable represents a URL in a creative template. It inherits properties like `label`, `uniqueName`, `description`, and `isRequired`. It includes `defaultValue` and `isTrackingUrl` that defines default URLs in templates and specifies if tracking macros will automatically insert. `UrlCreativeTemplateVariableValue` is used to assign values when generating `TemplateCreative`. The namespace for this content is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type UrlCreativeTemplateVariable (v202408)\n\n**Service** \n**CreativeTemplateService** **Inheritance** \n[CreativeTemplateVariable](/ad-manager/api/reference/v202408/CreativeTemplateService.CreativeTemplateVariable) \n▼\n[AssetCreativeTemplateVariable](/ad-manager/api/reference/v202408/CreativeTemplateService.AssetCreativeTemplateVariable) [LongCreativeTemplateVariable](/ad-manager/api/reference/v202408/CreativeTemplateService.LongCreativeTemplateVariable) [StringCreativeTemplateVariable](/ad-manager/api/reference/v202408/CreativeTemplateService.StringCreativeTemplateVariable) **UrlCreativeTemplateVariable**\n\n\nRepresents a url variable defined in a creative template.\n\nUse [UrlCreativeTemplateVariableValue](/ad-manager/api/reference/v202408/CreativeService.UrlCreativeTemplateVariableValue) to specify the value for this variable\nwhen creating [TemplateCreative](/ad-manager/api/reference/v202408/CreativeService.TemplateCreative) from the [TemplateCreative](/ad-manager/api/reference/v202408/CreativeService.TemplateCreative)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`CreativeTemplateVariable` (inherited)** ||\n| ### `label` | ` `xsd:`string` Label that is displayed to users when creating [TemplateCreative](/ad-manager/api/reference/v202408/CreativeService.TemplateCreative) from the [CreativeTemplate](/ad-manager/api/reference/v202408/CreativeTemplateService.CreativeTemplate). This attribute is required and has a maximum length of 127 characters. |\n| ### `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. |\n| ### `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. |\n| ### `isRequired` | ` `xsd:`boolean` `true` if this variable is required to be filled in by users when creating [TemplateCreative](/ad-manager/api/reference/v202408/CreativeService.TemplateCreative) from the [CreativeTemplate](/ad-manager/api/reference/v202408/CreativeTemplateService.CreativeTemplate). |\n| **`UrlCreativeTemplateVariable`** ||\n| ### `defaultValue` | ` `xsd:`string` Default value to be filled in when creating creatives from the creative template. |\n| ### `isTrackingUrl` | ` `xsd:`boolean` When true, if the URL is identified as from a known vendor, cache-busting macros will automatically be inserted upon save. |"]]