The Google Analytics team has announced updates to the Google Analytics Data API. The updates include:
The addition of report tasks, an asynchronous reporting feature, to the Data API v1alpha. Report tasks allow users to initiate a long-running asynchronous request to form a customized report of their Google Analytics event data. The following report task manipulation methods have been added to the Data API v1alpha:
properties.reportTasks.create
properties.reportTasks.get
properties.reportTasks.list
properties.reportTasks.query
Introduction of new dimensions for key events. Dimensions and metrics for key events are now available. Users are advised to modify their report requests that use the
isConversionEvent
dimension to use theisKeyEvent
dimension instead. Also, any report requests using a Deprecated Metric should be modified to use the Key Event Metric instead. The following changes are recommended:advertiserAdCostPerConversion
toadvertiserAdCostPerKeyEvent
conversions
tokeyEvents
firstTimePurchaserConversionRate
tofirstTimePurchaserRate
purchaserConversionRate
topurchaserRate
sessionConversionRate
tosessionKeyEventRate
userConversionRate
touserKeyEventRate
The response for the
properties/getMetadata
method now reflects the introduction of key event dimensions and metrics in DimensionMetadata and MetricMetadata objects.