public interface CustomCreativeAssetOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAsset()
public abstract CreativeAsset getAsset() Required. The asset.
To view the asset, use CreativeAsset.asset_url.
.google.ads.admanager.v1.CreativeAsset asset = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreativeAsset |
The asset. |
getAssetOrBuilder()
public abstract CreativeAssetOrBuilder getAssetOrBuilder() Required. The asset.
To view the asset, use CreativeAsset.asset_url.
.google.ads.admanager.v1.CreativeAsset asset = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreativeAssetOrBuilder |
|
getMacroName()
public abstract String getMacroName()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%%".
optional string macro_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The macroName. |
getMacroNameBytes()
public abstract ByteString getMacroNameBytes()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%%".
optional string macro_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for macroName. |
hasAsset()
public abstract boolean hasAsset() Required. The asset.
To view the asset, use CreativeAsset.asset_url.
.google.ads.admanager.v1.CreativeAsset asset = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the asset field is set. |
hasMacroName()
public abstract boolean hasMacroName()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%%".
optional string macro_name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the macroName field is set. |