[[["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."],[[["\u003cp\u003e\u003ccode\u003eSize\u003c/code\u003e objects represent the dimensions of ad units, line items, or creatives within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eFor interstitial, native, ignored, and fluid sizes, the \u003ccode\u003eSize\u003c/code\u003e object must be set to 1x1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSize\u003c/code\u003e objects contain \u003ccode\u003ewidth\u003c/code\u003e, \u003ccode\u003eheight\u003c/code\u003e, and \u003ccode\u003eisAspectRatio\u003c/code\u003e properties for specifying ad dimensions and aspect ratios.\u003c/p\u003e\n"],["\u003cp\u003eInterstitial and other special ad formats have specific size requirements in Google Ad Manager.\u003c/p\u003e\n"]]],["The provided content details various services like AdRuleService, CreativeService, and ForecastService, among others, within a namespace. It describes the \"Size\" entity, representing dimensions for AdUnit, LineItem, or Creative. Size fields include `width`, `height`, and `isAspectRatio`. Special rules for interstitial, native, ignored, and fluid sizes require a 1x1 dimension. Key actions are managing dimensions and identifying whether a size is an aspect ratio.\n"],null,["# type Size (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.Size) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.Size) [CreativeService](/ad-manager/api/reference/v202411/CreativeService.Size) [DaiEncodingProfileService](/ad-manager/api/reference/v202411/DaiEncodingProfileService.Size) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.Size) [InventoryService](/ad-manager/api/reference/v202411/InventoryService.Size) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.Size) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.Size) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.Size) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.Size) **ProposalService** [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.Size) [SuggestedAdUnitService](/ad-manager/api/reference/v202411/SuggestedAdUnitService.Size) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.Size) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.Size) **Dependencies** \n[CreativePlaceholder](/ad-manager/api/reference/v202411/ProposalService.CreativePlaceholder) [TargetedSize](/ad-manager/api/reference/v202411/ProposalService.TargetedSize) \n▼\n**Size**\n\n\nRepresents the dimensions of an [AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit), [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) or [Creative](/ad-manager/api/reference/v202411/CreativeService.Creative).\n\nFor interstitial size (out-of-page), native, ignored and fluid\nsize, [Size](/ad-manager/api/reference/v202411/ProposalService.Size)\nmust be 1x1.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `width` | ` `xsd:`int` The width of the [AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit), [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) or [Creative](/ad-manager/api/reference/v202411/CreativeService.Creative). |\n| ### `height` | ` `xsd:`int` The height of the [AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit), [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) or [Creative](/ad-manager/api/reference/v202411/CreativeService.Creative). |\n| ### `isAspectRatio` | ` `xsd:`boolean` Whether this size represents an aspect ratio. |"]]