public class ResponsiveDisplayAd extends Ad
Caution: Responsive display ads do not use url,
displayUrl, finalAppUrls, or
devicePreference;
setting these fields on a responsive display ad will cause an error.
This is enabled for AdX.
Java class for ResponsiveDisplayAd complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ResponsiveDisplayAd">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Ad">
<sequence>
<element name="marketingImage" type="{https://adwords.google.com/api/adwords/cm/v201809}Image" minOccurs="0"/>
<element name="logoImage" type="{https://adwords.google.com/api/adwords/cm/v201809}Image" minOccurs="0"/>
<element name="squareMarketingImage" type="{https://adwords.google.com/api/adwords/cm/v201809}Image" minOccurs="0"/>
<element name="shortHeadline" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="longHeadline" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="businessName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="mainColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="accentColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="allowFlexibleColor" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="callToActionText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="dynamicDisplayAdSettings" type="{https://adwords.google.com/api/adwords/cm/v201809}DynamicSettings" minOccurs="0"/>
<element name="formatSetting" type="{https://adwords.google.com/api/adwords/cm/v201809}DisplayAdFormatSetting" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
accentColor |
protected Boolean |
allowFlexibleColor |
protected String |
businessName |
protected String |
callToActionText |
protected String |
description |
protected DynamicSettings |
dynamicDisplayAdSettings |
protected DisplayAdFormatSetting |
formatSetting |
protected Image |
logoImage |
protected String |
longHeadline |
protected String |
mainColor |
protected Image |
marketingImage |
protected String |
shortHeadline |
protected Image |
squareMarketingImage |
adType, automated, devicePreference, displayUrl, finalAppUrls, finalMobileUrls, finalUrls, finalUrlSuffix, id, systemManagedEntitySource, trackingUrlTemplate, type, url, urlCustomParameters, urlData| Constructor and Description |
|---|
ResponsiveDisplayAd() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccentColor()
Gets the value of the accentColor property.
|
String |
getBusinessName()
Gets the value of the businessName property.
|
String |
getCallToActionText()
Gets the value of the callToActionText property.
|
String |
getDescription()
Gets the value of the description property.
|
DynamicSettings |
getDynamicDisplayAdSettings()
Gets the value of the dynamicDisplayAdSettings property.
|
DisplayAdFormatSetting |
getFormatSetting()
Gets the value of the formatSetting property.
|
Image |
getLogoImage()
Gets the value of the logoImage property.
|
String |
getLongHeadline()
Gets the value of the longHeadline property.
|
String |
getMainColor()
Gets the value of the mainColor property.
|
Image |
getMarketingImage()
Gets the value of the marketingImage property.
|
String |
getShortHeadline()
Gets the value of the shortHeadline property.
|
Image |
getSquareMarketingImage()
Gets the value of the squareMarketingImage property.
|
Boolean |
isAllowFlexibleColor()
Gets the value of the allowFlexibleColor property.
|
void |
setAccentColor(String value)
Sets the value of the accentColor property.
|
void |
setAllowFlexibleColor(Boolean value)
Sets the value of the allowFlexibleColor property.
|
void |
setBusinessName(String value)
Sets the value of the businessName property.
|
void |
setCallToActionText(String value)
Sets the value of the callToActionText property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDynamicDisplayAdSettings(DynamicSettings value)
Sets the value of the dynamicDisplayAdSettings property.
|
void |
setFormatSetting(DisplayAdFormatSetting value)
Sets the value of the formatSetting property.
|
void |
setLogoImage(Image value)
Sets the value of the logoImage property.
|
void |
setLongHeadline(String value)
Sets the value of the longHeadline property.
|
void |
setMainColor(String value)
Sets the value of the mainColor property.
|
void |
setMarketingImage(Image value)
Sets the value of the marketingImage property.
|
void |
setShortHeadline(String value)
Sets the value of the shortHeadline property.
|
void |
setSquareMarketingImage(Image value)
Sets the value of the squareMarketingImage 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 Image marketingImage
protected Image logoImage
protected Image squareMarketingImage
protected String shortHeadline
protected String longHeadline
protected String description
protected String businessName
protected String mainColor
protected String accentColor
protected Boolean allowFlexibleColor
protected String callToActionText
protected DynamicSettings dynamicDisplayAdSettings
protected DisplayAdFormatSetting formatSetting
public Image getMarketingImage()
Imagepublic void setMarketingImage(Image value)
value - allowed object is
Imagepublic Image getLogoImage()
Imagepublic void setLogoImage(Image value)
value - allowed object is
Imagepublic Image getSquareMarketingImage()
Imagepublic void setSquareMarketingImage(Image value)
value - allowed object is
Imagepublic String getShortHeadline()
Stringpublic void setShortHeadline(String value)
value - allowed object is
Stringpublic String getLongHeadline()
Stringpublic void setLongHeadline(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getBusinessName()
Stringpublic void setBusinessName(String value)
value - allowed object is
Stringpublic String getMainColor()
Stringpublic void setMainColor(String value)
value - allowed object is
Stringpublic String getAccentColor()
Stringpublic void setAccentColor(String value)
value - allowed object is
Stringpublic Boolean isAllowFlexibleColor()
Booleanpublic void setAllowFlexibleColor(Boolean value)
value - allowed object is
Booleanpublic String getCallToActionText()
Stringpublic void setCallToActionText(String value)
value - allowed object is
Stringpublic DynamicSettings getDynamicDisplayAdSettings()
DynamicSettingspublic void setDynamicDisplayAdSettings(DynamicSettings value)
value - allowed object is
DynamicSettingspublic DisplayAdFormatSetting getFormatSetting()
DisplayAdFormatSettingpublic void setFormatSetting(DisplayAdFormatSetting value)
value - allowed object is
DisplayAdFormatSettingCopyright © 2023. All rights reserved.