# Google Ads Data Manager V1 Client - Class DataTypeCount (0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Google Ads Data Manager V1 Client class DataTypeCount.

The count for a specific data type.

Generated from protobuf message `google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount`

## Namespace

Google \\ Ads \\ DataManager \\ V1 \\ RequestStatusPerDestination

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ type` | `int` The type of data. |
| `↳ count` | `int|string` The count for this data type. |

### getType

The type of data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DataType](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.RequestStatusPerDestination.DataType). |

### setType

The type of data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DataType](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.RequestStatusPerDestination.DataType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCount

The count for this data type.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setCount

The count for this data type.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |