Represents a variable defined in a creative template.
Namespace
https://www.google.com/apis/ads/publisher/v202408
Field
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."],[[["\u003cp\u003eThe CreativeTemplateService allows management of creative templates and their variables.\u003c/p\u003e\n"],["\u003cp\u003eCreativeTemplateVariable is the base class for different types of variables like Asset, Long, String, and URL.\u003c/p\u003e\n"],["\u003cp\u003eEach CreativeTemplateVariable has properties like label, uniqueName, description, and isRequired for defining its purpose and usage.\u003c/p\u003e\n"],["\u003cp\u003eThese variables are crucial when creating TemplateCreatives using the CreativeTemplate.\u003c/p\u003e\n"],["\u003cp\u003eThis service is part of the Google Ad Manager API within the specified namespace.\u003c/p\u003e\n"]]],["The `CreativeTemplateVariable` defines a variable within a `CreativeTemplate`. Key attributes include: `label` (user-facing display name, max 127 characters), `uniqueName` (system-generated identifier), `description` (help text, max 255 characters), and `isRequired` (boolean indicating if it must be filled). It is used when a user is creating `TemplateCreative` from `CreativeTemplate`. This `CreativeTemplateVariable` can inherit from `AssetCreativeTemplateVariable`, `LongCreativeTemplateVariable`, `StringCreativeTemplateVariable` or `UrlCreativeTemplateVariable`.\n"],null,["# abstract type CreativeTemplateVariable (v202408)\n\n**Service** \n**CreativeTemplateService** **Dependencies** \n[CreativeTemplate](/ad-manager/api/reference/v202408/CreativeTemplateService.CreativeTemplate) \n▼\n**CreativeTemplateVariable** **Inheritance** \n**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](/ad-manager/api/reference/v202408/CreativeTemplateService.UrlCreativeTemplateVariable)\n\nRepresents a variable defined in a creative template.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\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). |"]]