# type Size (v202608)

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


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

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

*** ** * ** ***

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

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