Google Map Address Geocoding API not working - google-maps

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.

Related

Google Fit Api quota limit and pricing

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.

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 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.

Google map client side(Google Maps JavaScript API) geocoding keep counting quota of all session?

I'm using Google Maps JavaScript API to load and search(geocoding) locations on map. As google suggests to use API key, I'm using the API key in my site so i can monitor the requests too.
Also google says;
Client-side geocoding will not face a quota limit unless you perform a
batch of geocoding requests within a user session. Therefore, running
client-side geocoding, you generally don't have to worry about your
quota.
But when I check the usage via Google Developer console, the request keep counting even i'm accessing and searching the location from different browsers(sessions). it seems that Google count all sessions geocoding requests into one place. is that mean, I get quota limit when it reaches 2500? or no need to warry about it as google says "you generally don't have to worry about your quota." or am I missing something?
Thanks.
From Geocoding Strategies-> Quota Considerations
Client-side geocoding through the browser is rate limited per map session,
so the geocoding is distributed across all your users and scales with your userbase. Geocoding quotas and rate limits drive the strategies outlined in this article.
And from Quota summary
Daily quota resets at midnight Pacific Time (PT).
Free quota 2,500 requests/day
Total quota 2,500 requests/day
Remaining 2,500 requests/day 100% of total
I desume you can use free only 2500 geocoding /day

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.