How do I increase quotas for Google Translate API? - google-api

I am using the Google Translate API (for REST). There is a quota of 2M characters/day. I would like to increase that - how do I do so?
I have followed the instructions provided to no avail.
Google Developers Console
Select Project, Expand API & Auth, Click the Translate API, Go To
Quota
I have clicked the 'Apply for higher quota' which returns a 'page
not found' error
I have clicked each 'Change' button and input a higher number.
When Submitted it sits there; there is no response.
I have also gone to the API Console, and selected Quotas under my Project. There is no link to 'Request more...' for the Translate API, as there is with other APIs.

This is a bug. It also appears in the documentation. https://cloud.google.com/translate/v2/pricing. Google has been informed they are in the process of tracking someone down to fix the issue with the file at this time.
How To increase quota from the Console
You can / or should be able to extend it from the console.
Go APIs-> click on Translation API -> look for Quota click on that
You should be able to click on Apply for Higher quota. But the link isn't working right now. Google is on it. I will update this when i hear from them that it has been fixed.
Again Well spotted, and thank you for pointing it out :)
Update: I was told by Google that you should be able to increase your quota by enabling billing. There is also a thread about this on Google's Forums
Change quota fails; Apply for higher quota URL is broken
Update 2 (direct from Google)
Fixes were pushed on February 27th, they include:
Telling the user on the Quota tab that they have to enable billing
Removing the option to change the quota when billing isn't enabled
We no longer show a red warning triangle that 0% of 0 quota has been used
What we haven't fixed is the link to the document on how to apply for a quota
increase, the bug for this has been bouncing backwards and forwards
but we seem to be closing in on a resolution.

Related

Quotas View: Queries Per Day Graph Not Showing Any Data

For over one week now the graph over the amount of quota points used per day by my application has only shown "No data is available for the selected time frame" (30 days) on this page: https://console.developers.google.com/apis/api/youtube.googleapis.com/quotas. I also found the same view in the cloud console, it does not load there either: https://console.cloud.google.com/apis/api/youtube.googleapis.com/quotas. The "Queries per minute (3 hr average)" graph on the same page is working and shows data, as well as multiple other view in both the developer and cloud console. (two of them is /iam-admin/quotas and /apis/api/youtube.googleapis.com/metrics)
More proofs that there is data to show for this last week is that I received feedback from users about the quota limit has been reached and I tried generating some traffic my self and even caught the quota limit exceeded exception while debugging two days ago.
I tried using different browsers and from different devices but I get the same result on all of them. How can I access the quota usage per day over the last month?
This is not exactly an answer, since I agree that this is a bug which Google needs to address. It's just something of a workaround to get some data about what's being used.
You can see quota use data for the current day and 7-day peak data by using the Quotas page of the IAM & Admin section on the Google Cloud Platform console. It does not appear to offer any kind of historical data view, however.
Get to the Cloud Platform Console and select the Project you want to get data for.
Open the Navigation menu (≡ symbol on the top left).
Select IAM & Admin > Quotas
If necessary for your Project, use the Filter table field at the top to restrict to entries related to the YouTube Data API V3.
Note: You can also reach this from the APIs & Services > Quotas page, using the link in the information notice at the top.

YouTube Data API daily quota reduced to 0

For some reason, I started getting 403 errors on my app(in development), the errors message was
Access Not Configured. YouTube Data API has not been used in project XXXXXXXX....
This is weird because I was using the API for the last month or so with the same project, and didn't do any changes.
After looking in the project settings I noticed that the daily quota was reduced to 0.
The only thing concerning the API that I did was to request a quota increase in order to keep developing(The default quota stalled the dev on the search functionality of my app), but I didn't get any answer concerning that request other than asking for info, no warnings, or anything really.
I'm pretty sure that my app complies with the Terms of service, so I don't think that is the reason.
Any help would be appreciated. Thanks!
I would check your email it sounds like your project was disabled. Have you been though the verification process?
YouTube reserves the right to disable or curtail your access to, or use of, specific YouTube API Services if your API Project has been inactive for 90 consecutive days. For example, YouTube could revoke your API Credentials, or reduce (or eliminate) your API Project's quotas for specific YouTube API Services. If your API Client's quota is reduced or eliminated, you may reapply for quota or a quota extension, and YouTube will review that application based on YouTube’s determination of your expected use of the YouTube API Services.
I would check your email. I have several emails about projects i no longer use which have had the quota reduced to 0 over the last few weeks.
How to reset
No matter what the clients you have now are not going to work you need to reset the project.
Delete all client ids you have now.
deactivate then reactivate all APIs you need
Create new client ids keys
If you're trying to use an old project, then it's not gonna work. You'll have to create a new project.
Create a new project.
Enable Youtube API for it. (Your quota will be reset to 10,000/day)
Get new API key for it.
Use the new credentials.

