Google Fit Api quota limit and pricing - google-fit

So I'm trying to read the google fit history using the android API
https://i.stack.imgur.com/R0zef.png
When i change the number of requests per day more than the limit, i got an error: "You can't request more quota because your project is not linked to a billing account."
I think to do that, do i have to add a credit card?
Is there any fee if i want to increase quota limits? Please advise me more details about this.

Related

Is google drive API limits per account or project?

I have a project relay on google drive API and i hit API limits all the time.
And i need to know if google drive API limits is set per accounts or per projects?
And if it is per project, is there any limitation per account?
Thsnks
Google Drive API limits are subject to limits based on per project, per user and per time frame.
You can see your quota by creating a project in the Google Developer's Console, and from the Burger Menu (☰) menu in the top left following:
☰ > IAM & admin > Quotas
From here you can see your quotas for each service, clicking on Google Drive API will bring you to the Drive API specific page which shows you how many Queries per day, Queries per 100 seconds, and Queries per 100 seconds per user that the selected project is subject to.
The Developers console also has graphs showing your traffic and request history to all API services, so is a good place to see where you are hitting your limits and potentially reduce this where you can.
There is a batch update method of Drive which if you are making multiple requests can significantly reduce your number of requests, but as mentioned on the Google Developers blog they are deprecating this endpoint on 12th August 2020 and so API specific batch endpoints would need to be used.

why google is not charging me for google API usage

I using map place api, gecoding api and direction api in my app. For two months already see the photos below. But haven't got charged for any money. Why is that?
As the analytics shows, you haven't crossed 11500 Places API calls or 40000 Directions API call. Google Maps now provides $200 free monthly usage. Head over to this link to know the number of requests per API your monthly $200 free credit can support. Also, add daily quota to restrict the usage.

Google Map Address Geocoding API not working

I am new to the GCP. I have created a project in the Google Cloud Platform and enabled Geocoding API and Static Map API.
I had free trial but when more requests come, Geocoding API shows OVER_QUERY_LIMIT reached. Therefore, I enabled the billing to that project so it is solved but the billing account has own its some quota or threshold for the requests.
Because if I reached over that threshold, it says again OVER_QUERY_LIMIT. How can I extend this with having current billing (no extra charges)?
If this is not possible, what the billing account means.
And I received many time 403 response code in the GCP Geocoding API Logs rather than 200 response code. And I don't know why it is happening.
it counts the per second query limits. consider that.
Please note that you have $300 (usable for GCP Products) one time credit upon activating your Billing account plus monthly recurring of $200 credit (exclusive for Maps API only), if you haven't exhausted this credit then maybe you just need to adjust your quota higher in order to avoid OVER_QUERY_LIMIT, but if your project is already in production, then you might need to upgrade your billing account.
Upgrading your billing account will allow you to exceed your quota, however extra charges will occur, but you can set limit to your API usage to prevent excess bill.
You may refer to this link to learn on how to edit your quota and learn on Capping API Usage.

Google places api is giving me error Daily Quota Exceeded

After a lot of hassle I have managed to setup places API on my site.
But just after one search its says You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account
Everyone is saying there is 1000 search I get free/day. After setup of Billing Account I will get more. So I want to clarify this because I just got 1 search.

Regarding Places Library for Google Maps API Quota limits

Quick question, just to clarify the wording and meaning (because it's changed a couple of times for Map loading...)
There are the two following statements in the Places API FAQs:
The Google Places API has the following query limits:
Users with an API key are allowed 1 000 requests per 24 hour period.
Users who have verified their identity through the APIs console are
allowed 100 000 requests per 24 hour period. A credit card is required
for verification, by enabling billing in the console. We ask for your
credit card purely to validate your identity. Your card will not be
charged for use of the Places API. While the lower limit is sufficient
for development and testing, we recommend enabling the higher limit
before launching your application. It is possible to request an
additional quota. If granted, the additional quota is free of charge.
If, at some stage in the future, an option becomes available to pay
for an additional quota, that quota will be over and above the
existing free quota, and you will need to sign up for it explicitly.
Note that some services may have a multiplier:
The Text Search service is subject to a 10-times multiplier. That is,
each Text Search request that you make will count as 10 requests
against your quota. The Radar Search Service is subject to a 5-times
multiplier. That is, each Radar Search request that you make will
count as 5 requests against your quota. If you've purchased the Google
Places API as part of your Maps API for Business contract, the
multiplier may be different. Please refer to the Google Maps API for
Business documentation for details.
This implies that use of the Google Places API is restricted to 100,000 queries per day, or 10,000 if you're doing a Text Search.
However, on the Uplift page, it says the following:
If you are developing a web based application that only needs to
search for places, and is not submitting new places or Place Bumps,
you should use the Places library of the Maps API rather than using
the Places API web service. The Places library assigns a quota to each
end user rather than to each key. This means that your available quota
increases with your user base rather than being capped at a fixed
amount.
I am using the Places API in the following way:
https://maps.googleapis.com/maps/api/js?key=XXX&libraries=places
...
service = new google.maps.places.PlacesService(map);
service.textSearch(request, callback);
And also for some details searching and photo searching.
Therefore my question is; Given my usage of the Places API, am I subject to the 100,000 queries limit on my app, or am I essentially uncapped at an app level, as my quota is per end-user? (i.e. per unique IP? if I had 10,000 users I have an effective quota for my entire user base of 100,000*10,000?)
EDIT:
For clarity: if I throw my API key into https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=XXXX, it will increment my Places quota count on the Google API console, however if I run queries through my JS app, I see no quota use change. I want to make sure that i'm not suddenly going to be hit with a massive quota result.
Use of the JavaScript API services, like those provided by the Places library, have quota assigned to each end-user. It's a very similar setup as objects like the google.maps.Geocoder, which has been discussed in a bit more detail in this Geocoding Strategies article.
You may apply for an uplift to the quota so that the restriction is taken away and you have unlimited access:
https://docs.google.com/forms/d/18pkOdu0uofeI8tbQoReDVfkbOIAscLvjiKc9ZP06hEM/viewform
This form is applicable to Android, IOS and Web.