Google Ads Ad Manager V1 Client - Class AssetImageDensity (0.15.0)

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 \ AssetImageDensityEnum

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ASSET_IMAGE_DENSITY_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum ASSET_IMAGE_DENSITY_UNSPECIFIED = 0;

ONE_TO_ONE

Value: 1

Indicates 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: 2

Indicates 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: 3

Indicates 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;