AI-generated Key Takeaways
-
AdSenseSettings contains the AdSense configuration for an AdUnit.
-
The
adSenseEnabled
attribute specifies if an AdUnit is enabled for serving AdSense ads and defaults to true if not set by an ancestor. -
Several attributes like
borderColor
,titleColor
,backgroundColor
,textColor
, andurlColor
specify the hexadecimal color of different elements of an ad unit, defaulting to specific values if not set by an ancestor. -
Attributes such as
adType
,borderStyle
,fontFamily
, andfontSize
specify the type of ad allowed, the border style, font family, and font size, each defaulting to specific values if not set by an ancestor.
Contains the AdSense configuration for an AdUnit.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
|
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 |
|
Specifies the Hexadecimal border color, from |
|
Specifies the Hexadecimal title color of an ad, from |
|
Specifies the Hexadecimal background color of an ad, from |
|
Specifies the Hexadecimal color of the text of an ad, from |
|
Specifies the Hexadecimal color of the URL of an ad, from |
|
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 Enumerations
|
|
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 Enumerations
|
|
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 Enumerations
|
|
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 Enumerations
|