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."],[[["\u003cp\u003eStringCreativeTemplateVariable represents a string variable within a creative template, used for defining and managing string values in creatives.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from CreativeTemplateVariable such as label, uniqueName, description, and isRequired for managing general variable attributes.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify values for this variable when creating TemplateCreatives using StringCreativeTemplateVariableValue.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a defaultValue field to pre-fill values when creating new creatives from the template, enhancing efficiency.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this object is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e, providing a standardized location for access and utilization.\u003c/p\u003e\n"]]],["The core content describes the `StringCreativeTemplateVariable`, a component of the `CreativeTemplateService`. It defines a string variable within a creative template, specifying its `label`, `uniqueName`, `description`, and `isRequired` status. Users can set a `defaultValue` for this variable. When creating a `TemplateCreative`, the variable's value is defined using `StringCreativeTemplateVariableValue`. This variable inherits from `CreativeTemplateVariable` and is used for building template creatives.\n"],null,["# type StringCreativeTemplateVariable (v202411)\n\n**Service** \n**CreativeTemplateService** **Inheritance** \n[CreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.CreativeTemplateVariable) \n▼\n[AssetCreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.AssetCreativeTemplateVariable) [LongCreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.LongCreativeTemplateVariable) **StringCreativeTemplateVariable** [UrlCreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.UrlCreativeTemplateVariable) \n▼\n[ListStringCreativeTemplateV...](/ad-manager/api/reference/v202411/CreativeTemplateService.ListStringCreativeTemplateVariable \"ListStringCreativeTemplateVariable\")\n\n\nRepresents a string variable defined in a creative template.\n\nUse [StringCreativeTemplateVariableValue](/ad-manager/api/reference/v202411/CreativeService.StringCreativeTemplateVariableValue) to\nspecify the value for this variable when creating\n[TemplateCreative](/ad-manager/api/reference/v202411/CreativeService.TemplateCreative) from the [TemplateCreative](/ad-manager/api/reference/v202411/CreativeService.TemplateCreative).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`CreativeTemplateVariable` (inherited)** ||\n| ### `label` | ` `xsd:`string` Label that is displayed to users when creating [TemplateCreative](/ad-manager/api/reference/v202411/CreativeService.TemplateCreative) from the [CreativeTemplate](/ad-manager/api/reference/v202411/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/v202411/CreativeService.TemplateCreative) from the [CreativeTemplate](/ad-manager/api/reference/v202411/CreativeTemplateService.CreativeTemplate). |\n| **`StringCreativeTemplateVariable`** ||\n| ### `defaultValue` | ` `xsd:`string` Default value to be filled in when creating creatives from the creative template. |"]]