Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AssetImageDensity.
Image densities.
Protobuf type google.ads.admanager.v1.AssetImageDensityEnum.AssetImageDensity
Namespace
Google \ Ads \ AdManager \ V1 \ AssetImageDensityEnumMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
ASSET_IMAGE_DENSITY_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum ASSET_IMAGE_DENSITY_UNSPECIFIED = 0;
ONE_TO_ONE
Value: 1Indicates that there is a 1:1 ratio between the dimensions of the raw image and the dimensions that it should be displayed at in device-independent pixels.
Generated from protobuf enum ONE_TO_ONE = 1;
THREE_TO_TWO
Value: 2Indicates that there is a 3:2 ratio between the dimensions of the raw image and the dimensions that it should be displayed at in device-independent pixels.
Generated from protobuf enum THREE_TO_TWO = 2;
TWO_TO_ONE
Value: 3Indicates that there is a 2:1 ratio between the dimensions of the raw image and the dimensions that it should be displayed at in device-independent pixels.
Generated from protobuf enum TWO_TO_ONE = 3;