enum ImageDensity (v202411)

  • ImageDensity, under CreativeService, defines the ratio between an image's raw dimensions and its display dimensions in device-independent pixels.

  • It includes enumerations like ONE_TO_ONE, THREE_TO_TWO, and TWO_TO_ONE representing different image density ratios.

  • The namespace for ImageDensity is https://www.google.com/apis/ads/publisher/v202411.

  • UNKNOWN enumeration is used when the actual value is not exposed by the requested API version.

Image densities.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.