[[["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 (width and height) 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 should be set to 1x1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSize\u003c/code\u003e objects can also be used to represent aspect ratios by setting \u003ccode\u003eisAspectRatio\u003c/code\u003e to true.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the \u003ccode\u003eSize\u003c/code\u003e object is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content details the \"Size\" data structure, representing dimensions for AdUnit, LineItem, or Creative within various services like AdRuleService and CreativeService. Key fields include `width`, `height`, and `isAspectRatio`. For interstitial, native, ignored, and fluid sizes, the Size must be 1x1. This data is used across numerous services such as AdjustmentService, ForecastService and YieldGroupService. The namespace for this information is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type Size (v202411)\n\n**Service** \n**AdRuleService** [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](/ad-manager/api/reference/v202411/ProposalService.Size) [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[TargetedSize](/ad-manager/api/reference/v202411/AdRuleService.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/AdRuleService.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. |"]]