Google Ads Ad Manager V1 Client - Class MetricValueGroup (0.1.3)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class MetricValueGroup.

Contains all metric values requested for a single date range and set of column dimension values (returned in the columns field of the response).

The order of the metrics in each field corresponds to the order of the metrics specified in the request.

Generated from protobuf message google.ads.admanager.v1.Report.DataTable.MetricValueGroup

Namespace

Google \ Ads \ AdManager \ V1 \ Report \ DataTable

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ primary_values
array< Google\Ads\AdManager\V1\Report\Value >

Data for the PRIMARY MetricValueType.

↳ primary_percent_of_total_values
array< Google\Ads\AdManager\V1\Report\Value >

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

↳ comparison_values
array< Google\Ads\AdManager\V1\Report\Value >

Data for the COMPARISON MetricValueType.

↳ comparison_percent_of_total_values
array< Google\Ads\AdManager\V1\Report\Value >

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

↳ absolute_change_values
array< Google\Ads\AdManager\V1\Report\Value >

Data for the ABSOLUTE_CHANGE MetricValueType.

↳ relative_change_values
array< Google\Ads\AdManager\V1\Report\Value >

Data for the RELATIVE_CHANGE MetricValueType.

↳ flag_values
array

If true, the flag's conditions are met. If false, the flag's conditions are not met. flag_values has the same length as flags and index i of flag_values represents the flag at index i of flags.

getPrimaryValues

Data for the PRIMARY MetricValueType.

Returns
Type
Description

setPrimaryValues

Data for the PRIMARY MetricValueType.

Parameter
Name
Description
Returns
Type
Description
$this

getPrimaryPercentOfTotalValues

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

Returns
Type
Description

setPrimaryPercentOfTotalValues

Data for the PRIMARY_PERCENT_OF_TOTAL MetricValueType.

Parameter
Name
Description
Returns
Type
Description
$this

getComparisonValues

Data for the COMPARISON MetricValueType.

Returns
Type
Description

setComparisonValues

Data for the COMPARISON MetricValueType.

Parameter
Name
Description
Returns
Type
Description
$this

getComparisonPercentOfTotalValues

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

Returns
Type
Description

setComparisonPercentOfTotalValues

Data for the COMPARISON_PERCENT_OF_TOTAL MetricValueType.

Parameter
Name
Description
Returns
Type
Description
$this

getAbsoluteChangeValues

Data for the ABSOLUTE_CHANGE MetricValueType.

Returns
Type
Description

setAbsoluteChangeValues

Data for the ABSOLUTE_CHANGE MetricValueType.

Parameter
Name
Description
Returns
Type
Description
$this

getRelativeChangeValues

Data for the RELATIVE_CHANGE MetricValueType.

Returns
Type
Description

setRelativeChangeValues

Data for the RELATIVE_CHANGE MetricValueType.

Parameter
Name
Description
Returns
Type
Description
$this

getFlagValues

If true, the flag's conditions are met. If false, the flag's conditions are not met. flag_values has the same length as flags and index i of flag_values represents the flag at index i of flags.

Returns
Type
Description

setFlagValues

If true, the flag's conditions are met. If false, the flag's conditions are not met. flag_values has the same length as flags and index i of flag_values represents the flag at index i of flags.

Parameter
Name
Description
var
bool[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: