type CustomCreativeAsset (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
A CustomCreativeAsset
is an association between a CustomCreative and an asset.
Any assets that are associated with a creative can be inserted into its HTML snippet.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field
|
macroName
|
xsd:string
The name by which the associated asset will be referenced. For example, if the value is "foo",
then the asset can be inserted into an HTML snippet using the macro: "%%FILE:foo%%".
|
asset
|
CreativeAsset
The asset. This attribute is required. 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."],[],[],null,["# type CustomCreativeAsset (v202502)\n\n**Service** \n**CreativeService** **Dependencies** \n[CustomCreative](/ad-manager/api/reference/v202502/CreativeService.CustomCreative) \n▼\n**CustomCreativeAsset**\n\nA `CustomCreativeAsset` is an association between a [CustomCreative](/ad-manager/api/reference/v202502/CreativeService.CustomCreative) and an asset.\nAny assets that are associated with a creative can be inserted into its HTML snippet.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `macroName` | ` `xsd:`string` The name by which the associated asset will be referenced. For example, if the value is \"foo\", then the asset can be inserted into an HTML snippet using the macro: \"%%FILE:foo%%\". |\n| ### `asset` | ` `[CreativeAsset](/ad-manager/api/reference/v202502/CreativeService.CreativeAsset)` ` The asset. This attribute is required. To view the asset, use [CreativeAsset.assetUrl](/ad-manager/api/reference/v202502/CreativeService.CreativeAsset#assetUrl). |"]]