enum AdSenseSettings.BorderStyle (v202408)
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/v202408
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\u003eAdSenseSettings.BorderStyle defines the border style of HTML elements surrounding ads displayed by an AdUnit.\u003c/p\u003e\n"],["\u003cp\u003eIt offers four 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 border's appearance from default browser styling to varying degrees of rounded corners.\u003c/p\u003e\n"],["\u003cp\u003eThis setting is part of the AdSenseSettings within the InventoryService in the Google Ad Manager API.\u003c/p\u003e\n"]]],["The `AdSenseSettings.BorderStyle` within the `InventoryService` defines the border style of HTML elements surrounding an ad. It offers four options: `DEFAULT` uses the browser's default style, `NOT_ROUNDED` for cornered borders, `SLIGHTLY_ROUNDED` for a slightly rounded style, and `VERY_ROUNDED` for a fully rounded border. These settings allow control over the visual appearance of ad borders. The namespace for these settings is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum AdSenseSettings.BorderStyle (v202408)\n\n**Service** \n**InventoryService** **Dependencies** \n[AdSenseSettings](/ad-manager/api/reference/v202408/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/v202408/InventoryService.AdUnit).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\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. |"]]