Today we released the new Google Analytics Core Reporting API as a replacement for the Data Export API. We are also starting the deprecation of the Data Export API. And we released some small updates to the Management API.
The new Core Reporting API has two versions
Version 3.0 is a brand new API, with a 10x reduction in output size and support for many new client libraries, like PHP, Ruby, Python, JavaScript and Java. All new features will only be added to this version.
Version 2.4 is backward compatible with the legacy Data Export Version 2.3.
One of the biggest changes in switching to the Core Reporting API is that you now need to register your applications via the Google APIs Console and use a project ID to access the API.
Data Export API Deprecations
With this change, we are also announcing the deprecation of the Data Export API version 2.3. This API will continue to work for 6 months, after which all v2.3 XML requests will return a v2.4 response. Also, we plan to terminate the Data Export API Account Feed. All configuration data should be retrieved through the Google Analytics Management API.
Management API
We added a new segment ID parameter that provides the full segment ID string required to make queries with the Core Reporting API segment parameter. The max-results parameter now returns a default of 1000 rows. The maximum value for max-results has also been changed to be 1000. Finally we fixed a bug which showed Google Website Optimizer accounts.
If you have any questions, feel free to reach out in our discussion groups.
Thanks!
-Nick