public class CreativeTemplate extends Object
Java class for CreativeTemplate complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CreativeTemplate">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="variables" type="{https://www.google.com/apis/ads/publisher/v201711}CreativeTemplateVariable" maxOccurs="unbounded" minOccurs="0"/>
<element name="snippet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201711}CreativeTemplateStatus" minOccurs="0"/>
<element name="type" type="{https://www.google.com/apis/ads/publisher/v201711}CreativeTemplateType" 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"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected Long |
id |
protected Boolean |
isInterstitial |
protected Boolean |
isNativeEligible |
protected Boolean |
isSafeFrameCompatible |
protected String |
name |
protected String |
snippet |
protected CreativeTemplateStatus |
status |
protected CreativeTemplateType |
type |
protected List<CreativeTemplateVariable> |
variables |
| Constructor and Description |
|---|
CreativeTemplate() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
String |
getSnippet()
Gets the value of the snippet property.
|
CreativeTemplateStatus |
getStatus()
Gets the value of the status property.
|
CreativeTemplateType |
getType()
Gets the value of the type property.
|
List<CreativeTemplateVariable> |
getVariables()
Gets the value of the variables 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 |
setDescription(String value)
Sets the value of the description property.
|
void |
setId(Long value)
Sets the value of the id 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 |
setName(String value)
Sets the value of the name property.
|
void |
setSnippet(String value)
Sets the value of the snippet property.
|
void |
setStatus(CreativeTemplateStatus value)
Sets the value of the status property.
|
void |
setType(CreativeTemplateType value)
Sets the value of the type property.
|
protected Long id
protected String name
protected String description
protected List<CreativeTemplateVariable> variables
protected String snippet
protected CreativeTemplateStatus status
protected CreativeTemplateType type
protected Boolean isInterstitial
protected Boolean isNativeEligible
protected Boolean isSafeFrameCompatible
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<CreativeTemplateVariable> getVariables()
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 variables property.
For example, to add a new item, do as follows:
getVariables().add(newItem);
Objects of the following type(s) are allowed in the list
CreativeTemplateVariable
public String getSnippet()
Stringpublic void setSnippet(String value)
value - allowed object is
Stringpublic CreativeTemplateStatus getStatus()
CreativeTemplateStatuspublic void setStatus(CreativeTemplateStatus value)
value - allowed object is
CreativeTemplateStatuspublic CreativeTemplateType getType()
CreativeTemplateTypepublic void setType(CreativeTemplateType value)
value - allowed object is
CreativeTemplateTypepublic 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()
BooleanCopyright © 2018. All Rights Reserved.