[英]How to get access to Google Analytics Real Time Reporting API
I filled the Real Time Reporting API Private Beta request access form many days ago but it seems that I can't access the API.多天前我填写了实时报告 API 私人 Beta 请求访问表单,但似乎无法访问该 API。
I sent a request to https://www.googleapis.com/analytics/v3/data/realtime but I get the following response:我向https://www.googleapis.com/analytics/v3/data/realtime发送了请求,但收到以下响应:
{ "error": { "code": 403, "message": "Requests to this API analytics method analytics.gaapi.v3.AnalyticsDataRealtime.Get are blocked.", "errors": [ { "message": "Requests to this API analytics method analytics.gaapi.v3.AnalyticsDataRealtime.Get are blocked.", "domain": "usageLimits", "reason": "rateLimitExceeded" } ], "status": "PERMISSION_DENIED" } }
I know that my access token and credentials are correct because I can get sessions data successfully but I can't use the realtime API.我知道我的访问令牌和凭据是正确的,因为我可以成功获取会话数据,但我无法使用实时 API。 What can I do to be whitelisted by google?
我该怎么做才能被谷歌列入白名单?
rateLimitExceeded indicates that the project queries per 100 seconds rate limits have been exceeded. rateLimitExceeded表示已超出每 100 秒的项目查询速率限制。
Recommended Action : Retry using exponential back-off.推荐操作:使用指数回退重试。 You need to slow down the rate at which you are sending the requests.
您需要减慢发送请求的速度。
Documentation here: https://developers.google.com/analytics/devguides/reporting/core/v3/errors此处的文档: https : //developers.google.com/analytics/devguides/reporting/core/v3/errors
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.