# type Size (v202605)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.Size.md.txt) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.Size.md.txt) [CreativeService](https://developers.google.com/ad-manager/api/reference/v202605/CreativeService.Size.md.txt) [DaiEncodingProfileService](https://developers.google.com/ad-manager/api/reference/v202605/DaiEncodingProfileService.Size.md.txt) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.Size.md.txt) **InventoryService** [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemCreativeAssociationService.Size.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemService.Size.md.txt) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202605/NativeStyleService.Size.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202605/ProposalLineItemService.Size.md.txt) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.Size.md.txt) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202605/PublisherQueryLanguageService.Size.md.txt) [SuggestedAdUnitService](https://developers.google.com/ad-manager/api/reference/v202605/SuggestedAdUnitService.Size.md.txt) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202605/TargetingPresetService.Size.md.txt) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202605/YieldGroupService.Size.md.txt) **Dependencies** [AdUnitSize](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnitSize.md.txt) ▼ **Size**


Represents the dimensions of an [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit.md.txt), [LineItem](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt) or [Creative](https://developers.google.com/ad-manager/api/reference/v202605/CreativeService.Creative.md.txt).

For interstitial size (out-of-page), native, ignored and fluid
size, [Size](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.Size.md.txt)
must be 1x1.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| ## Field ||
|---|---|
| ### `width` | ` xsd:int` The width of the [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit.md.txt), [LineItem](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt) or [Creative](https://developers.google.com/ad-manager/api/reference/v202605/CreativeService.Creative.md.txt). |
| ### `height` | ` xsd:int` The height of the [AdUnit](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit.md.txt), [LineItem](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt) or [Creative](https://developers.google.com/ad-manager/api/reference/v202605/CreativeService.Creative.md.txt). |
| ### `isAspectRatio` | ` xsd:boolean` Whether this size represents an aspect ratio. |