type CustomCreativeAsset (v202411)

  • A CustomCreativeAsset links a CustomCreative with an asset.

  • Associated assets can be inserted into the creative's HTML snippet.

  • The macroName field is used to reference the associated asset within the HTML snippet using a macro like "%%FILE:macroName%%".

  • The asset field holds the required CreativeAsset object, which can be viewed using CreativeAsset.assetUrl.

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/v202411

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.