public class CreativeWrapper extends Object
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.
Java class for CreativeWrapper complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CreativeWrapper">
<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="labelId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="htmlHeader" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="htmlFooter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ampHead" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ampBody" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ordering" type="{https://www.google.com/apis/ads/publisher/v201805}CreativeWrapperOrdering" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201805}CreativeWrapperStatus" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
ampBody |
protected String |
ampHead |
protected String |
htmlFooter |
protected String |
htmlHeader |
protected Long |
id |
protected Long |
labelId |
protected CreativeWrapperOrdering |
ordering |
protected CreativeWrapperStatus |
status |
| Constructor and Description |
|---|
CreativeWrapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAmpBody()
Gets the value of the ampBody property.
|
String |
getAmpHead()
Gets the value of the ampHead property.
|
String |
getHtmlFooter()
Gets the value of the htmlFooter property.
|
String |
getHtmlHeader()
Gets the value of the htmlHeader property.
|
Long |
getId()
Gets the value of the id property.
|
Long |
getLabelId()
Gets the value of the labelId property.
|
CreativeWrapperOrdering |
getOrdering()
Gets the value of the ordering property.
|
CreativeWrapperStatus |
getStatus()
Gets the value of the status property.
|
void |
setAmpBody(String value)
Sets the value of the ampBody property.
|
void |
setAmpHead(String value)
Sets the value of the ampHead property.
|
void |
setHtmlFooter(String value)
Sets the value of the htmlFooter property.
|
void |
setHtmlHeader(String value)
Sets the value of the htmlHeader property.
|
void |
setId(Long value)
Sets the value of the id property.
|
void |
setLabelId(Long value)
Sets the value of the labelId property.
|
void |
setOrdering(CreativeWrapperOrdering value)
Sets the value of the ordering property.
|
void |
setStatus(CreativeWrapperStatus value)
Sets the value of the status property.
|
protected Long id
protected Long labelId
protected String htmlHeader
protected String htmlFooter
protected String ampHead
protected String ampBody
protected CreativeWrapperOrdering ordering
protected CreativeWrapperStatus status
public void setId(Long value)
value - allowed object is
Longpublic Long getLabelId()
Longpublic void setLabelId(Long value)
value - allowed object is
Longpublic String getHtmlHeader()
Stringpublic void setHtmlHeader(String value)
value - allowed object is
Stringpublic String getHtmlFooter()
Stringpublic void setHtmlFooter(String value)
value - allowed object is
Stringpublic String getAmpHead()
Stringpublic void setAmpHead(String value)
value - allowed object is
Stringpublic String getAmpBody()
Stringpublic void setAmpBody(String value)
value - allowed object is
Stringpublic CreativeWrapperOrdering getOrdering()
CreativeWrapperOrderingpublic void setOrdering(CreativeWrapperOrdering value)
value - allowed object is
CreativeWrapperOrderingpublic CreativeWrapperStatus getStatus()
CreativeWrapperStatuspublic void setStatus(CreativeWrapperStatus value)
value - allowed object is
CreativeWrapperStatusCopyright © 2018. All Rights Reserved.