com.google.api.ads.dfp.axis.v201201
Class AdSenseSettings

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201201.AdSenseSettings
All Implemented Interfaces:
Serializable

public class AdSenseSettings
extends Object
implements Serializable

Contains the AdSense configuration for an AdUnit.

See Also:
Serialized Form

Constructor Summary
AdSenseSettings()
           
AdSenseSettings(Boolean adSenseEnabled, String borderColor, String titleColor, String backgroundColor, String textColor, String urlColor, AdSenseSettingsAdType adType, AdSenseSettingsBorderStyle borderStyle, AdSenseSettingsFontFamily fontFamily, AdSenseSettingsFontSize fontSize, Size_StringMapEntry[] afcFormats)
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAdSenseEnabled()
          Gets the adSenseEnabled value for this AdSenseSettings.
 AdSenseSettingsAdType getAdType()
          Gets the adType value for this AdSenseSettings.
 Size_StringMapEntry[] getAfcFormats()
          Gets the afcFormats value for this AdSenseSettings.
 Size_StringMapEntry getAfcFormats(int i)
           
 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 setAfcFormats(int i, Size_StringMapEntry _value)
           
 void setAfcFormats(Size_StringMapEntry[] afcFormats)
          Sets the afcFormats 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdSenseSettings

public AdSenseSettings()

AdSenseSettings

public AdSenseSettings(Boolean adSenseEnabled,
                       String borderColor,
                       String titleColor,
                       String backgroundColor,
                       String textColor,
                       String urlColor,
                       AdSenseSettingsAdType adType,
                       AdSenseSettingsBorderStyle borderStyle,
                       AdSenseSettingsFontFamily fontFamily,
                       AdSenseSettingsFontSize fontSize,
                       Size_StringMapEntry[] afcFormats)
Method Detail

getAdSenseEnabled

public Boolean getAdSenseEnabled()
Gets the adSenseEnabled value for this AdSenseSettings.

Returns:
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.

setAdSenseEnabled

public void setAdSenseEnabled(Boolean adSenseEnabled)
Sets the adSenseEnabled value for this AdSenseSettings.

Parameters:
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.

getBorderColor

public String getBorderColor()
Gets the borderColor value for this AdSenseSettings.

Returns:
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.

setBorderColor

public void setBorderColor(String borderColor)
Sets the borderColor value for this AdSenseSettings.

Parameters:
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.

getTitleColor

public String getTitleColor()
Gets the titleColor value for this AdSenseSettings.

Returns:
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.

setTitleColor

public void setTitleColor(String titleColor)
Sets the titleColor value for this AdSenseSettings.

Parameters:
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.

getBackgroundColor

public String getBackgroundColor()
Gets the backgroundColor value for this AdSenseSettings.

Returns:
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.

setBackgroundColor

public void setBackgroundColor(String backgroundColor)
Sets the backgroundColor value for this AdSenseSettings.

Parameters:
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.

getTextColor

public String getTextColor()
Gets the textColor value for this AdSenseSettings.

Returns:
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.

setTextColor

public void setTextColor(String textColor)
Sets the textColor value for this AdSenseSettings.

Parameters:
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.

getUrlColor

public String getUrlColor()
Gets the urlColor value for this AdSenseSettings.

Returns:
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 .

setUrlColor

public void setUrlColor(String urlColor)
Sets the urlColor value for this AdSenseSettings.

Parameters:
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 .

getAdType

public AdSenseSettingsAdType getAdType()
Gets the adType value for this AdSenseSettings.

Returns:
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.

setAdType

public void setAdType(AdSenseSettingsAdType adType)
Sets the adType value for this AdSenseSettings.

Parameters:
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.

getBorderStyle

public AdSenseSettingsBorderStyle getBorderStyle()
Gets the borderStyle value for this AdSenseSettings.

Returns:
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.

setBorderStyle

public void setBorderStyle(AdSenseSettingsBorderStyle borderStyle)
Sets the borderStyle value for this AdSenseSettings.

Parameters:
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.

getFontFamily

public AdSenseSettingsFontFamily getFontFamily()
Gets the fontFamily value for this AdSenseSettings.

Returns:
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.

setFontFamily

public void setFontFamily(AdSenseSettingsFontFamily fontFamily)
Sets the fontFamily value for this AdSenseSettings.

Parameters:
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.

getFontSize

public AdSenseSettingsFontSize getFontSize()
Gets the fontSize value for this AdSenseSettings.

Returns:
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.

setFontSize

public void setFontSize(AdSenseSettingsFontSize fontSize)
Sets the fontSize value for this AdSenseSettings.

Parameters:
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.

getAfcFormats

public Size_StringMapEntry[] getAfcFormats()
Gets the afcFormats value for this AdSenseSettings.

Returns:
afcFormats * Maps ad unit sizes to AdSense-For-Content Size Formats. This attribute is optional.

setAfcFormats

public void setAfcFormats(Size_StringMapEntry[] afcFormats)
Sets the afcFormats value for this AdSenseSettings.

Parameters:
afcFormats - * Maps ad unit sizes to AdSense-For-Content Size Formats. This attribute is optional.

getAfcFormats

public Size_StringMapEntry getAfcFormats(int i)

setAfcFormats

public void setAfcFormats(int i,
                          Size_StringMapEntry _value)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.