【问题标题】:What are the limits on the Google Data API?Google 数据 API 有哪些限制?
【发布时间】:2011-06-07 15:32:13
【问题描述】:

我正在使用 Google Analytics API(通过 Java)从 Analytics 中提取数据。但是,我不断收到“配额不足,无法继续”的消息。

我在http://code.google.com/apis/analytics/docs/gdata/gdataDeveloperGuide.html#quota 看到了记录在案的限制,但这些似乎完全不符合事实。我正在使用数据包记录器,并且可以确认每个 IP 的并发请求不超过 4 个,并且每个 IP 地址每秒发送的请求不超过 10 个。

此 API 的实际限制是什么?

【问题讨论】:

    标签: google-data-api


    【解决方案1】:

    这当然会发生变化,根据 http://code.google.com/apis/analytics/docs/gdata/v3/gdataGettingStarted.html#quota_policy 注册申请名额为:

    General Analytics API 配额。这些适用于 Analytics API, 即 Management API 和 Core Reporting API。

    * 50,000 requests per project per day
    * 10 queries per second (QPS) per IP
    

    Core Reporting API 特有的配额

    * 10,000 requests per profile per day
    * 10 concurrent requests per profile
    

    对于未注册的应用程序,我们提供非常低的宽限配额 容纳少量测试。

    如果超出配额,Google Analytics API 会返回错误 附加请求:HTTP 状态码 403 Forbidden 和一条消息 表示特定账户的配额不足 继续。有关详细信息,请参阅服务条款。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-09-03
      • 2011-02-12
      • 1970-01-01
      • 2013-09-25
      • 2014-12-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多