Custom Search API Dashboard

Since September 5th, 2018 the custom search API dashboard screens no longer works.
I get no stats, no quotas for the project that I use. The service is still running from the front end, signing in with a personal account, other then the existing one I use, I find there is a new metrics section that has been added but that is not available to the other account? The only work around is to into billing -> reports -> SKU for the current day to figure out what the quota usage is. Is this a bug, or is there somewhere to upgrade the existing dashboard, new way to use the custom search, anyone else having this issue?
This is now fixed, google fixed the dashboard. As of Sunday the 9th, they didn't move anything it was busted, and they added there restricted service monitoring to the quota section. Was not aware Google developers would leave something that long as an issue, hence why I thought it was my issue. Still would have loved to have know where to go to see current list of issues.

Extending YouTube API Quota with limited funds

With a simple java program, I send GET requests using YouTube Data API specifically videos.list, in order to get the public metadata of a video and store it as .json files.
For my universities research, we have to do this with all available YouTube video IDs provided in the Youtube-8M Database.
Therefore, I would like to know if there is a way to extend the available quota for requests (I already know about the billing option, but I am a student and my university is small).
I have read the YouTube API terms, which states that only one project per client may be used to send such requests with the necessary API Key.
If I understand it correctly, even my simple java code is such a client.
In some other Stack Overflow questions about extending ones daily quota with API Keys, some suggested creating multiple accounts or projects.
Is this a legal option or not? Or is there another possibility to get a higher quota for simple requests used in research like I do right now?
If you go to the Google Developer console where you enabled the YouTube API. the second tab is called quota
Click the pencil next to which ever quota it is that you are blowing out. A new window will pop up with a link called apply for higher quota.
Fill out the form to apply. To my knowledge you do not have to pay for additional YouTube quota but it can take time to get approved. Make sure you comply with everything on the form.
I have never heard of the one project per client term. Technically you can run your application using different API Keys it should work fine. Technically there is nothing wrong with creating additional projects on Google Developer console. You don't need to go as far as creating another Google account.

can't change user-limit on calendar api via google developer console

I had some issues in the production environment with error "403: User Rate Limit Exceeded" when using the google calendar api. The error description page suggested to change the user limit in the developer console.
Logging into the developer console i did see a user limit of '5 requests/second/user' as seen in
After clicking on the pencil, i saw
Because i was unable to put in any number, i ended up deleting the content of the box and saving it. After that the api was unavailable due to 'not enabled'.
To try and restore the previous state of the api, i disabled it in the developer console and re-enabled it. This does not have the indended behaviour:
So now i'm stuck with an api with no global quota and a zero user limit, which can not be changed (no pencil to be seen anywhere).
I need to get this service restored asap.
Note: this behaviour is reproduceable on any new project by adding the google calendar api and following my steps.
I filed a quota increase request with explanation in the comment to google.
They responded today:
Hello xxxxx,
Thanks for reporting the configuration error you're seeing for your app (Project ID xxxxx) when setting your "per-user" limit to 0.
I've increased your "per-user" limit back to 5, you should see this amount in your console now.
Apologies for any inconvenience you may have experienced.
Regards,
Frank
Developer Platform
In the developer console i can see the quotas and the limit of 5 requests/sec/user. The service is also back up.
Thanks Frank from the Google Developer Platform.

Resources