type Size (v202411)
Represents the dimensions of an AdUnit, LineItem or Creative.
For interstitial size (out-of-page), native, ignored and fluid
size, Size
must be 1x1.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["This page describes the `Size` object, which represents the dimensions of an ad unit, line item, or creative."],["`Size` includes `width`, `height`, and `isAspectRatio` fields to define the dimensions."],["For interstitial, native, ignored, and fluid sizes, the `Size` must be 1x1."],["The `isAspectRatio` field indicates if the size is expressed as a ratio rather than absolute dimensions."]]],["The provided content details services and dependencies within an ad management API, focusing on the `Size` aspect. This `Size` represents the dimensions (width and height) of AdUnits, LineItems, or Creatives. Interstitial, native, ignored, and fluid sizes must be 1x1. Key fields include `width`, `height` and `isAspectRatio`. Several services are outlined: `AdRuleService`, `AdjustmentService`, `CreativeService`, `DaiEncodingProfileService`, `ForecastService`, `InventoryService`, `LineItemCreativeAssociationService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `SuggestedAdUnitService`, `TargetingPresetService`, `YieldGroupService`.\n"]]