v1

latestOpenAPI 3.0.02026-07-24182211348.4 KB
Google analytics 4 reports

Update report

put/googleanalytics4/report/{id}

Path parameters

idinteger required

Request body

PropertyNamestring

Name of the property the report gets its data from.

MetricNamesstring[]

Names of the metrics read from the property when running the report.

NrOfDaysBackinteger

How many days worth of data should be taken into account.

MappingDimensionNamestring

The name of the dimension used to map to an attribute.

MappingAttributeIdinteger

The ID of the attribute to which the dimension gets mapped.

RegexTemplatestring

Regex template used to get a substring of a URL. This substring is matched to the chosen mapping attribute. Only applicable to reports using the page views metric.

Response

The updated GA4 report

Idinteger

ID of the report.

Namestring

Name of the report.

NrOfDaysBackinteger

How many days worth of data should be taken into account.

RegexTemplatestring

Regex template used to get a substring of a URL. This substring is matched to the chosen mapping attribute. Only applicable to reports using the page views metric.