Google Ads Ad Manager V1 Client - Class Size (0.1.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Size.
Represents the dimensions of an AdUnit, LineItem, or Creative.
Generated from protobuf message google.ads.admanager.v1.Size
Namespace
Google \ Ads \ AdManager \ V1
Methods
__construct
getWidth
| Returns |
| Type |
Description |
int |
|
setWidth
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getHeight
| Returns |
| Type |
Description |
int |
|
setHeight
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
getSizeType
| Returns |
| Type |
Description |
int |
|
setSizeType
| Parameter |
| Name |
Description |
var |
int
|
| Returns |
| Type |
Description |
$this |
|
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 2026-03-09 UTC.
[null,null,["Last updated 2026-03-09 UTC."],[],[]]