type AssetCreativeTemplateVariable (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CreativeTemplateService
Represents a file asset variable defined in a creative template.
Use AssetCreativeTemplateVariableValue to
specify the value for this variable when creating
TemplateCreative from the TemplateCreative.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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.
|
isRequired
|
xsd:boolean
true if this variable is required to be filled in by users when
creating TemplateCreative from the CreativeTemplate.
|
AssetCreativeTemplateVariable
|
mimeTypes
|
AssetCreativeTemplateVariab...[]
A set of supported mime types. This set can be empty or null if there's no
constraint, meaning files of any mime types are allowed.
Enumerations
-
JPG
-
PNG
-
GIF
-
SWF
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eAssetCreativeTemplateVariable represents a file asset variable within a creative template, used for specifying assets like images or videos in creatives.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from CreativeTemplateVariable, such as label, uniqueName, description, and isRequired, providing essential information about the variable.\u003c/p\u003e\n"],["\u003cp\u003eWhen creating TemplateCreatives, AssetCreativeTemplateVariableValue is used to assign the actual asset to the variable.\u003c/p\u003e\n"],["\u003cp\u003eThe mimeTypes field defines the allowed file types for the asset, including JPG, PNG, GIF, and SWF, ensuring compatibility and proper rendering.\u003c/p\u003e\n"],["\u003cp\u003eIt leverages a namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e for organization and identification within the system.\u003c/p\u003e\n"]]],["The `AssetCreativeTemplateVariable` defines a file asset variable within a creative template. It inherits properties like `label`, `uniqueName`, `description`, and `isRequired` from `CreativeTemplateVariable`. When creating a `TemplateCreative`, `AssetCreativeTemplateVariableValue` specifies the asset's value. `mimeTypes` dictates the acceptable file types, such as JPG, PNG, GIF, and SWF. The variable's label, description, and uniqueness are essential attributes, and the variable can be set as mandatory.\n"],null,["# type AssetCreativeTemplateVariable (v202411)\n\n**Service** \n**CreativeTemplateService** **Inheritance** \n[CreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.CreativeTemplateVariable) \n▼\n**AssetCreativeTemplateVariable** [LongCreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.LongCreativeTemplateVariable) [StringCreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.StringCreativeTemplateVariable) [UrlCreativeTemplateVariable](/ad-manager/api/reference/v202411/CreativeTemplateService.UrlCreativeTemplateVariable)\n\n\nRepresents a file asset variable defined in a creative template.\n\nUse [AssetCreativeTemplateVariableValue](/ad-manager/api/reference/v202411/CreativeService.AssetCreativeTemplateVariableValue) 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| **`AssetCreativeTemplateVariable`** ||\n| ### `mimeTypes` | ` `[AssetCreativeTemplateVariab...](/ad-manager/api/reference/v202411/CreativeTemplateService.AssetCreativeTemplateVariable.MimeType \"AssetCreativeTemplateVariable.MimeType\")`[]` A set of supported mime types. This set can be empty or null if there's no constraint, meaning files of any mime types are allowed. *** ** * ** *** **Enumerations** `JPG` : `PNG` : `GIF` : `SWF` : \u003cbr /\u003e |"]]