Google document Google Calendar API Usage Limits states 1M queries per day. Is the quota per project or per service account/client? I know it is possible to request increase of quota, but want to know if multiple service accounts can each have 1M queries per day.
Most Quotas are project based. So if you have a single project on google developer console and you create six service accounts they will all be using the same quota.
If you create two projects on google developer console and create a service account on each then they will each have their own quota.
You may still want to apply for the extension it doesn't cost anything but it can take a while to get approved.
Related
In our ERP system Qi, which has about 1200 customers, we use the Google Calendar API. In the Google developer console, I found that about a month ago the number of requests jumped from 150,000 to 700,000 per day. As a result, about 40 percent of requests now return a rateLimitExceeded error (such as this).
I have questions:
How can I find out who caused the load increase (IP address, login, etc.)?
What is Google's pricing policy about quotes? How much would it cost to increase the quota from eg 1 million to 10 million?
Thank you.
Regards, Petr.
Only for G Suite users:
You can check which users made API Requests in the Audit tool of your Google Admin Console. Go to Reports > Audit > Calendar and filter by API Kind > Calendar API.
Regarding the Quotas, you can upgrade them in your GCP Console by clicking on Upgrade Account.
we are using a iam.gserviceaccount.com Email adresss to connect our tool with the Google Analytics accounts from our clients.
We have reached the maximum connected accounts, but an upgrade is not possible because we can't response to the emails sent by analytics support.
Is there another way to upgrade it? Or is there another possibility to connect our tool with the analytics API?
We already tried to upgrade the account with the analytics support, but it is not working because of the emailadress.
For normal Google analytics accounts there is a limit to 100 accounts that you can have access to. If you upgraded to a premium account if i remember correctly that number jumps to 250.
You are currently using a service account and granting it access to a number of Google analytics accounts. The service account is going to be bound by the normal user limit of 100 and your not going to be able to increase that.
The problem is that you are using service accounts in correctly. Your not supposed to be giving the service account out to your customers and asking them to add it as a user on their Google analytics account. Service accounts are intended to be used by developers and companies that have access to data and want to share that data with others.
You should be using Oauth2 to gain access to the users data and saving the refresh token in your application which will enable you to request data for the user when ever needed.
By using a service account you are going to be hit with a lot of quota limits because they are shared by the user a user can only make so many requests so fast per day. By using Oauth2 you would be using different users and would not have as many issues with the user based quotas.
I am trying to build an application using Google Analytics real-time API. So, I see this quota limit at 50,000/project. I am aware of 10,000/Google Analytics View limit. So, based on these values, my application can handle only 5 users/day.
Am I doing something wrong? Is there any workaround for this?
Its 50,000 API calls per day to query your data, not for collecting data.
What is this 10,000 Google Analytics View limit you refer to? It is not listed on the GA quotas and limits page
There is a 10million hits per month limit per web property, if you go over that then they ask you pay for GA360
What is the Google Analytics Management Write API quota limit? Is it 50 requests per day or 500, because the documentation states that it is 50 requests per day but when I'm filling the quota augmentation demand form, it says that it's 500 requests.
50 requests seem to be too low and it is the case for my project.
On the other hand, where can I check my daily usage of write requests? The console usage tab doesn't show it.
EDIT: Here is a screenshot of the Google Form to demand an increase in quota limits
Google form quota limits
Google Management Write API is at 500 requests per day.
The quota limits depend a lot upon which methods you are using. Please consult the Quota Limits documentation.
The following quotas apply to Management API, Core Reporting API v3, MCF Reporting API, Metadata API, User Deletion API, and Real Time Reporting API:
50,000 requests per project per day, which can be increased.
10 queries per second (QPS) per IP address.
In the API Console, there is a similar quota referred to as Requests per 100 seconds per user. By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000. But the number of requests to the API is restricted to a maximum of 10 requests per second per user.
If your application makes all API requests from a single IP address (i.e., on behalf of your users), use the userIP or quotaUser parameter with each request to get full QPS quota for each user. See the standard query parameters summary for details.
Write APIs
These quotas apply to the write (insert, update, patch, and delete) requests:
50 write requests per project per day, which can be increased
1.5 queries per second (QPS) per Account ID
actually quota
response from Google
the default quota is 50.
There used to be a whitelist so it was effectively 0 until you got whitelisted and then it was 500 (once whitelisted). We removed the whitelist and reduced it to 50 so that people can use the API without having to wait to be whitelsited. If they need more they can request additional quota.
I wonder exactly the same. I wish to get my write quota increased to 500.
From my experience, the usage of your write requests is under "Queries per day". This morning I only made 50 write requests and it now shows 50/50 000 queries for today. Doesn't really make sense...
This post won't clear up the write quota but it will show a source of the confusion - hopefully Google will clarify this
This api-quota-faqs page clarifies a number of ambiguities regarding quotas and batching (e.g. batching doesn't help with the Management API write quota).
But the 50 vs 500 ambiguity is currently still perpetuated: The current version of that page shows "Last updated April 13, 2018":
What is the maximum quota increase limit for Management API write requests?
The maximum daily quota per project for Management API write requests is 500. We normally don't grant more than 1,000 to 2,000 write requests per project per day. In some cases, we grant higher limits temporarily. Please include your justification in the quota increase request form.
That page is required reading before submitting the form to request an increase but that shows 50 - see image
Our usage metrics shows 71 successful Management API write requests for the day but we still got write quota errors - so neither 50 nor 500 is validated.
Regarding finding the usage:
(I don't see our Management API write quota listed with the other quotas)
The traffic and error metrics are found at APIs & Services > Dashboard.
Clicking on the Analytics API will take you to detailed metrics with listings by method (e.g. insert, update, etc)
URL is:
https://console.developers.google.com/apis/api/analytics.googleapis.com/metrics?project=project-id-9731708857265513301 (replace with your project id)
Currently I am working with Google Calendar integration in our product. I am very new to the Google Calendar API.
As a first step, I have gone through the Google API documentation, and I am little bit confused with the Calendar API usage limits. I have the following questions regarding this:
What is the usage limit for Calendar API? I have seen as 500,000 requests per day. Is this limit based on the hosting domain/URL or a particular user?
In some other document, it says 10,000. Is this limit for one user? Can I get the details of how it is counting?
Can I use the Javascript API for integration since Google released it for beta version?
https://developers.google.com/api-client-library/javascript/start/start-js
Which will be useful: either the Javascript API or the server side API? Is there any difference in usage limit between the Javascript API and server side API?
1, 2: Currently it is 500 000 queries a day per project. That means all your users combined can make at maximum 500k queries a day. There is also a per-user limit of 5 queries per second which you can change in the console (console.developers.google.com). If you need more queries per day, you can submit a quota request through the console.
3, 4: yes, you can certainly use javascript. There is no difference in limits for server vs. client apps.
For 1 and 2 the current quotas (set maximum by default) are as follows:
Queries per day: 1,000,000
Queries per 100 seconds per user: 500