public class AdSenseSettings extends Object implements Serializable
AdUnit.| Constructor and Description |
|---|
AdSenseSettings() |
AdSenseSettings(Boolean adSenseEnabled,
String borderColor,
String titleColor,
String backgroundColor,
String textColor,
String urlColor,
AdSenseSettingsAdType adType,
AdSenseSettingsBorderStyle borderStyle,
AdSenseSettingsFontFamily fontFamily,
AdSenseSettingsFontSize fontSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAdSenseEnabled()
Gets the adSenseEnabled value for this AdSenseSettings.
|
AdSenseSettingsAdType |
getAdType()
Gets the adType value for this AdSenseSettings.
|
String |
getBackgroundColor()
Gets the backgroundColor value for this AdSenseSettings.
|
String |
getBorderColor()
Gets the borderColor value for this AdSenseSettings.
|
AdSenseSettingsBorderStyle |
getBorderStyle()
Gets the borderStyle value for this AdSenseSettings.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
AdSenseSettingsFontFamily |
getFontFamily()
Gets the fontFamily value for this AdSenseSettings.
|
AdSenseSettingsFontSize |
getFontSize()
Gets the fontSize value for this AdSenseSettings.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
String |
getTextColor()
Gets the textColor value for this AdSenseSettings.
|
String |
getTitleColor()
Gets the titleColor value for this AdSenseSettings.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
String |
getUrlColor()
Gets the urlColor value for this AdSenseSettings.
|
int |
hashCode() |
void |
setAdSenseEnabled(Boolean adSenseEnabled)
Sets the adSenseEnabled value for this AdSenseSettings.
|
void |
setAdType(AdSenseSettingsAdType adType)
Sets the adType value for this AdSenseSettings.
|
void |
setBackgroundColor(String backgroundColor)
Sets the backgroundColor value for this AdSenseSettings.
|
void |
setBorderColor(String borderColor)
Sets the borderColor value for this AdSenseSettings.
|
void |
setBorderStyle(AdSenseSettingsBorderStyle borderStyle)
Sets the borderStyle value for this AdSenseSettings.
|
void |
setFontFamily(AdSenseSettingsFontFamily fontFamily)
Sets the fontFamily value for this AdSenseSettings.
|
void |
setFontSize(AdSenseSettingsFontSize fontSize)
Sets the fontSize value for this AdSenseSettings.
|
void |
setTextColor(String textColor)
Sets the textColor value for this AdSenseSettings.
|
void |
setTitleColor(String titleColor)
Sets the titleColor value for this AdSenseSettings.
|
void |
setUrlColor(String urlColor)
Sets the urlColor value for this AdSenseSettings.
|
String |
toString() |
public AdSenseSettings()
public AdSenseSettings(Boolean adSenseEnabled, String borderColor, String titleColor, String backgroundColor, String textColor, String urlColor, AdSenseSettingsAdType adType, AdSenseSettingsBorderStyle borderStyle, AdSenseSettingsFontFamily fontFamily, AdSenseSettingsFontSize fontSize)
public Boolean getAdSenseEnabled()
AdUnit is enabled for
serving ads from
the AdSense content network. This attribute is optional
and defaults to the
ad unit's parent or ancestor's setting if one has
been set. If no ancestor
of the ad unit has set adSenseEnabled, the
attribute is
defaulted to true.public void setAdSenseEnabled(Boolean adSenseEnabled)
adSenseEnabled - * Specifies whether or not the AdUnit is enabled for
serving ads from
the AdSense content network. This attribute is optional
and defaults to the
ad unit's parent or ancestor's setting if one has
been set. If no ancestor
of the ad unit has set adSenseEnabled, the
attribute is
defaulted to true.public String getBorderColor()
000000
to FFFFFF. This attribute is optional and defaults to
the ad unit's parent or
ancestor's setting if one has been set. If no ancestor
of the ad unit has
set borderColor, the attribute is defaulted
to FFFFFF.public void setBorderColor(String borderColor)
borderColor - * Specifies the Hexadecimal border color, from 000000
to FFFFFF. This attribute is optional and defaults to
the ad unit's parent or
ancestor's setting if one has been set. If no ancestor
of the ad unit has
set borderColor, the attribute is defaulted
to FFFFFF.public String getTitleColor()
000000 to
FFFFFF. This attribute is optional and defaults
to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the
ad unit has set titleColor, the attribute
is defaulted to 0000FF.public void setTitleColor(String titleColor)
titleColor - * Specifies the Hexadecimal title color of an ad, from 000000 to
FFFFFF. This attribute is optional and defaults
to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the
ad unit has set titleColor, the attribute
is defaulted to 0000FF.public String getBackgroundColor()
000000 to
FFFFFF. This attribute is optional and defaults
to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the ad
unit has set backgroundColor, the attribute
is defaulted to FFFFFF.public void setBackgroundColor(String backgroundColor)
backgroundColor - * Specifies the Hexadecimal background color of an ad, from 000000 to
FFFFFF. This attribute is optional and defaults
to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the ad
unit has set backgroundColor, the attribute
is defaulted to FFFFFF.public String getTextColor()
000000
to FFFFFF. This attribute is optional and
defaults to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the ad
unit has set textColor, the attribute is defaulted
to 000000.public void setTextColor(String textColor)
textColor - * Specifies the Hexadecimal color of the text of an ad, from
000000
to FFFFFF. This attribute is optional and
defaults to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the ad
unit has set textColor, the attribute is defaulted
to 000000.public String getUrlColor()
000000 to
FFFFFF. This attribute is optional and defaults
to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the ad
unit has set urlColor, the attribute is defaulted
to 008000
.public void setUrlColor(String urlColor)
urlColor - * Specifies the Hexadecimal color of the URL of an ad, from 000000 to
FFFFFF. This attribute is optional and defaults
to the ad unit's
parent or ancestor's setting if one has been set.
If no ancestor of the ad
unit has set urlColor, the attribute is defaulted
to 008000
.public AdSenseSettingsAdType getAdType()
AdUnit
from the
AdSense Content Network. This attribute is optional
and defaults to the ad
unit's parent or ancestor's setting if one has been
set. If no ancestor of
the ad unit has set adType, the attribute
is defaulted to AdType#TEXT_AND_IMAGE.public void setAdType(AdSenseSettingsAdType adType)
adType - * Specifies what kind of ad can be served by this AdUnit
from the
AdSense Content Network. This attribute is optional
and defaults to the ad
unit's parent or ancestor's setting if one has been
set. If no ancestor of
the ad unit has set adType, the attribute
is defaulted to AdType#TEXT_AND_IMAGE.public AdSenseSettingsBorderStyle getBorderStyle()
AdUnit. This attribute
is
optional and defaults to the ad unit's parent or ancestor's
setting if one
has been set. If no ancestor of the ad unit has set
borderStyle,
the attribute is defaulted to BorderStyle#DEFAULT.public void setBorderStyle(AdSenseSettingsBorderStyle borderStyle)
borderStyle - * Specifies the border-style of the AdUnit. This attribute
is
optional and defaults to the ad unit's parent or ancestor's
setting if one
has been set. If no ancestor of the ad unit has set
borderStyle,
the attribute is defaulted to BorderStyle#DEFAULT.public AdSenseSettingsFontFamily getFontFamily()
AdUnit. This attribute
is optional
and defaults to the ad unit's parent or ancestor's
setting if one has been
set. If no ancestor of the ad unit has set fontFamily, the
attribute is defaulted to FontFamily#DEFAULT.public void setFontFamily(AdSenseSettingsFontFamily fontFamily)
fontFamily - * Specifies the font family of the AdUnit. This attribute
is optional
and defaults to the ad unit's parent or ancestor's
setting if one has been
set. If no ancestor of the ad unit has set fontFamily, the
attribute is defaulted to FontFamily#DEFAULT.public AdSenseSettingsFontSize getFontSize()
AdUnit. This attribute
is optional
and defaults to the ad unit's parent or ancestor's
setting if one has been
set. If no ancestor of the ad unit has set fontSize, the
attribute is defaulted to FontSize#DEFAULT.public void setFontSize(AdSenseSettingsFontSize fontSize)
fontSize - * Specifies the font size of the AdUnit. This attribute
is optional
and defaults to the ad unit's parent or ancestor's
setting if one has been
set. If no ancestor of the ad unit has set fontSize, the
attribute is defaulted to FontSize#DEFAULT.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2020. All rights reserved.