Represents a long variable defined in a creative template.
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.
[[["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 \u003ccode\u003eLongCreativeTemplateVariable\u003c/code\u003e represents a long integer variable within a creative template, used for dynamic content insertion.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from \u003ccode\u003eCreativeTemplateVariable\u003c/code\u003e such as \u003ccode\u003elabel\u003c/code\u003e, \u003ccode\u003euniqueName\u003c/code\u003e, \u003ccode\u003edescription\u003c/code\u003e, and \u003ccode\u003eisRequired\u003c/code\u003e, which define its display and behavior.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLongCreativeTemplateVariable\u003c/code\u003e includes a \u003ccode\u003edefaultValue\u003c/code\u003e field to pre-populate the variable when creating creatives from the template.\u003c/p\u003e\n"],["\u003cp\u003eThis variable type is part of the CreativeTemplateService within the Google Ad Manager API, under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `LongCreativeTemplateVariable` is a type within the `CreativeTemplateService`, inheriting from `CreativeTemplateVariable`. It represents a long variable within a creative template, defined by attributes like `label`, `uniqueName`, and `description`. A `defaultValue` can be set. The `isRequired` field indicates if the variable must be completed during `TemplateCreative` creation. The label's length must not exceed 127 characters, while the description can have up to 255 characters.\n"],null,["# type LongCreativeTemplateVariable (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** [StringCreativeTemplateVariable](/ad-manager/api/reference/v202408/CreativeTemplateService.StringCreativeTemplateVariable) [UrlCreativeTemplateVariable](/ad-manager/api/reference/v202408/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/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| **`LongCreativeTemplateVariable`** ||\n| ### `defaultValue` | ` `xsd:`long` Default value to be filled in when creating creatives from the creative template. |"]]