Google analytics 4 reports

Creates a GA4 report

post/googleanalytics4/report

Request

  • The document declares no server URL.
  • Auth
    API key in header TWN-InstanceKey and API key in header TWN-Authentication

Request body

Namestring

Name of the report.

PropertyNamestring

Name of the GA4 property. Something like properties/123456.

MetricNamesstring[]

API names of the metrics to include in the report.

NrOfDaysBackinteger

Number of days back the report data covers.

MappingDimensionNamestring

API name of the dimension used for mapping report rows to products.

MappingAttributeIdinteger

Identifier of the attribute used for mapping report rows to products.

RegexTemplatestring nullable

Optional regex template applied to dimension values during mapping.

Response

OK

Idinteger

Unique identifier of the report.

Namestring

Name of the report.

NrOfDaysBackinteger

Number of days back the report data covers.

RegexTemplatestring nullable

Optional regex template applied to dimension values during mapping.

Changes

No recorded changes to this operation across all 1 revision of this API.