enum SmartSizeMode (v202411)Stay organized with collectionsSave and categorize content based on your preferences.
AI-generated Key Takeaways
SmartSizeMode represents different ways to define the size of ad units.
The available smart size modes include fixed size, smart banners with fixed height and variable width, and dynamic size with variable height and width.
UNKNOWNis a fallback value when the actual mode is not exposed by the API version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The `InventoryService` uses the `AdUnit` dependency, specifically dealing with `SmartSizeMode`. This mode, within the namespace `https://www.google.com/apis/ads/publisher/v202411`, defines size behavior. `UNKNOWN` is returned if the value is not exposed by the API. `NONE` indicates a fixed size. `SMART_BANNER` specifies a fixed height with a variable width range, and `DYNAMIC_SIZE` denotes variable height and width ranges.\n"]]