# Google Ads Ad Manager V1 Client - Class Field (0.1.1)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.1.1 (latest)](https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/latest/V1.Report.Field)
- [0.1.0](https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/0.1.0/V1.Report.Field)
Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Field.

A dimension or a metric in a report.

Generated from protobuf message `google.ads.admanager.v1.Report.Field`

## Namespace

Google \\ Ads \\ AdManager \\ V1 \\ Report

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dimension` | `int` The dimension this field represents. |
| `↳ metric` | `int` The metric this field represents. |

### getDimension

The dimension this field represents.

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

### hasDimension

### setDimension

The dimension this field represents.

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

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

### getMetric

The metric this field represents.

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

### hasMetric

### setMetric

The metric this field represents.

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

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

### getField

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