enum AdSenseSettings.BorderStyle (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Describes the border of the HTML elements used to surround an ad displayed by the AdUnit.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eAdSenseSettings.BorderStyle\u003c/code\u003e defines the border style of HTML elements surrounding ads displayed by an \u003ccode\u003eAdUnit\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers four border style options: \u003ccode\u003eDEFAULT\u003c/code\u003e, \u003ccode\u003eNOT_ROUNDED\u003c/code\u003e, \u003ccode\u003eSLIGHTLY_ROUNDED\u003c/code\u003e, and \u003ccode\u003eVERY_ROUNDED\u003c/code\u003e, impacting the visual presentation of ads.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this enumeration is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `InventoryService`'s `AdSenseSettings.BorderStyle` defines the border style of HTML elements surrounding an `AdUnit`. It offers four enumeration options: `DEFAULT` utilizes the browser's default style, `NOT_ROUNDED` uses cornered borders, `SLIGHTLY_ROUNDED` applies a slightly rounded style, and `VERY_ROUNDED` employs a fully rounded border. This service manages ad display element border formatting. The namespace for this is provided.\n"],null,["# enum AdSenseSettings.BorderStyle (v202411)\n\n**Service** \n**InventoryService** **Dependencies** \n[AdSenseSettings](/ad-manager/api/reference/v202411/InventoryService.AdSenseSettings) \n▼\n**AdSenseSettings.BorderStyle**\n\nDescribes the border of the HTML elements used to surround an ad displayed by the [AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|--------------------|-----------------------------------------------|\n| `DEFAULT` | Uses the default border-style of the browser. |\n| `NOT_ROUNDED` | Uses a cornered border-style. |\n| `SLIGHTLY_ROUNDED` | Uses a slightly rounded border-style. |\n| `VERY_ROUNDED` | Uses a rounded border-style. |"]]