enum SmartSizeMode (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Represents smart size modes.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested
API version.
|
NONE
|
Fixed size mode (default).
|
SMART_BANNER
|
The height is fixed for the request, the width is a range.
|
DYNAMIC_SIZE
|
Height and width are ranges.
|
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."],[],["The `SmartSizeMode` enumeration defines how ad unit sizes are handled. Possible modes include `UNKNOWN` for unexposed values, `NONE` for fixed sizes, `SMART_BANNER` where the height is fixed but the width is a range, and `DYNAMIC_SIZE` where both height and width are ranges. This enumeration is part of the `InventoryService` within the Google Ad Manager API (v202502) and is associated with `AdUnit` objects.\n"],null,["# enum SmartSizeMode (v202502)\n\n**Service** \n**InventoryService** **Dependencies** \n[AdUnit](/ad-manager/api/reference/v202502/InventoryService.AdUnit) \n▼\n**SmartSizeMode**\n\nRepresents smart size modes.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|----------------|-------------------------------------------------------------------------------------|\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |\n| `NONE` | Fixed size mode (default). |\n| `SMART_BANNER` | The height is fixed for the request, the width is a range. |\n| `DYNAMIC_SIZE` | Height and width are ranges. |"]]