Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.AdSenseSettings Class Reference

Contains the AdSense configuration for an AdUnit. More...

Properties

bool adSenseEnabled [get, set]
 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 More...
 
bool adSenseEnabledSpecified [get, set]
 
string borderColor [get, set]
 Specifies the Hexadecimal border color, from More...
 
string titleColor [get, set]
 Specifies the Hexadecimal title color of an ad, from More...
 
string backgroundColor [get, set]
 Specifies the Hexadecimal background color of an ad, from More...
 
string textColor [get, set]
 Specifies the Hexadecimal color of the text of an ad, from More...
 
string urlColor [get, set]
 Specifies the Hexadecimal color of the URL of an ad, from More...
 
AdSenseSettingsAdType adType [get, set]
 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 More...
 
bool adTypeSpecified [get, set]
 
AdSenseSettingsBorderStyle borderStyle [get, set]
 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 More...
 
bool borderStyleSpecified [get, set]
 
AdSenseSettingsFontFamily fontFamily [get, set]
 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 More...
 
bool fontFamilySpecified [get, set]
 
AdSenseSettingsFontSize fontSize [get, set]
 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 More...
 
bool fontSizeSpecified [get, set]
 

Detailed Description

Contains the AdSense configuration for an AdUnit.

Property Documentation

bool Google.Api.Ads.AdManager.v202311.AdSenseSettings.adSenseEnabled
getset

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

, the attribute is defaulted to true.

bool Google.Api.Ads.AdManager.v202311.AdSenseSettings.adSenseEnabledSpecified
getset

true, if a value is specified for adSenseEnabled, false otherwise.

AdSenseSettingsAdType Google.Api.Ads.AdManager.v202311.AdSenseSettings.adType
getset

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.

bool Google.Api.Ads.AdManager.v202311.AdSenseSettings.adTypeSpecified
getset

true, if a value is specified for adType, false otherwise.

string Google.Api.Ads.AdManager.v202311.AdSenseSettings.backgroundColor
getset

Specifies the Hexadecimal background color of an ad, from

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.

string Google.Api.Ads.AdManager.v202311.AdSenseSettings.borderColor
getset

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.

AdSenseSettingsBorderStyle Google.Api.Ads.AdManager.v202311.AdSenseSettings.borderStyle
getset

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.

bool Google.Api.Ads.AdManager.v202311.AdSenseSettings.borderStyleSpecified
getset

true, if a value is specified for borderStyle, false otherwise.

AdSenseSettingsFontFamily Google.Api.Ads.AdManager.v202311.AdSenseSettings.fontFamily
getset

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.

bool Google.Api.Ads.AdManager.v202311.AdSenseSettings.fontFamilySpecified
getset

true, if a value is specified for fontFamily, false otherwise.

AdSenseSettingsFontSize Google.Api.Ads.AdManager.v202311.AdSenseSettings.fontSize
getset

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.

bool Google.Api.Ads.AdManager.v202311.AdSenseSettings.fontSizeSpecified
getset

true, if a value is specified for fontSize, false otherwise.

string Google.Api.Ads.AdManager.v202311.AdSenseSettings.textColor
getset

Specifies the Hexadecimal color of the text of an ad, from

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.

string Google.Api.Ads.AdManager.v202311.AdSenseSettings.titleColor
getset

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.

string Google.Api.Ads.AdManager.v202311.AdSenseSettings.urlColor
getset

Specifies the Hexadecimal color of the URL of an ad, from

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


The documentation for this class was generated from the following file: