public class CustomCreativeAsset extends Object
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.
Java class for CustomCreativeAsset complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomCreativeAsset">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="macroName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="asset" type="{https://www.google.com/apis/ads/publisher/v201711}CreativeAsset" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CreativeAsset |
asset |
protected String |
macroName |
| Constructor and Description |
|---|
CustomCreativeAsset() |
| Modifier and Type | Method and Description |
|---|---|
CreativeAsset |
getAsset()
Gets the value of the asset property.
|
String |
getMacroName()
Gets the value of the macroName property.
|
void |
setAsset(CreativeAsset value)
Sets the value of the asset property.
|
void |
setMacroName(String value)
Sets the value of the macroName property.
|
protected String macroName
protected CreativeAsset asset
public String getMacroName()
Stringpublic void setMacroName(String value)
value - allowed object is
Stringpublic CreativeAsset getAsset()
CreativeAssetpublic void setAsset(CreativeAsset value)
value - allowed object is
CreativeAssetCopyright © 2018. All Rights Reserved.