public class NativeStyle extends Object implements Serializable
| Constructor and Description |
|---|
NativeStyle() |
NativeStyle(Long id,
String name,
String htmlSnippet,
String cssSnippet,
Long creativeTemplateId,
Boolean isFluid,
Targeting targeting,
NativeStyleStatus status,
Size size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getCreativeTemplateId()
Gets the creativeTemplateId value for this NativeStyle.
|
String |
getCssSnippet()
Gets the cssSnippet value for this NativeStyle.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getHtmlSnippet()
Gets the htmlSnippet value for this NativeStyle.
|
Long |
getId()
Gets the id value for this NativeStyle.
|
Boolean |
getIsFluid()
Gets the isFluid value for this NativeStyle.
|
String |
getName()
Gets the name value for this NativeStyle.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
Size |
getSize()
Gets the size value for this NativeStyle.
|
NativeStyleStatus |
getStatus()
Gets the status value for this NativeStyle.
|
Targeting |
getTargeting()
Gets the targeting value for this NativeStyle.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCreativeTemplateId(Long creativeTemplateId)
Sets the creativeTemplateId value for this NativeStyle.
|
void |
setCssSnippet(String cssSnippet)
Sets the cssSnippet value for this NativeStyle.
|
void |
setHtmlSnippet(String htmlSnippet)
Sets the htmlSnippet value for this NativeStyle.
|
void |
setId(Long id)
Sets the id value for this NativeStyle.
|
void |
setIsFluid(Boolean isFluid)
Sets the isFluid value for this NativeStyle.
|
void |
setName(String name)
Sets the name value for this NativeStyle.
|
void |
setSize(Size size)
Sets the size value for this NativeStyle.
|
void |
setStatus(NativeStyleStatus status)
Sets the status value for this NativeStyle.
|
void |
setTargeting(Targeting targeting)
Sets the targeting value for this NativeStyle.
|
String |
toString() |
public Long getId()
NativeStyle. This attribute
is read-only and is assigned by
Google when a native style is created.public void setId(Long id)
id - * Uniquely identifies the NativeStyle. This attribute
is read-only and is assigned by
Google when a native style is created.public String getName()
public void setName(String name)
name - * The name of the native style. This attribute is required and
has a maximum length of 255
characters.public String getHtmlSnippet()
public void setHtmlSnippet(String htmlSnippet)
htmlSnippet - * The HTML snippet of the native style with placeholders for
the associated variables.
This attribute is required.public String getCssSnippet()
public void setCssSnippet(String cssSnippet)
cssSnippet - * The CSS snippet of the native style, with placeholders for
the associated variables. This
attribute is required.public Long getCreativeTemplateId()
public void setCreativeTemplateId(Long creativeTemplateId)
creativeTemplateId - * The creative template ID this native style associated with.
This attribute is required on
creation and is read-only afterwards.public Boolean getIsFluid()
true,
this must be used with 1x1 size.public void setIsFluid(Boolean isFluid)
isFluid - * Whether this is a fluid size native style. If true,
this must be used with 1x1 size.public Targeting getTargeting()
public void setTargeting(Targeting targeting)
targeting - * The targeting criteria for this native style.
Only ad unit and key-value targeting are supported
at this time.public NativeStyleStatus getStatus()
public void setStatus(NativeStyleStatus status)
status - * The status of the native style. This attribute is read-only.public Size getSize()
public void setSize(Size size)
size - * The size of the native style. This attribute is required.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2021. All rights reserved.