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 CustomFieldDataType.

The data type for a CustomField.

Protobuf type `google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType`

## Namespace

Google \\ Ads \\ AdManager \\ V1 \\ CustomFieldDataTypeEnum

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED

```php
Value: 0
```
No value specified

Generated from protobuf enum `CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED = 0;`

### STRING

```php
Value: 1
```
A string field
The max length is 255 characters.

Generated from protobuf enum `STRING = 1;`

### NUMBER

```php
Value: 2
```
A number field.

Generated from protobuf enum `NUMBER = 2;`

### TOGGLE

```php
Value: 3
```
A "Yes" or "No" toggle field.

Generated from protobuf enum `TOGGLE = 3;`

### DROP_DOWN

```php
Value: 4
```
A drop-down field.

Generated from protobuf enum `DROP_DOWN = 4;`