YouTube imposes the following quota cost limits (default values listed):
What is the meaning of the last limit? How can the quota per 100 seconds exceed the total quota per day?
If you have been audited in the past 12 months and have been marked compliant by YouTube API Services Team, you can apply for an additional quota extension using this form. If YouTube denies the application for an additional quota extension, you can file an appeal by using this form.
Projects that enable the YouTube Data API have a default quota allocation of 10,000 units per day, an amount sufficient for the majority of our API users.
I'm getting an error that says I exceeded my quota when uploading to YouTube. There is a slight chance that Explain Everything service will exceed its YouTube quota. This can happen if there is an exceptionally large amount of uploads to YouTube made from Explain Everything apps across the world.
If you have a high traffic site, that limit might be too small. If so, we suggest that you try things like reducing your gallery's page size or using the plugin's caching feature. After that, your traffic might be so high that you still get the "Youtube Data API quota exceeded" error message.
Here are the meaning of the different quota in the YouTube Data API
QPD(quota per day) - meaning the maximum numbers of request over a 24 hour period a client id is able to make to an API.
QPS(quota per second) - meaning a global quota per second for the application, meaning how many calls per second an application can make.
quota per seconds per user - meaning the number of queries a user, in the application can make.
The quota of 3,000,000 per 100 sec did not exceed the 1M QPD because you need to divide the 3M QPS to 100.
So meaning you only have 30,000 QPS or queries per second.
I hope this information helps you.
I believe the "Queries per 100 seconds = 3,000,000" is a inaccurate/left over/a mistake from Google's old Query limits. Clearly 3,000,000 in 100 seconds is 3x your total per day and makes no sense!
The "old" limits used to be much higher: 50,000,000 Queries per day
The per 100 seconds limits, however, did not change (or at least were not updated properly).
I was also looking for this, as the documentation from YouTube is not clear at all. Some answers, such as @nightsurgex2's, hinted at the fact that only the daily limit counts, but I wanted to be sure before sending this to production, so I wrote and ran some custom tests. I'm not going to speak about the "per user" limits, as the application we are developing does not use this.
The test application just sends a lot of dummy requests (each worth 1 quota point) and breaks when API returns an error. Please keep in mind that this will exhaust your application quota for that day, so use a dummy project if you want to try anything similar. The results were:
Finished YouTube Data: 03/17/2022 15:24:13
Took: 51759.2994 ms
Total requests: 10451
Finished YouTube Analytics: 03/17/2022 15:29:29
Took: 16080.7929 ms
Total requests: 892
Finished YouTube Analytics: 03/17/2022 18:29:57
Took: 10478830.055 ms
Total requests: 98927
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With