public class CreativeWrapper extends Object implements Serializable
CreativeWrapper allows the wrapping of HTML snippets
to be
served along with Creative objects.
Creative wrappers must be associated with a
LabelType.CREATIVE_WRAPPER label and applied to
ad units by
AdUnit.appliedLabels.
| Constructor and Description |
|---|
CreativeWrapper() |
CreativeWrapper(Long id,
Long labelId,
String htmlHeader,
String htmlFooter,
String ampHead,
String ampBody,
CreativeWrapperOrdering ordering,
CreativeWrapperStatus status) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAmpBody()
Gets the ampBody value for this CreativeWrapper.
|
String |
getAmpHead()
Gets the ampHead value for this CreativeWrapper.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getHtmlFooter()
Gets the htmlFooter value for this CreativeWrapper.
|
String |
getHtmlHeader()
Gets the htmlHeader value for this CreativeWrapper.
|
Long |
getId()
Gets the id value for this CreativeWrapper.
|
Long |
getLabelId()
Gets the labelId value for this CreativeWrapper.
|
CreativeWrapperOrdering |
getOrdering()
Gets the ordering value for this CreativeWrapper.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
CreativeWrapperStatus |
getStatus()
Gets the status value for this CreativeWrapper.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setAmpBody(String ampBody)
Sets the ampBody value for this CreativeWrapper.
|
void |
setAmpHead(String ampHead)
Sets the ampHead value for this CreativeWrapper.
|
void |
setHtmlFooter(String htmlFooter)
Sets the htmlFooter value for this CreativeWrapper.
|
void |
setHtmlHeader(String htmlHeader)
Sets the htmlHeader value for this CreativeWrapper.
|
void |
setId(Long id)
Sets the id value for this CreativeWrapper.
|
void |
setLabelId(Long labelId)
Sets the labelId value for this CreativeWrapper.
|
void |
setOrdering(CreativeWrapperOrdering ordering)
Sets the ordering value for this CreativeWrapper.
|
void |
setStatus(CreativeWrapperStatus status)
Sets the status value for this CreativeWrapper.
|
String |
toString() |
public CreativeWrapper()
public CreativeWrapper(Long id, Long labelId, String htmlHeader, String htmlFooter, String ampHead, String ampBody, CreativeWrapperOrdering ordering, CreativeWrapperStatus status)
public Long getId()
CreativeWrapper. This value is
readonly
and is assigned by Google.public void setId(Long id)
id - * The unique ID of the CreativeWrapper. This value is
readonly
and is assigned by Google.public Long getLabelId()
Label which will be used to label ad
units. The
labelId on a creative wrapper cannot be changed
once it is
created.public void setLabelId(Long labelId)
labelId - * The ID of the Label which will be used to label ad
units. The
labelId on a creative wrapper cannot be changed
once it is
created.public String getHtmlHeader()
public void setHtmlHeader(String htmlHeader)
htmlHeader - * The header HTML snippet that this creative wrapper delivers.public String getHtmlFooter()
public void setHtmlFooter(String htmlFooter)
htmlFooter - * The footer HTML snippet that this creative wrapper delivers.public String getAmpHead()
public void setAmpHead(String ampHead)
ampHead - * The header AMP snippet that this creative wrapper delivers.public String getAmpBody()
public void setAmpBody(String ampBody)
ampBody - * The footer AMP snippet that this creative wrapper delivers.public CreativeWrapperOrdering getOrdering()
ordering defines the order in which the HTML
snippets are rendered.public void setOrdering(CreativeWrapperOrdering ordering)
ordering - * If there are multiple wrappers for a creative, then
ordering defines the order in which the HTML
snippets are rendered.public CreativeWrapperStatus getStatus()
CreativeWrapper. This attribute is
readonly.public void setStatus(CreativeWrapperStatus status)
status - * The status of the CreativeWrapper. This attribute is
readonly.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2018. All Rights Reserved.