# type StringCreativeTemplateVariable (v202505)

**Service** **CreativeTemplateService** **Inheritance** [CreativeTemplateVariable](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.CreativeTemplateVariable) ▼ [AssetCreativeTemplateVariable](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.AssetCreativeTemplateVariable) [LongCreativeTemplateVariable](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.LongCreativeTemplateVariable) **StringCreativeTemplateVariable** [UrlCreativeTemplateVariable](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.UrlCreativeTemplateVariable) ▼ [ListStringCreativeTemplateV...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.ListStringCreativeTemplateVariable "ListStringCreativeTemplateVariable")


Represents a string variable defined in a creative template.

Use [StringCreativeTemplateVariableValue](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.StringCreativeTemplateVariableValue) to
specify the value for this variable when creating
[TemplateCreative](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.TemplateCreative) from the [TemplateCreative](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.TemplateCreative).

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202505`

| ## Field ||
|---|---|
| **`CreativeTemplateVariable` (inherited)** ||
| ### `label` | ` xsd:string` Label that is displayed to users when creating [TemplateCreative](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.TemplateCreative) from the [CreativeTemplate](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.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](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.TemplateCreative) from the [CreativeTemplate](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.CreativeTemplate). |
| **`StringCreativeTemplateVariable`** ||
| ### `defaultValue` | ` xsd:string` Default value to be filled in when creating creatives from the creative template. |