public class CustomCreative extends HasDestinationUrlCreative
Creative that contains an arbitrary HTML snippet and file assets.
Java class for CustomCreative complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CustomCreative">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201708}HasDestinationUrlCreative">
<sequence>
<element name="htmlSnippet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="customCreativeAssets" type="{https://www.google.com/apis/ads/publisher/v201708}CustomCreativeAsset" maxOccurs="unbounded" minOccurs="0"/>
<element name="isInterstitial" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="lockedOrientation" type="{https://www.google.com/apis/ads/publisher/v201708}LockedOrientation" minOccurs="0"/>
<element name="sslScanResult" type="{https://www.google.com/apis/ads/publisher/v201708}SslScanResult" minOccurs="0"/>
<element name="sslManualOverride" type="{https://www.google.com/apis/ads/publisher/v201708}SslManualOverride" minOccurs="0"/>
<element name="isSafeFrameCompatible" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CustomCreativeAsset> |
customCreativeAssets |
protected String |
htmlSnippet |
protected Boolean |
isInterstitial |
protected Boolean |
isSafeFrameCompatible |
protected LockedOrientation |
lockedOrientation |
protected SslManualOverride |
sslManualOverride |
protected SslScanResult |
sslScanResult |
destinationUrl, destinationUrlTypeadvertiserId, appliedLabels, customFieldValues, id, lastModifiedDateTime, name, policyViolations, previewUrl, size| Constructor and Description |
|---|
CustomCreative() |
| Modifier and Type | Method and Description |
|---|---|
List<CustomCreativeAsset> |
getCustomCreativeAssets()
Gets the value of the customCreativeAssets property.
|
String |
getHtmlSnippet()
Gets the value of the htmlSnippet property.
|
LockedOrientation |
getLockedOrientation()
Gets the value of the lockedOrientation property.
|
SslManualOverride |
getSslManualOverride()
Gets the value of the sslManualOverride property.
|
SslScanResult |
getSslScanResult()
Gets the value of the sslScanResult property.
|
Boolean |
isIsInterstitial()
Gets the value of the isInterstitial property.
|
Boolean |
isIsSafeFrameCompatible()
Gets the value of the isSafeFrameCompatible property.
|
void |
setHtmlSnippet(String value)
Sets the value of the htmlSnippet property.
|
void |
setIsInterstitial(Boolean value)
Sets the value of the isInterstitial property.
|
void |
setIsSafeFrameCompatible(Boolean value)
Sets the value of the isSafeFrameCompatible property.
|
void |
setLockedOrientation(LockedOrientation value)
Sets the value of the lockedOrientation property.
|
void |
setSslManualOverride(SslManualOverride value)
Sets the value of the sslManualOverride property.
|
void |
setSslScanResult(SslScanResult value)
Sets the value of the sslScanResult property.
|
getDestinationUrl, getDestinationUrlType, setDestinationUrl, setDestinationUrlTypegetAdvertiserId, getAppliedLabels, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPolicyViolations, getPreviewUrl, getSize, setAdvertiserId, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSizeprotected String htmlSnippet
protected List<CustomCreativeAsset> customCreativeAssets
protected Boolean isInterstitial
protected LockedOrientation lockedOrientation
protected SslScanResult sslScanResult
protected SslManualOverride sslManualOverride
protected Boolean isSafeFrameCompatible
public String getHtmlSnippet()
Stringpublic void setHtmlSnippet(String value)
value - allowed object is
Stringpublic List<CustomCreativeAsset> getCustomCreativeAssets()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the customCreativeAssets property.
For example, to add a new item, do as follows:
getCustomCreativeAssets().add(newItem);
Objects of the following type(s) are allowed in the list
CustomCreativeAsset
public Boolean isIsInterstitial()
Booleanpublic void setIsInterstitial(Boolean value)
value - allowed object is
Booleanpublic LockedOrientation getLockedOrientation()
LockedOrientationpublic void setLockedOrientation(LockedOrientation value)
value - allowed object is
LockedOrientationpublic SslScanResult getSslScanResult()
SslScanResultpublic void setSslScanResult(SslScanResult value)
value - allowed object is
SslScanResultpublic SslManualOverride getSslManualOverride()
SslManualOverridepublic void setSslManualOverride(SslManualOverride value)
value - allowed object is
SslManualOverridepublic Boolean isIsSafeFrameCompatible()
BooleanCopyright © 2018. All Rights Reserved.