Are the user rate limits applied when using service accounts with delegated users requests to Google APIs?
I think the limits here in this documentation is applicable for both the service account and user account. You can check here the API limits, API quotas and other type of limits. Also, another way to check the limits of API is in the Developers console itself under the Quotas tab in each API.
Related
Does anyone know if there is a way to increase the quota limit of 10 queries when batching calls to the core reporting API?
This question/answer mentions the limit of 10: How can I combine/speed up multiple API calls to improve performance?
If I try to add more than 10 queries to the batch only the first ten are processed, each one after that contains a 403 quota exceeded error.
Is there a pay option? Would love to speed up the process of reporting on GA data for a bunch of URLs. I looked in my Google Developer's Console under the Analytics API where there is an option to increase the per-user limit and a link to request additional quota but I don't need total quota to increase, only allowed batch requests.
Thanks!
Quota is the number of requests you are allowed to make to a Google API without requesting permission to access more. Most of the Google APIs have a free quota, a number of requests Google lets you make without asking for permission to make more request. There are project based quotas and user based quotas.
Unless it says other wise APIs Quotas are projects based not user based.
User quota example
Per-user limit 10 requests/second/user
Some Quotas are user based, a user is normally the person that has authenticated the request. Every request sent to google contains information about who is making the request in the form of the IP address where the request came from. If you have your code running on a server the IP address is the same all the time so Google sees it as the same user. You can get around his by adding a random Quotauser to your request this will identify the request based upon different users.
If you send to many requests to fast from the same user you will see the following error.
userRateLimitExceeded The request failed because a per-user rate limit
has been reached.
The best way to get around this is to use QuotaUser in all of your requests, and identify different users to Google. Or just send a random number every time should also work.
Answer: You can't apply for an extension of the flood protection user rate limit. But you can get around it by using QuotaUser.
more info on quotas can be found on Google developers console APIs
I'm trying to interact with the Salesforce REST API for an organisation, and was wondering if it had any notion of Service Accounts or Application Owned Accounts. I can't find any mention of it in the documentation, but maybe they use different nomenclature.
I'd like to enable some form of domainwide delegation of authority, so users aren't faced with the pop up requesting access to their data. This is an internal app, only for this particular organisation.
No, there are not service accounts. There are 'Chatter' user licenses that are free but have reduced functionality: http://www.salesforce.com/chatter/getstarted/?d=70130000000tRG7&internal=true#admin
FAQ: http://www.salesforce.com/chatter/faq/
Our app uses FaceBook profiles along with their publicly available data.
Today we use the following API:
https://graph.facebook.com/?ids=[id1,id2,...,idN]
We use this API with the FaceBook profile IDs we get from our subscribers.
I wonder if FaceBook will block us if we will use this API extensively?
Is there any limit that you are aware of?
Facebook make the following statement about API limits in their platform policy:
"If you exceed, or plan to exceed, any of the following thresholds please contact us as you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day)."
I am working on a project that want to use facebook api's. I want to know whether there is a rate limit on the facebook api's per account.
Yes there is a rate limit for Facebook API which is also mentioned in their Platform Policies as
If you exceed, or plan to exceed, any of the following thresholds please contact us as you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day).
Aside from the Platform Policies mentioned in the pervious answer, the Facebook graph API is subject to multiple level of rate limiting / throttling -- user (access token) level, app level (app id), API level, and IP address.
This doc. has most of what you need: https://developers.facebook.com/docs/reference/ads-api/api-rate-limiting/, other than the IP level throttling.
This post cover the IP level throttling: Facebook Graph API limit - per token and per IP?
Does Google Cloud Storage allow setting a monthly budget limit, similar to the one available for Google App Engine?
Google Cloud Storage does not implement usage limits on the XML API or for HTTP GETs of public objects.
It is possible to enable access logs: https://developers.google.com/storage/docs/accesslogs
This would give you detailed logs of all access to your objects. You could monitor the logs, and if the usage is higher than you want to allow, change the ACL on your objects to disable further access.