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 \ ReportDataTableMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ dimension_values |
array<Google\Ads\AdManager\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<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\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<Google\Ads\AdManager\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\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<MetricValueGroup>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|