0.16.0 (latest) 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 Row.

A row of report data.

Generated from protobuf message `google.ads.admanager.v1.ReportDataTable.Row`

## Namespace

Google \\ Ads \\ AdManager \\ V1 \\ ReportDataTable

## 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/ad-manager/latest/V1.ReportValue>` 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/ad-manager/latest/V1.ReportDataTable.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** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ReportValue>` |   |

### 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/ad-manager/latest/V1.ReportValue>` |

| **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** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/ad-manager/latest/V1.ReportDataTable.MetricValueGroup>` |   |

### 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/ad-manager/latest/V1.ReportDataTable.MetricValueGroup>` |

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