Class CustomCreativeAsset
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.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomCreativeAsset : IMessage<CustomCreativeAsset>, IEquatable<CustomCreativeAsset>, IDeepCloneable<CustomCreativeAsset>, IBufferMessage, IMessage
Constructors
CustomCreativeAsset()
Declaration
public CustomCreativeAsset()
CustomCreativeAsset(CustomCreativeAsset)
Declaration
public CustomCreativeAsset(CustomCreativeAsset other)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomCreativeAsset | other |
Properties
Asset
Required. The asset.
To view the asset, use CreativeAsset.asset_url.
Declaration
public CreativeAsset Asset { get; set; }
Property Value
| Type | Description |
|---|---|
| CreativeAsset |
HasMacroName
Gets whether the "macro_name" field is set
Declaration
public bool HasMacroName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MacroName
Optional. 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%%".
Declaration
public string MacroName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |