# Google Ads Ad Manager V1 Client - Class Row (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.DataTable.Row)
- [0.1.0](https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/0.1.0/V1.Report.DataTable.Row)
Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Row.

A row of report data.

Generated from protobuf message `google.ads.admanager.v1.Report.DataTable.Row`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dimension_values` | `array<https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/latest/V1.Report.Value>` The order of the dimension values is the same as the order of the dimensions specified in the request. |
| `↳ metric_value_groups` | `array<https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/latest/V1.Report.DataTable.MetricValueGroup>` The length of the metric_value_groups field will be equal to the length of the date_ranges field in the fetch response. The metric_value_groups field is ordered such that each index corresponds to the date_range at the same index. For example, given date_ranges \[x, y\], metric_value_groups will have a length of two. The first entry in metric_value_groups represents the metrics for date x and the second entry in metric_value_groups represents the metrics for date y. |

### getDimensionValues

The order of the dimension values is the same as the order of the
dimensions specified in the request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |   |

### setDimensionValues

The order of the dimension values is the same as the order of the
dimensions specified in the request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/latest/V1.Report.Value>` |

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

### getMetricValueGroups

The length of the metric_value_groups
field will be equal to the length of the date_ranges field in the
fetch response. The metric_value_groups field is
ordered such that each index corresponds to the date_range at the same
index. For example, given date_ranges \[x, y\], metric_value_groups will
have a length of two. The first entry in metric_value_groups represents
the metrics for date x and the second entry in metric_value_groups
represents the metrics for date y.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |   |

### setMetricValueGroups

The length of the metric_value_groups
field will be equal to the length of the date_ranges field in the
fetch response. The metric_value_groups field is
ordered such that each index corresponds to the date_range at the same
index. For example, given date_ranges \[x, y\], metric_value_groups will
have a length of two. The first entry in metric_value_groups represents
the metrics for date x and the second entry in metric_value_groups
represents the metrics for date y.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/latest/V1.Report.DataTable.MetricValueGroup>` |

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