0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 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

```php
Value: 0
```
Default value. This value is unused.

Generated from protobuf enum `SMART_SIZE_MODE_UNSPECIFIED = 0;`

### NONE

```php
Value: 1
```
Fixed size mode (default).

Generated from protobuf enum `NONE = 1;`

### SMART_BANNER

```php
Value: 2
```
The height is fixed for the request, the width is a range.

Generated from protobuf enum `SMART_BANNER = 2;`

### DYNAMIC_SIZE

```php
Value: 3
```
Height and width are ranges.

Generated from protobuf enum `DYNAMIC_SIZE = 3;`