Reference documentation and code samples for the Google Ads Ad Manager V1 Client class SizeType.
The different Size types for an ad.
Protobuf type google.ads.admanager.v1.SizeTypeEnum.SizeType
Namespace
Google \ Ads \ AdManager \ V1 \ SizeTypeEnumMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
SIZE_TYPE_UNSPECIFIED
Value: 0
Default value. This value is unused.
Generated from protobuf enum SIZE_TYPE_UNSPECIFIED = 0;
PIXEL
Value: 1
Dimension based size, an actual height and width in pixels.
Generated from protobuf enum PIXEL = 1;
ASPECT_RATIO
Value: 2
Size is expressed as a ratio. For example, 4:1 could be met by a 100 x 25 sized image.
Generated from protobuf enum ASPECT_RATIO = 2;
INTERSTITIAL
Value: 3
Out-of-page (Interstitial) size that is not related to the slot it is served. This must be used with 1x1 size.
Generated from protobuf enum INTERSTITIAL = 3;
IGNORED
Value: 4
Size is ignored. This must be used with 1x1 size.
Generated from protobuf enum IGNORED = 4;
NATIVE
Value: 5
Native size, which is a function of the how the client renders the creative. This must be used with 1x1 size.
Generated from protobuf enum NATIVE = 5;
FLUID
Value: 6
Fluid size. Automatically sizes the ad by filling the width of the enclosing column and adjusting the height as appropriate. This must be used with 1x1 size.
Generated from protobuf enum FLUID = 6;
AUDIO
Value: 7
Audio size. Used with audio ads. This must be used with 1x1 size.
Generated from protobuf enum AUDIO = 7;