Google Analytics Data V1beta Client - Class BatchRunReportsRequest (0.9.5)

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

The batch request containing multiple report requests.

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

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 RunReportRequest may either be unspecified or consistent with this property. Example: properties/1234

↳ requests
array< Google\Analytics\Data\V1beta\RunReportRequest >

Individual requests. Each request has a separate 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 RunReportRequest 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 RunReportRequest 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 report response. Each batch request is allowed up to 5 requests.

Returns
Type
Description

setRequests

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

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: