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