type AssetCreativeTemplateVariableValue (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Stores values of CreativeTemplateVariable of VariableType.ASSET
.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
BaseCreativeTemplateVariableValue (inherited)
|
uniqueName
|
xsd:string
A uniqueName of the CreativeTemplateVariable.
|
AssetCreativeTemplateVariableValue
|
asset
|
CreativeAsset
The associated asset. This attribute is required when creating a new TemplateCreative .
To view the asset, use CreativeAsset.assetUrl.
|
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\u003eThe \u003ccode\u003eAssetCreativeTemplateVariableValue\u003c/code\u003e object stores values of \u003ccode\u003eCreativeTemplateVariable\u003c/code\u003e with \u003ccode\u003eVariableType.ASSET\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from \u003ccode\u003eBaseCreativeTemplateVariableValue\u003c/code\u003e, including \u003ccode\u003euniqueName\u003c/code\u003e which identifies the related \u003ccode\u003eCreativeTemplateVariable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003easset\u003c/code\u003e field within \u003ccode\u003eAssetCreativeTemplateVariableValue\u003c/code\u003e links to a \u003ccode\u003eCreativeAsset\u003c/code\u003e and is required when creating new \u003ccode\u003eTemplateCreatives\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003eCreativeAsset.assetUrl\u003c/code\u003e to access and view the linked asset.\u003c/p\u003e\n"]]],["The `AssetCreativeTemplateVariableValue` stores values for `CreativeTemplateVariable` of `VariableType.ASSET`. It inherits from `BaseCreativeTemplateVariableValue`, which includes a `uniqueName`. The key action involves creating a new `TemplateCreative`, which requires the `asset` attribute in `AssetCreativeTemplateVariableValue`. This asset is a `CreativeAsset`, and it can be viewed via `CreativeAsset.assetUrl`. The namespace is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type AssetCreativeTemplateVariableValue (v202408)\n\n**Service** \n**CreativeService** **Inheritance** \n[BaseCreativeTemplateVariabl...](/ad-manager/api/reference/v202408/CreativeService.BaseCreativeTemplateVariableValue \"BaseCreativeTemplateVariableValue\") \n▼\n**AssetCreativeTemplateVariab...** [LongCreativeTemplateVariabl...](/ad-manager/api/reference/v202408/CreativeService.LongCreativeTemplateVariableValue \"LongCreativeTemplateVariableValue\") [StringCreativeTemplateVaria...](/ad-manager/api/reference/v202408/CreativeService.StringCreativeTemplateVariableValue \"StringCreativeTemplateVariableValue\") [UrlCreativeTemplateVariable...](/ad-manager/api/reference/v202408/CreativeService.UrlCreativeTemplateVariableValue \"UrlCreativeTemplateVariableValue\")\n\nStores values of [CreativeTemplateVariable](/ad-manager/api/reference/v202408/CreativeTemplateService.CreativeTemplateVariable) of `VariableType.ASSET`.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`BaseCreativeTemplateVariableValue` (inherited)** ||\n| ### `uniqueName` | ` `xsd:`string` A uniqueName of the [CreativeTemplateVariable](/ad-manager/api/reference/v202408/CreativeTemplateService.CreativeTemplateVariable). |\n| **`AssetCreativeTemplateVariableValue`** ||\n| ### `asset` | ` `[CreativeAsset](/ad-manager/api/reference/v202408/CreativeService.CreativeAsset)` ` The associated asset. This attribute is required when creating a new `TemplateCreative`. To view the asset, use [CreativeAsset.assetUrl](/ad-manager/api/reference/v202408/CreativeService.CreativeAsset#assetUrl). |"]]