public class AdSenseSettings extends Object
AdUnit.
Java class for AdSenseSettings complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdSenseSettings">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="adSenseEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="borderColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="titleColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="backgroundColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="textColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="urlColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="adType" type="{https://www.google.com/apis/ads/publisher/v201802}AdSenseSettings.AdType" minOccurs="0"/>
<element name="borderStyle" type="{https://www.google.com/apis/ads/publisher/v201802}AdSenseSettings.BorderStyle" minOccurs="0"/>
<element name="fontFamily" type="{https://www.google.com/apis/ads/publisher/v201802}AdSenseSettings.FontFamily" minOccurs="0"/>
<element name="fontSize" type="{https://www.google.com/apis/ads/publisher/v201802}AdSenseSettings.FontSize" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
adSenseEnabled |
protected AdSenseSettingsAdType |
adType |
protected String |
backgroundColor |
protected String |
borderColor |
protected AdSenseSettingsBorderStyle |
borderStyle |
protected AdSenseSettingsFontFamily |
fontFamily |
protected AdSenseSettingsFontSize |
fontSize |
protected String |
textColor |
protected String |
titleColor |
protected String |
urlColor |
| Constructor and Description |
|---|
AdSenseSettings() |
| Modifier and Type | Method and Description |
|---|---|
AdSenseSettingsAdType |
getAdType()
Gets the value of the adType property.
|
String |
getBackgroundColor()
Gets the value of the backgroundColor property.
|
String |
getBorderColor()
Gets the value of the borderColor property.
|
AdSenseSettingsBorderStyle |
getBorderStyle()
Gets the value of the borderStyle property.
|
AdSenseSettingsFontFamily |
getFontFamily()
Gets the value of the fontFamily property.
|
AdSenseSettingsFontSize |
getFontSize()
Gets the value of the fontSize property.
|
String |
getTextColor()
Gets the value of the textColor property.
|
String |
getTitleColor()
Gets the value of the titleColor property.
|
String |
getUrlColor()
Gets the value of the urlColor property.
|
Boolean |
isAdSenseEnabled()
Gets the value of the adSenseEnabled property.
|
void |
setAdSenseEnabled(Boolean value)
Sets the value of the adSenseEnabled property.
|
void |
setAdType(AdSenseSettingsAdType value)
Sets the value of the adType property.
|
void |
setBackgroundColor(String value)
Sets the value of the backgroundColor property.
|
void |
setBorderColor(String value)
Sets the value of the borderColor property.
|
void |
setBorderStyle(AdSenseSettingsBorderStyle value)
Sets the value of the borderStyle property.
|
void |
setFontFamily(AdSenseSettingsFontFamily value)
Sets the value of the fontFamily property.
|
void |
setFontSize(AdSenseSettingsFontSize value)
Sets the value of the fontSize property.
|
void |
setTextColor(String value)
Sets the value of the textColor property.
|
void |
setTitleColor(String value)
Sets the value of the titleColor property.
|
void |
setUrlColor(String value)
Sets the value of the urlColor property.
|
protected Boolean adSenseEnabled
protected String borderColor
protected String titleColor
protected String backgroundColor
protected String textColor
protected String urlColor
protected AdSenseSettingsAdType adType
protected AdSenseSettingsBorderStyle borderStyle
protected AdSenseSettingsFontFamily fontFamily
protected AdSenseSettingsFontSize fontSize
public Boolean isAdSenseEnabled()
Booleanpublic void setAdSenseEnabled(Boolean value)
value - allowed object is
Booleanpublic String getBorderColor()
Stringpublic void setBorderColor(String value)
value - allowed object is
Stringpublic String getTitleColor()
Stringpublic void setTitleColor(String value)
value - allowed object is
Stringpublic String getBackgroundColor()
Stringpublic void setBackgroundColor(String value)
value - allowed object is
Stringpublic String getTextColor()
Stringpublic void setTextColor(String value)
value - allowed object is
Stringpublic String getUrlColor()
Stringpublic void setUrlColor(String value)
value - allowed object is
Stringpublic AdSenseSettingsAdType getAdType()
AdSenseSettingsAdTypepublic void setAdType(AdSenseSettingsAdType value)
value - allowed object is
AdSenseSettingsAdTypepublic AdSenseSettingsBorderStyle getBorderStyle()
AdSenseSettingsBorderStylepublic void setBorderStyle(AdSenseSettingsBorderStyle value)
value - allowed object is
AdSenseSettingsBorderStylepublic AdSenseSettingsFontFamily getFontFamily()
AdSenseSettingsFontFamilypublic void setFontFamily(AdSenseSettingsFontFamily value)
value - allowed object is
AdSenseSettingsFontFamilypublic AdSenseSettingsFontSize getFontSize()
AdSenseSettingsFontSizepublic void setFontSize(AdSenseSettingsFontSize value)
value - allowed object is
AdSenseSettingsFontSizeCopyright © 2018. All Rights Reserved.