How do I programmatically retrieve (ideally through the API) my remaining quota for that same API? Specifically the Youtube Data API.
Well, as of now, there is no tool that can do this or compute the remaining quota used in the API. What can I give you is this feature request coming from this SO question that requesting to have a Quota statistics API for the Google Products. But sadly to say, there is no exact date when they will approve and release this API.
What can you do right now is to estimate the remaining quota of your YouTube API by using this Quota Calculator. By using this tool, you can now know how much quota that you are using every day.
Hope this information helps you.
Related
I need an extension to my YouTube API quota allotment to conduct research for my dissertation. I have been trying to get an estimate of the available resources and costs for extensions for an NSF grant but have not been able to get in contact with a human for several weeks despite filing the quota extension form.
Currently, I've been trapped in a loop with the youtube API compliance team where they continuously ask me for the following info.
In order to proceed further, please provide us the following information:
Provide API Client link and demo credentials
Screenshots and/or video recording(s) that clearly demonstrates how your API Client and its users access and use the YouTube API Services.
Documents relating to your implementation, access and use of YouTube API Services.
I have attached the required responses mulitple times and still receive the same message. For the first I have attached my python code for accessing the API (the only usage of the service), the second I have attached the pictures of the terminal window and the data output, for the third I have attached the project summary, description, and data collection plan for the project plus the first paper I published using the limited quota on YouTube.
I've repeatedly asked to be connected with a human to go through their needs but have had no response. The project has received a great deal of interest in the Economics community and I am under a great deal of pressure to continue the work, it is very stressful for a graduate student to bear especially when barred by an automated response. Please help D:
The service tag is 1-0726000027117
I need to create a scheduler for my own SaaS, and I'm trying to understand whether Google Calendar API is a fit for that. Basically I could have hundreds of thousands of calendars. Each calendar may be a user of my service, but not a Google user. It seems that perhaps I could use resource calendars under my Google Cloud service account. My biggest concern is whether my usage will fall within the Calendar API's service quotas, either automatically or by requesting a quota increase?
Yes service accounts will fall within quota usage limits. There is also a limit about creating more then 25 calendars in a day causing the user to end up in read mode for the rest of the day.
pricing
Google Calendar API Usage Limits
The Google Calendar API has a courtesy limit of 1,000,000 queries per day.
To view or change usage limits for your project, or to request an increase to your quota, do the following:
If you don't already have a billing account for your project, then create one.
Visit the Enabled APIs page of the API library in the API Console, and select an API from the list.
To view and change quota-related settings, select Quotas. To view usage statistics, select Usage.
On the one hand, you could work around the quota issues by sharding your users across multiple Service Accounts. You would probably also want to shard them across multiple App IDs.
On the other hand, don't do it. In my experience, using Google APIs outside their intended use case doesn't end well.
I'm working on updating some code I wrote a while back to integrate YouTube with the Shrine ruby file-attachment library using the google-api-client gem.
In its test suite, I usually stub out all YouTube API communication with recorded HTTP responses and all is well. When adding new features, I run the tests against the live YouTube API which ends up uploading and deleting a tiny blank mp4 many times.
Recently, the YouTube API has been returning 400 errors with:
uploadLimitExceeded: The user has exceeded the number of videos they may upload.
This doesn't seem to correlate with the quota limits in the API console for either the user or the app, and I haven't been able to find much documentation around what it might be.
Does anyone have insight into what limit this error is referring to?
Is it a rate limit?
a daily limit?
a lifetime-of-the-user limit?
badRequest (400) uploadLimitExceeded The user has exceeded the number of videos they may upload.
Basically means that the user in question has exceed their upload limit for the day. The YouTube api has a slightly different quota system then other Google APIs the ones listed in developer console are just the general ones. You should check calculating quota usage
200,000 read operations that each retrieve two resource parts.
10,000 write operations and 90,000 additional read operations that each retrieve two resource parts.
400 video uploads, 1500 write operations, and 50,000 read operations that each retrieve two resource parts.
Sounds like you uploaded a lot of videos. This quota should reset at midnight west cost USA time.
I'm not sure where to read about the API request limit for a Google platform such as DFP.
I want to know if the limits are on a per platform basis, or a per google API console account basis? Because there may be several API accounts under
a single platform
Thanks
According to their support,
The API will give a QuotaError if the number of requests exceeds the limit. It is recommended to implement a back off before retrying the request. If you have DFP Small business, then it is recommended to limit requests 2 per second, if you have a Premium account, limit 8 requests per second.
For any additional information you could refer their,
Online Documentation
Ask for help in their Google Group
Hope that helps. Cheers
Regarding the usage of Google Place API, Google allows 1000 queries per 24 hour for this Place API, and 100,000 queries per 24 hour if the account is verified with a credit card. Exceeding 100,000 queries per 24 hour, we can write to Google to request for an uplift.
Does anyone have any experience with lifting the limits for the queries of Place API?
And if you didn't get approved, what is the Google's pricing model for exceeding usage of the queries?
Thanks
There is currently no pricing model for Places API as it is a free service. If you exceed your usage you will simply receive "status": "OVER_QUERY_LIMIT" in response to any subsequent Places API requests. Even if billing is enabled, you will not be charged for the use of the Places API.
If you apply for a Places API Quota Uplift, as long as your application meets the Google Maps Terms of Service and Places API Requirements, you should receive an uplift in quota.