AI-generated Key Takeaways
-
AdSenseSettings manages the AdSense configuration for an AdUnit, controlling how ads from the AdSense content network appear within that ad unit.
-
These settings, including color, font, and ad type, can be inherited from parent or ancestor ad units, providing flexibility and control over ad presentation.
-
If no specific settings are defined, AdSenseSettings will default to predefined values ensuring ads are displayed appropriately within the AdUnit.
-
AdSenseSettings allow publishers to customize the appearance of AdSense ads within their ad units to align with their website's design and user experience.
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
|