Dear Daring Developers,
On behalf of the Google Analytics team I would like to announce the following updates to the Google Analytics Data API.
The Google Analytics Data API v1 Beta has been released.
The API endpoint updated to https://analyticsdata.googleapis.com/v1beta.
runReport, runPivotReport, batchRunReports, batchRunPivotReports methods now accept the id of a Google Analytics 4 property in the property parameter of the URL path instead of the entity field of a request body, e.g:
API client libraries have been updated to use the new API endpoint.
Please review the updated Data API Quickstart Guide, Creating a Report Guide and API Migration Guide on the developers documentation site for more information about using the Data API.
Feedback
As part of the testing process, we kindly ask you to answer a quick Google Analytics 4 APIs Tester Survey and provide any feedback you have regarding the testing experience.
Ilya,
The Google Analytics Team