Google Ads Ad Manager V1 Client - Class SmartSizeMode (0.1.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class SmartSizeMode.

The smart size mode for this ad unit. This attribute is optional and defaults to SmartSizeMode.NONE for fixed sizes.

Protobuf type google.ads.admanager.v1.SmartSizeModeEnum.SmartSizeMode

Namespace

Google \ Ads \ AdManager \ V1 \ SmartSizeModeEnum

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SMART_SIZE_MODE_UNSPECIFIED

Value: 0

Default value. This value is unused.

Generated from protobuf enum SMART_SIZE_MODE_UNSPECIFIED = 0;

NONE

Value: 1

Fixed size mode (default).

Generated from protobuf enum NONE = 1;

SMART_BANNER

Value: 2

The height is fixed for the request, the width is a range.

Generated from protobuf enum SMART_BANNER = 2;

DYNAMIC_SIZE

Value: 3

Height and width are ranges.

Generated from protobuf enum DYNAMIC_SIZE = 3;