public class TemplateCreative extends Creative
Creative that is created by the specified creative template.
Java class for TemplateCreative complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TemplateCreative">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201711}Creative">
<sequence>
<element name="creativeTemplateId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="isInterstitial" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="isNativeEligible" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="isSafeFrameCompatible" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="destinationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="creativeTemplateVariableValues" type="{https://www.google.com/apis/ads/publisher/v201711}BaseCreativeTemplateVariableValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="sslScanResult" type="{https://www.google.com/apis/ads/publisher/v201711}SslScanResult" minOccurs="0"/>
<element name="sslManualOverride" type="{https://www.google.com/apis/ads/publisher/v201711}SslManualOverride" minOccurs="0"/>
<element name="lockedOrientation" type="{https://www.google.com/apis/ads/publisher/v201711}LockedOrientation" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
creativeTemplateId |
protected List<BaseCreativeTemplateVariableValue> |
creativeTemplateVariableValues |
protected String |
destinationUrl |
protected Boolean |
isInterstitial |
protected Boolean |
isNativeEligible |
protected Boolean |
isSafeFrameCompatible |
protected LockedOrientation |
lockedOrientation |
protected SslManualOverride |
sslManualOverride |
protected SslScanResult |
sslScanResult |
advertiserId, appliedLabels, customFieldValues, id, lastModifiedDateTime, name, policyViolations, previewUrl, size| Constructor and Description |
|---|
TemplateCreative() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCreativeTemplateId()
Gets the value of the creativeTemplateId property.
|
List<BaseCreativeTemplateVariableValue> |
getCreativeTemplateVariableValues()
Gets the value of the creativeTemplateVariableValues property.
|
String |
getDestinationUrl()
Gets the value of the destinationUrl 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 |
isIsNativeEligible()
Gets the value of the isNativeEligible property.
|
Boolean |
isIsSafeFrameCompatible()
Gets the value of the isSafeFrameCompatible property.
|
void |
setCreativeTemplateId(Long value)
Sets the value of the creativeTemplateId property.
|
void |
setDestinationUrl(String value)
Sets the value of the destinationUrl property.
|
void |
setIsInterstitial(Boolean value)
Sets the value of the isInterstitial property.
|
void |
setIsNativeEligible(Boolean value)
Sets the value of the isNativeEligible 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.
|
getAdvertiserId, getAppliedLabels, getCustomFieldValues, getId, getLastModifiedDateTime, getName, getPolicyViolations, getPreviewUrl, getSize, setAdvertiserId, setId, setLastModifiedDateTime, setName, setPreviewUrl, setSizeprotected Long creativeTemplateId
protected Boolean isInterstitial
protected Boolean isNativeEligible
protected Boolean isSafeFrameCompatible
protected String destinationUrl
protected List<BaseCreativeTemplateVariableValue> creativeTemplateVariableValues
protected SslScanResult sslScanResult
protected SslManualOverride sslManualOverride
protected LockedOrientation lockedOrientation
public Long getCreativeTemplateId()
Longpublic void setCreativeTemplateId(Long value)
value - allowed object is
Longpublic Boolean isIsInterstitial()
Booleanpublic void setIsInterstitial(Boolean value)
value - allowed object is
Booleanpublic Boolean isIsNativeEligible()
Booleanpublic void setIsNativeEligible(Boolean value)
value - allowed object is
Booleanpublic Boolean isIsSafeFrameCompatible()
Booleanpublic void setIsSafeFrameCompatible(Boolean value)
value - allowed object is
Booleanpublic String getDestinationUrl()
Stringpublic void setDestinationUrl(String value)
value - allowed object is
Stringpublic List<BaseCreativeTemplateVariableValue> getCreativeTemplateVariableValues()
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 creativeTemplateVariableValues property.
For example, to add a new item, do as follows:
getCreativeTemplateVariableValues().add(newItem);
Objects of the following type(s) are allowed in the list
BaseCreativeTemplateVariableValue
public SslScanResult getSslScanResult()
SslScanResultpublic void setSslScanResult(SslScanResult value)
value - allowed object is
SslScanResultpublic SslManualOverride getSslManualOverride()
SslManualOverridepublic void setSslManualOverride(SslManualOverride value)
value - allowed object is
SslManualOverridepublic LockedOrientation getLockedOrientation()
LockedOrientationpublic void setLockedOrientation(LockedOrientation value)
value - allowed object is
LockedOrientationCopyright © 2018. All Rights Reserved.