public abstract class RichMediaAd extends Ad
Java class for RichMediaAd complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RichMediaAd">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Ad">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="dimensions" type="{https://adwords.google.com/api/adwords/cm/v201809}Dimensions" minOccurs="0"/>
<element name="snippet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="impressionBeaconUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="adDuration" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="certifiedVendorFormatId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="sourceUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="richMediaAdType" type="{https://adwords.google.com/api/adwords/cm/v201809}RichMediaAd.RichMediaAdType" minOccurs="0"/>
<element name="adAttributes" type="{https://adwords.google.com/api/adwords/cm/v201809}RichMediaAd.AdAttribute" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<RichMediaAdAdAttribute> |
adAttributes |
protected Integer |
adDuration |
protected Long |
certifiedVendorFormatId |
protected Dimensions |
dimensions |
protected String |
impressionBeaconUrl |
protected String |
name |
protected RichMediaAdRichMediaAdType |
richMediaAdType |
protected String |
snippet |
protected String |
sourceUrl |
adType, automated, devicePreference, displayUrl, finalAppUrls, finalMobileUrls, finalUrls, finalUrlSuffix, id, systemManagedEntitySource, trackingUrlTemplate, type, url, urlCustomParameters, urlData| Constructor and Description |
|---|
RichMediaAd() |
| Modifier and Type | Method and Description |
|---|---|
List<RichMediaAdAdAttribute> |
getAdAttributes()
Gets the value of the adAttributes property.
|
Integer |
getAdDuration()
Gets the value of the adDuration property.
|
Long |
getCertifiedVendorFormatId()
Gets the value of the certifiedVendorFormatId property.
|
Dimensions |
getDimensions()
Gets the value of the dimensions property.
|
String |
getImpressionBeaconUrl()
Gets the value of the impressionBeaconUrl property.
|
String |
getName()
Gets the value of the name property.
|
RichMediaAdRichMediaAdType |
getRichMediaAdType()
Gets the value of the richMediaAdType property.
|
String |
getSnippet()
Gets the value of the snippet property.
|
String |
getSourceUrl()
Gets the value of the sourceUrl property.
|
void |
setAdDuration(Integer value)
Sets the value of the adDuration property.
|
void |
setCertifiedVendorFormatId(Long value)
Sets the value of the certifiedVendorFormatId property.
|
void |
setDimensions(Dimensions value)
Sets the value of the dimensions property.
|
void |
setImpressionBeaconUrl(String value)
Sets the value of the impressionBeaconUrl property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRichMediaAdType(RichMediaAdRichMediaAdType value)
Sets the value of the richMediaAdType property.
|
void |
setSnippet(String value)
Sets the value of the snippet property.
|
void |
setSourceUrl(String value)
Sets the value of the sourceUrl property.
|
getAdType, getDevicePreference, getDisplayUrl, getFinalAppUrls, getFinalMobileUrls, getFinalUrls, getFinalUrlSuffix, getId, getSystemManagedEntitySource, getTrackingUrlTemplate, getType, getUrl, getUrlCustomParameters, getUrlData, isAutomated, setAdType, setAutomated, setDevicePreference, setDisplayUrl, setFinalUrlSuffix, setId, setSystemManagedEntitySource, setTrackingUrlTemplate, setType, setUrl, setUrlCustomParametersprotected String name
protected Dimensions dimensions
protected String snippet
protected String impressionBeaconUrl
protected Integer adDuration
protected Long certifiedVendorFormatId
protected String sourceUrl
protected RichMediaAdRichMediaAdType richMediaAdType
protected List<RichMediaAdAdAttribute> adAttributes
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic Dimensions getDimensions()
Dimensionspublic void setDimensions(Dimensions value)
value - allowed object is
Dimensionspublic String getSnippet()
Stringpublic void setSnippet(String value)
value - allowed object is
Stringpublic String getImpressionBeaconUrl()
Stringpublic void setImpressionBeaconUrl(String value)
value - allowed object is
Stringpublic Integer getAdDuration()
Integerpublic void setAdDuration(Integer value)
value - allowed object is
Integerpublic Long getCertifiedVendorFormatId()
Longpublic void setCertifiedVendorFormatId(Long value)
value - allowed object is
Longpublic String getSourceUrl()
Stringpublic void setSourceUrl(String value)
value - allowed object is
Stringpublic RichMediaAdRichMediaAdType getRichMediaAdType()
RichMediaAdRichMediaAdTypepublic void setRichMediaAdType(RichMediaAdRichMediaAdType value)
value - allowed object is
RichMediaAdRichMediaAdTypepublic List<RichMediaAdAdAttribute> getAdAttributes()
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 adAttributes property.
For example, to add a new item, do as follows:
getAdAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
RichMediaAdAdAttribute
Copyright © 2023. All rights reserved.