Google Analytics Data V1beta Client - Class BatchRunPivotReportsRequest (0.20.1)

Reference documentation and code samples for the Google Analytics Data V1beta Client class BatchRunPivotReportsRequest.

The batch request containing multiple pivot report requests.

Generated from protobuf message google.analytics.data.v1beta.BatchRunPivotReportsRequest

Namespace

Google \ Analytics \ Data \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property string

A Google Analytics GA4 property identifier whose events are tracked. Specified in the URL path and not the body. To learn more, see where to find your Property ID. This property must be specified for the batch. The property within RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

↳ requests array<RunPivotReportRequest>

Individual requests. Each request has a separate pivot report response. Each batch request is allowed up to 5 requests.

getProperty

A Google Analytics GA4 property identifier whose events are tracked.

Specified in the URL path and not the body. To learn more, see where to find your Property ID. This property must be specified for the batch. The property within RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

Returns
Type Description
string

setProperty

A Google Analytics GA4 property identifier whose events are tracked.

Specified in the URL path and not the body. To learn more, see where to find your Property ID. This property must be specified for the batch. The property within RunPivotReportRequest may either be unspecified or consistent with this property. Example: properties/1234

Parameter
Name Description
var string
Returns
Type Description
$this

getRequests

Individual requests. Each request has a separate pivot report response.

Each batch request is allowed up to 5 requests.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRequests

Individual requests. Each request has a separate pivot report response.

Each batch request is allowed up to 5 requests.

Parameter
Name Description
var array<RunPivotReportRequest>
Returns
Type Description
$this