Warm tip: This article is reproduced from stackoverflow.com, please click
google-apps-script google-cloud-platform urlfetch

Google App Script URLFetch quota not clear

发布于 2020-03-30 21:15:43

I'm interested of building a spreadsheet add-on that relies on external services and it seems that URLFetch is the only way of performing remote HTTP/S calls with app script.

I've reached the app script quota page to check limitations and I can see that they are

  • 100.000 calls/day for GSuite plans
  • 20.000 calls/day for Gmail plans

What is not clear from the documentation is if these limits are related to the whole application or just the single user installation of the add-on / application.

Also the documentation doesn't really explain if there's any way to can ask google for increased quotas for a specific application, something that you might need and do in GCP for specific apis for example.

Anybody with app script experience and with a published add-on can share some light to it ? Has anyone attempt to create a app-script that heavily uses external services ?

Questioner
Pievis
Viewed
214
ziganotschka 2020-01-31 19:32

Apps Script quota apply per user invoking a service.

i.e. if each user of the application calls a service on his own behalf - each user will have awarded the quota mentioned in the documentation.

On the contrary, if you are using a service account that performs a call on behalf of a user without impersonating him - all calls from all users will count against the service account quota.

As for API quotas, they apply per project. You can consult here how to request an increase of quota.