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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["`LongCreativeTemplateVariable` is a part of the `CreativeTemplateService`, inheriting from `CreativeTemplateVariable`. It defines a long variable in a creative template. Key fields include `label` (user-facing name), `uniqueName` (system identifier), `description` (help text), and `isRequired` (mandatory status). `LongCreativeTemplateVariable` also has a `defaultValue` to be pre-filled when creating creatives. The namespace for this service is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["**Service** \n**CreativeTemplateService** **Inheritance** \n[CreativeTemplateVariable](/ad-manager/api/reference/v202502/CreativeTemplateService.CreativeTemplateVariable) \n▼\n[AssetCreativeTemplateVariable](/ad-manager/api/reference/v202502/CreativeTemplateService.AssetCreativeTemplateVariable) **LongCreativeTemplateVariable** [StringCreativeTemplateVariable](/ad-manager/api/reference/v202502/CreativeTemplateService.StringCreativeTemplateVariable) [UrlCreativeTemplateVariable](/ad-manager/api/reference/v202502/CreativeTemplateService.UrlCreativeTemplateVariable)\n\nRepresents a long variable defined in a creative template.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`CreativeTemplateVariable` (inherited)** ||\n| `label` | ` `xsd:`string` Label that is displayed to users when creating [TemplateCreative](/ad-manager/api/reference/v202502/CreativeService.TemplateCreative) from the [CreativeTemplate](/ad-manager/api/reference/v202502/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/v202502/CreativeService.TemplateCreative) from the [CreativeTemplate](/ad-manager/api/reference/v202502/CreativeTemplateService.CreativeTemplate). |\n| **`LongCreativeTemplateVariable`** ||\n| `defaultValue` | ` `xsd:`long` Default value to be filled in when creating creatives from the creative template. |"]]