[[["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\u003eSize represents the dimensions of an ad unit, line item, or creative.\u003c/p\u003e\n"],["\u003cp\u003eFor interstitial, native, ignored, and fluid sizes, Size must be 1x1.\u003c/p\u003e\n"],["\u003cp\u003eSize objects have width, height, and a boolean isAspectRatio field.\u003c/p\u003e\n"],["\u003cp\u003eThe width and height define the dimensions of the ad unit, line item, or creative.\u003c/p\u003e\n"],["\u003cp\u003eisAspectRatio indicates whether the size represents an aspect ratio, rather than fixed dimensions.\u003c/p\u003e\n"]]],["The core content details the \"Size\" within the ad management API, used for defining dimensions of AdUnits, LineItems, or Creatives. It is related to various services like AdRuleService and ForecastService. A \"Size\" includes `width` and `height` as integers, and a boolean `isAspectRatio`. For certain types, like interstitial and native sizes, the dimensions must be 1x1. The namespace for this is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type Size (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.Size) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.Size) [CreativeService](/ad-manager/api/reference/v202408/CreativeService.Size) [DaiEncodingProfileService](/ad-manager/api/reference/v202408/DaiEncodingProfileService.Size) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.Size) [InventoryService](/ad-manager/api/reference/v202408/InventoryService.Size) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.Size) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.Size) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.Size) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.Size) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.Size) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.Size) [SuggestedAdUnitService](/ad-manager/api/reference/v202408/SuggestedAdUnitService.Size) **TargetingPresetService** [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.Size) **Dependencies** \n[TargetedSize](/ad-manager/api/reference/v202408/TargetingPresetService.TargetedSize) \n▼\n**Size**\n\n\nRepresents the dimensions of an [AdUnit](/ad-manager/api/reference/v202408/InventoryService.AdUnit), [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem) or [Creative](/ad-manager/api/reference/v202408/CreativeService.Creative).\n\nFor interstitial size (out-of-page), native, ignored and fluid\nsize, [Size](/ad-manager/api/reference/v202408/TargetingPresetService.Size)\nmust be 1x1.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `width` | ` `xsd:`int` The width of the [AdUnit](/ad-manager/api/reference/v202408/InventoryService.AdUnit), [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem) or [Creative](/ad-manager/api/reference/v202408/CreativeService.Creative). |\n| ### `height` | ` `xsd:`int` The height of the [AdUnit](/ad-manager/api/reference/v202408/InventoryService.AdUnit), [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem) or [Creative](/ad-manager/api/reference/v202408/CreativeService.Creative). |\n| ### `isAspectRatio` | ` `xsd:`boolean` Whether this size represents an aspect ratio. |"]]