我一直在使用这种API来通过Google Analytics(分析)生成报告:
此API具有结果字段 isdatagolden
:
Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time.
当前Google Analytics(Google Analytics)具有新的API来生成此类报告:
中没有 iSdatagolden
字段的类似物
但是在此API问题
: 是否会添加此类标志到新的API,或者也许还有另一种工具可以从New API中获取黄金数据?
ps:
我需要使用此新的API,因为旧的API不支持新的分析属性,而无需Universal Analytics view_id
I've been using such API for generating reports over Google Analytics:
https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet
This API has result field isDataGolden
:
Indicates if response to this request is golden or not. Data is golden when the exact same request will not produce any new results if asked at a later point in time.
Currently Google Analytics has new API for generating such reports:
https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties/batchRunReports
But there is no analogue of isDataGolden
field in this API
Question:
Is such flag will be added to new API, or maybe there is another instrument to get only golden data from new API?
p.s.:
I need to use this new API, since old one does not support new analytics properties without Universal Analytics view_id
发布评论
评论(1)
Google Analytics(分析)数据API用于从Google Analytics GA4帐户中提取数据。报告API用于从通用分析帐户中提取数据。这是两个不同的系统,不应比较。您无法使用Google Analytics Data API从具有视图ID的通用分析帐户中提取数据。
如果您检查 runreporportrespsess the the the the the the,如果您检查文档。是从运行Google Analytics(分析数据)中的报告中返回的响应。您会发现没有黄金财产或该性质的任何财产。
请记住,此API仍在Beta中,团队仍在努力。一个可能会出现在将来。您将需要等待,以找出Google是否将来会添加任何这样的字段,因为任何知道在NDA下并且无法告诉您的人。
The Google analytics data api is used for extracting data from google analytics ga4 accounts. The reporting api is used for extracting data from Universal analytics accounts. These are two different systems and should not be compared. You can not use the Google analytics data api to extract data from universal analytics accounts with view ids.
If you check the documentation for RunReportResponse which is the response returned from running a reporting in google analytics data. You will find that there is no is golden property or any property of that nature.
Remember this api is still in beta the team is still working on it. One may appear in the future. You will need to wait to find out if google will add any field like this in the future as anyone who would know is probably under NDA and cant tell you.