I am using this module for some time and it worked fine. But suddenly it stops fetching analytics data. When I saw the report, it was showing message as

Code: 403 - Error: Forbidden - Message: usageLimitsuserRateLimitExceededUnregUser Rate Limit Exceeded. Please sign uphttps://code.google.com/apis/console

I am using version 7.x-1.3

Please suggest how can I resolve this issue.

Comments

matt_paz’s picture

I'm experiencing the same issue ... wondering if we might want to switch from OAuth to using a system account/cert?

grendzy’s picture

Issue summary: View changes
Priority: Critical » Normal
Status: Active » Closed (works as designed)

Google's quota policy is documented on the project page. In short you are limited to 10,000 requests per day:
https://developers.google.com/analytics/devguides/reporting/core/v2/?csw...

In the future, OAuth2 support will enable you to request a larger quota from Google:
#1678306: Add Support for OAuth2 Authentication

In the meantime, the best option is to restrict the number of users that have access to your reports, to bring your usage below the quota limits.

matt_paz’s picture

For the time being, I just replaced calls to google_analytics_api_report_data with google-api-php-client ($service->data_ga->get). I used a PKCS 12 key ... that got me up and running for my needs :)