Google API Quota Limits for Youtube API - google-api

Hi I'm new to Youtube API. I have problem in Quotas in Youtube API.
Youtube API allows to use only 10,000 quota points per day. My project is fully based on uploading videos to a Youtube Channel. For a single video upload(insert) through API it cost upto 1600 points, with this i can upload only 6 videos per day. I have applied for Quota increase. I don't know when my quota will be increased. But my Quotas Dashboard confusing me, it shows
it allows 1,800,000 queries per minute and it will allow only 10,000 queries per Day. If Youtube API can allow 1,800,000 queries/minute then Queries per day must be in Millions! In which basis I'm getting this Quotas Dashboard.

That quota is normal. A possible explanation for the quotas they are giving us could be that their biggest worry are not so much users firing 1000 requests very quickly in a short time frame but users firing 100 000 querys throughout the whole day. I've witnessed a similar issue with a thirparty provider that screenscraped a website. These people were so stupid they didnt cache anything and created much load on the site. Since they didn't react on complaints the only choice was to block them completly. Youtube uses a finer grained approach.

Related

Youtube Data API v3 quota usage application level

I want to create an app for uploading videos to youtube. So I used youtube data API. And I will serve a service for my users to uploading video youtube.
And Official documents says that:
https://developers.google.com/youtube/v3/getting-started?hl=tr#calculating-quota-usage
Google calculates your quota usage by assigning a cost to each
request. Different types of operations have different quota costs. For
example:
A read operation that retrieves a list of resources -- channels,
videos, playlists -- usually costs 1 unit. A write operation that
creates, updates, or deletes a resource usually has costs 50 units. A
search request costs 100 units. A video upload costs 1600 units. The
Quota costs for API requests table shows the quota cost of each API
method. With these rules in mind, you can estimate the number of
requests that your application could send per day without exceeding
your quota.
Is this quotas for a application level or user level. If it is for application level, In this way I have 6 video upload credit from youtube?
What is the clear explanation for this case? Is there any difference about app level quota between user level quota?
The quota is accounted per Google project. That is that each Google project has allocated an amount of daily quota (by default 10000 units) and each API call (being it through an API key or through an access token obtained upon completing successfully an OAuth 2.0 authentication/authorization flow) is deducted out of that quota amount.
Thus, by means of a given Google project, one given application -- if granted permission by several users to access their YouTube channel upon the successful completions of OAuth 2.0 authentication/authorization flows -- could well upload videos to multiple channels.
But, as you noted, in case of one having allocated an amount of 10000 units of quota to his/her Google project, the number of videos that may be uploaded on any given day cannot exceed six (if not counting the other API calls the application may issue).
Of course there's the possibility to apply for quota extensions (by filling in this form); but be aware of the fact that, according to the experience of the users of this forum, the answer from Google does not arrive shortly.
These are application level quotas. When your application runs and you authorize a user the user uploads a video to their account.
If we look at the quota for my system
My application itself has a quota limit of 10000. but each user can max use 180,000 quota. Which is useless as my application itself can only do 10000.
My application itself can use 1,800,000 per minute but again its useless as the total for the application is 10,000.
Intro to YouTube API and cost based quota for beginners 2021.

What limit is referred to by the `uploadLimitExceeded` response from the YouTube Data API?

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.

Google Places API - quota increase (1000 to 150 000) only available for businesses?

I recently started an internship concerning Master Data Management in Talend. Part of the Master Data Management proces involves the cleansing of data. In my case I have to cleanse a few addresses. After doing some research I bumped into the Google Places API, which would do the trick for me. At first I wasn't aware of the so called quota limits that are bound to this API so I decided to read up on it some more. Basicly I have quite a few addresses to cleanse, so the 1000 requests per day limit won't cut it. As of yesterday I decided to increase that limit to 150 000 requests by verifying my identity using my creditcard. The requests were indeed increased to 150 000 but after a few hours my billing account was closed without warning and the limit went back to 1000 requests.
My question is: is the increase of the quota limit only available for businesses or are individual users eligible for it too?
I basicly filled in my own name as the name of the business when I created the billing account for my own project. That billing account is closed now. I really need that quota increase to be able to finish my project so I'm wondering if you guys are able to enlighten me. The image below is part of the form which has to be filled in to create a billing account.
for this amount of quota you have to identify yourself through your credit card and thats it. you can use this key for personal use or business does not matter . as the whole app has that much of search quota. no matter how many people install that app.
so the answer is it is eligible for individual users too.
thank you
You may have different terms in your country. We don't have VAT in the US, although we do have state-specific sales tax on some goods and services. I suspect that Google cannot offer this service in your country without a business tracking the VAT for it. I use the Google Search API with Custom Search Engines on both personal and business accounts from the US with just CC validation. You might look to see if there are Google services resellers local to you who can offer you the Place API.

Google play games quota - pricing and per app basis?

The google play api quota is 200K requests as per this page. Assuming that his number is per app (and not per user of app), then is this not too less for any viable app?
I am implementing an app that has realtime multiplayer mode, for which I plan to use use google play games. Assuming that two players share there progress 10 times in a game, that would mean 20 API calls per game (I have ignored the api calls to set room, invite etc etc). Thus less 10K games can be played in a day. If every player plays 10 games a day, that comes to a support of only 1000 active users.
Is there something wrong in my understanding of the quota, or is google play services really so prohibited? Is there any other solution that would reduce my api calls.
Also whats the cost for more api calls? And is there any alternative solution for multiplayer games?
THanks
You are referencing to the wrong API. The link you have provided is for the Google Play Developer API which is for subscription, in-app purchase and publishing. The API for sharing progress and other in-game API calls is the Google Play Games Services which has a default quota of 50000000 requests/day and in which the user can have 500 requests per second(The quotas can be seen in the Developer's Console). You could also see Managing Quota and Rate Limiting for other info about the quota and limits.

Google place API pricing and queries uplift request

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.

Resources