public class NativeStyle extends Object
Java class for NativeStyle complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NativeStyle">
<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="htmlSnippet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="cssSnippet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="creativeTemplateId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="isFluid" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="targeting" type="{https://www.google.com/apis/ads/publisher/v201708}Targeting" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201708}NativeStyleStatus" minOccurs="0"/>
<element name="size" type="{https://www.google.com/apis/ads/publisher/v201708}Size" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
creativeTemplateId |
protected String |
cssSnippet |
protected String |
htmlSnippet |
protected Long |
id |
protected Boolean |
isFluid |
protected String |
name |
protected Size |
size |
protected NativeStyleStatus |
status |
protected Targeting |
targeting |
| Constructor and Description |
|---|
NativeStyle() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCreativeTemplateId()
Gets the value of the creativeTemplateId property.
|
String |
getCssSnippet()
Gets the value of the cssSnippet property.
|
String |
getHtmlSnippet()
Gets the value of the htmlSnippet property.
|
Long |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
Size |
getSize()
Gets the value of the size property.
|
NativeStyleStatus |
getStatus()
Gets the value of the status property.
|
Targeting |
getTargeting()
Gets the value of the targeting property.
|
Boolean |
isIsFluid()
Gets the value of the isFluid property.
|
void |
setCreativeTemplateId(Long value)
Sets the value of the creativeTemplateId property.
|
void |
setCssSnippet(String value)
Sets the value of the cssSnippet property.
|
void |
setHtmlSnippet(String value)
Sets the value of the htmlSnippet property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setIsFluid(Boolean value)
Sets the value of the isFluid property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSize(Size value)
Sets the value of the size property.
|
void |
setStatus(NativeStyleStatus value)
Sets the value of the status property.
|
void |
setTargeting(Targeting value)
Sets the value of the targeting property.
|
protected Long id
protected String name
protected String htmlSnippet
protected String cssSnippet
protected Long creativeTemplateId
protected Boolean isFluid
protected Targeting targeting
protected NativeStyleStatus status
protected Size size
public void setId(Long value)
value - allowed object is
Longpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getHtmlSnippet()
Stringpublic void setHtmlSnippet(String value)
value - allowed object is
Stringpublic String getCssSnippet()
Stringpublic void setCssSnippet(String value)
value - allowed object is
Stringpublic Long getCreativeTemplateId()
Longpublic void setCreativeTemplateId(Long value)
value - allowed object is
Longpublic Boolean isIsFluid()
Booleanpublic void setIsFluid(Boolean value)
value - allowed object is
Booleanpublic Targeting getTargeting()
Targetingpublic void setTargeting(Targeting value)
value - allowed object is
Targetingpublic NativeStyleStatus getStatus()
NativeStyleStatuspublic void setStatus(NativeStyleStatus value)
value - allowed object is
NativeStyleStatusCopyright © 2018. All Rights Reserved.