enum ImageDensity (v202508)

  • ImageDensity defines different ratios between the dimensions of a raw image and its displayed dimensions in device-independent pixels.

  • The available ImageDensity ratios include ONE_TO_ONE, THREE_TO_TWO, and TWO_TO_ONE.

  • The UNKNOWN value indicates that the actual ImageDensity value is not exposed by the requested API version.

Image densities.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
ONE_TO_ONE 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.
THREE_TO_TWO 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.
TWO_TO_ONE 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.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.