**Service** **InventoryService** **Dependencies** [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit) ▼ **AdSenseSettings**

Contains the AdSense configuration for an [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit).

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| ## Field ||
|---|---|
| ### `adSenseEnabled` | ` xsd:boolean` Specifies whether or not the [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.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`. |
| ### `borderColor` | ` xsd:string` 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`. |
| ### `titleColor` | ` xsd:string` 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`. |
| ### `backgroundColor` | ` xsd:string` 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`. |
| ### `textColor` | ` xsd:string` 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`. |
| ### `urlColor` | ` xsd:string` 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` . |
| ### `adType` | ` https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.AdType ` Specifies what kind of ad can be served by this [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.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](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.AdType#TEXT_AND_IMAGE). *** ** * ** *** **Enumerations** `TEXT` :   Allows text-only ads. `IMAGE` :   Allows image-only ads. `TEXT_AND_IMAGE` :   Allows both text and image ads. <br /> |
| ### `borderStyle` | ` https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.BorderStyle ` Specifies the border-style of the [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.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](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.BorderStyle#DEFAULT). *** ** * ** *** **Enumerations** `DEFAULT` :   Uses the default border-style of the browser. `NOT_ROUNDED` :   Uses a cornered border-style. `SLIGHTLY_ROUNDED` :   Uses a slightly rounded border-style. `VERY_ROUNDED` :   Uses a rounded border-style. <br /> |
| ### `fontFamily` | ` https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.FontFamily ` Specifies the font family of the [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.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](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.FontFamily#DEFAULT). *** ** * ** *** **Enumerations** `DEFAULT` : `ARIAL` : `TAHOMA` : `GEORGIA` : `TIMES` : `VERDANA` : <br /> |
| ### `fontSize` | ` https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.FontSize ` Specifies the font size of the [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.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](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdSenseSettings.FontSize#DEFAULT). *** ** * ** *** **Enumerations** `DEFAULT` : `SMALL` : `MEDIUM` : `LARGE` : <br /> |