bandwidth limits to google apps script doPost? - post

I'm aware that POST requests for files and other data can be made through a script published as a Google Apps Script, the question is I couldn't find any information regarding the maximum amount of size per file, and / or if there were any other bandwidth restrictions for doPost.

Please see Apps Script Quotas
The URL Fetch POST size can be 50 MB per call. You can make up 20,000 URL Fetch calls per day with a Gmail account and 50,000 per day with GSuite (paid) Google accounts.

Related

Youtube data API quota on using the same google client on different devices

The current youtube API quota is 10,000 units/day.
So what if I created an app and this app has 100 copies installed on different 100 devices and all of them use different IPs, would the quota be 10,000 units/day for every device (1M/day) or the 10,000 units would be distributed among the different copies?
Note that the requests will be executed on different devices. this is an embedded app., not a cloud one.
10,000 units/day is project based, not user based. IP address won't affect anything.
As you can see from the above image on the Queries per minute per user is user based, and detected via ip address, sending the quotauser parameter along with the request or sending an authorization header containing an access token.
In order to get around your 10k quota in this manner you would need to create 100 projects on google developer console and create credietnals for each of those projects and then each project would have 10k quota. However the drawback would be trying to get 100 projects though the google verification process.
You could just request an extension of your quota if you need more quota. 😊
Additional Clarifications
API key Used to access public data only and identifies your application to google
Client id and client secrete used to create a access token, will identify both the application and the user to google once a user is authorized and you are sending an access token authorization header with your request.
The quotaUser and userIp parameters can only be used for anonymous requests with some Google apis this has changed recently i am not sure if it still works with YouTube api private calls. userIp allows you to send any ip address with the request, and QuotaUser allows you to send any string for example your internal user id for the user making the requests. In the past this allowed for some hacking / work around for the per user quotas.
None of the above information will really help you as the quota you are trying to get around is a project based quota and not a user based quota. Its detecting the project associated with your client id / api key (depending upon what you are using) changing the IP or generating a new client under your project isnt going to help.
Really just request more quota
There are two ways an app is identified by the API:
the API key that the app uses when invoking the API endpoints (for reading only public data), or
the credentials data (i.e. access token) the app makes use of when calling in various endpoints (for reading only public data pertaining to any YouTube channel, or, otherwise, for reading/updating/deleting public and/or private data pertaining the YouTube account/channel that granted permissions of operation to the respective app).
Therefore, from the point of view of the API, it doesn't really matter if you are running N different instances of your app (i.e. programs running on concrete computers). The API accounts for the quota consumption of a given project created through Google developers console.
In this context of an app (as a concrete program) running on several machines that share API keys and/or credentials data, I recommend warmly to get familiar with the content of the DTOS specifications.

How do I increase my daily quota limit for uploading videos through youtube api?

I am working for a news channel which uploads 50 videos per day. I have integrated youtube api on the website for the same purpose. There seems to be a quota limit of 6 videos per day. Is there any way I can purchase or get more quota limit? What is the process and charges for increasing the quota limit.
The only way of obtaining a quota extension for your application is that of addressing Google directly.
There's this form that you'll have to fill in. Than wait for response -- which, according to the experience of users of this forum, doesn't arrive shortly.
I haven't worked with uploading videos but you should be able to ask for additional quotas for google apis on the IAM & ADMIN console view under Quotas (there should be a link from the developer dashboard under Quotas. Once there just select the quota you would like to change and submit a request.
Having said that, I have no experience with this process, so I don't know what is the involved in approving such a requests nor what kind of costs be involved.

How to increase the maximum number of requests per user for Youtube Data API

What is the Maximum number of requests per user for Youtube Data API? Is there a way to increase the maximum number?
My application uses Playlists: insert and PlaylistItems: insert. I know about maximum number of requests for Youtube Data API. but these api returns RATE_LIMIT_EXCEEDED even though the request limit has not been reached.
So I changed my account and ran the APIs, it worked.
The problem can be avoided by preparing multiple accounts, but it is not solved fundamentally.
Is there a way to increase the maximum number of Youtube Data API requests per user?
somedays ago i contacted Google about the same problem you have, and they answered me saying my API key was out of compliance.I think your case is the same, but until now I didn't realized what I did for The API being out of compliance. if someone knows the answer I appreciate.

YouTube API: Costs for a higher quota?

I need a higher daily quota for the Google API / YouTube API.
So I want to sign up for the free trial, but I can't seem to find any costs for that in the Google Cloud: https://cloud.google.com/pricing/list
Am I missing a major part here?
I had the same question and I didn't find a price list. When you enable a Youtube Data API in your google console you can go to section quotas for this API and set quota to value from 1 to 1 million. If you need more, you should do a manual request to Google through filling a special form, accessible by a link.
Here you can find the Quota Usage for Youtube API
Youtube Quota Usage
If you reach the quota limit, you can request additional quota on the Quotas tab in the Developer's Console.
You can calculate the quota here

Is there any difference between Google Maps SDK for iOS and its premium version?

There's absolutely no specification if there is a separate SDK for premium or if premium key allows some additional Google Maps functions for the iOS part.
Imho same sdk, different api keys.
edit: It`s same SDK and you are spending your free limit (source):
The 100,000 daily free requests are shared across all Maps JavaScript API client-side services and Google Maps APIs web services—all requests are subtracted from the same pool of 100,000 free daily requests. Any additional requests are applied against the total number of Maps APIs Credits you purchased for your Premium Plan. Your free daily request pool is reset at 12:00 am PST.
(source)
If you continuously reach your limit you will have to upgrade your plan to premium - but you will still have the same SDK.

Resources