Google Map Javascript API v3 - OVER_QUERY_LIMIT Error - google-maps-api-3

I am displaying multiple locations in the map by iterating a for loop. After doing that few times using Google Map API v3 javascript I am getting this javascript error

This has been answered in the posting below:
OVER_QUERY_LIMIT while using google maps
To save you a trip: you are being throttled by the API. Batch the locations and make a single request.

Related

Batch Geocoder "In Maintenence"

on the Batch Geocoder page, there is a banner at the top that says it is "In Maintenence" and that in the future we should use the Geocoding and Search API v7 service. Does the Geocoding and Search API also have batch geocoding capabilities? If not, if I am geocoding the same number of addresses in Geocoding and Search API as I would be with the Batch Geocoding API, would the pricing be the same? I asked this question to marketing, but they redirected me to this page. Thanks.
The "in maintenance" was added to the Batch Geocoder accidentally and has been removed. Eventually this feature will be added to v7 as well. Until then (and for some time after), you can continue to use Batch Geocoder API as usual. Rest assured that it is not going away and sorry for the confusion caused.

How do i tell Openrefine to fetch some data trough the google and facebook API (Grel)

I have a list of around 500 foundations and companies and i need to fetch more data like address, description, lat long, email or phone number, from the google and FB APIs I have found something more or less like this, but it won't work in OpenRefine, i need some help please.
I think it is possible to do beacause there is an addon called spotlight for spreadsheets that is able to fetch Google URLs and Lat Long https://www.youtube.com/watch?v=Vj1v3QfyrgA&feature=youtu.be
https://maps.googleapis.com/maps/api/place/findplacefromtext/output?parameters/json?input=value&inputtype=textquery&fields=photos,formatted_address,name,rating,email,geometry&key=YOURKEY
I have created the FB and Google places and google staic map API already. I have tried different queries, but it won't work unless it is in GREL
value.parseJson().geonames[0].lng
value.parseJson().geonames[0].geonameId
value.parseJson().geonames[0].lat
From the error "This API project is not authorized to use this API" the first thing to check is that you have enabled the Places and/or Geocoding API in the Google Developer console, and you have setup an API Key and that it is showing as a credential for the Places API and/or the Geocoding API
Next step, take OpenRefine out of the equation and check you can get a simple API call working in your browser - using one of the Google Places API examples:
https://maps.googleapis.com/maps/api/place/findplacefromtext/json?input=Museum%20of%20Contemporary%20Art%20Australia&inputtype=textquery&fields=photos,formatted_address,name,rating,opening_hours,geometry&key=<INSERT YOUR API KEY HERE>
If that gives you the same error, you know the issue is not with OpenRefine.
If you are still having problems in OpenRefine make sure you are creating URLs in OpenRefine that are valid for the appropriate Google API based on the documentation for that API and that you are using the correct API key.

Google Charts: Maps - requesting API Key

I have some doubts about Google Charts library when we talk about maps and GeoCharts. I was having this issue that maps stopped working when simply changed the name of the file and this error popped up in my browser console:
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
I searched over the web and found some questions here declaring that the maps service VIA GoogleCharts (visualization) didn't have limitations nor charges. BUT, I was able to resolve the problem above using a free JS Map API key as oriented here: https://github.com/google/google-visualization-issues/issues/2292
It's a standard free key, so no charges, but there are limitations, right?
What about geocoding??
So, wrapping up all, considering Google Charts scope:
1) Is there a limitation or charge for Google Charts Maps & Geochart view?
2) Is there a limitation or change for geocoding data?
Thanks you for the clarification!

Google Maps V3 API: How can I get report of the use of the DIRECTIONS and GEOCODE APIS

I am using Google Maps API v3 in a Web.
And also I am using:
new google.maps.Geocoder(); (GEOCODING)
new google.maps.DirectionsService(); (DIRECTIONS for trace routes between 2 places)
Then I went to API Developers Console and create a KEY and I call the Google service in this way usin the key:
http://maps.google.es/maps/api/js?key='the-key-from-api-console'&sensor=true
The intent of this is to keep track of the use of apis to watch that I do not pass the limits of use.
In the API console Google reports me ok about the use of the javascript API v3 counting the number of visits, the number of loads of the maps even the URL of the pages that use the maps.
I can see that my use of this service does not exceed 25,000 requests / day
But i need reports of the use of GEOCODING and DIRECTIONS too and Google is not reporting me this info. In developers console I activated the Directions API, the Geocoding API and Google Maps JavaScript API v3. But I only get reports of Maps JavaScript API v3.
Report of Directions API and the Geocoding API stay always at 0%. It is as if Google is not using this report.
Could it be that the service should be contracted to have this data or to be other types of APIS enable the console in order to have use of this report?
I've been trying to find information clarifying this for me but I found nothing that completely solved my doubt.
Thanks in advance.
When you use both services via the methods of the Javascript-API the limits apply to the user that visits the page with the map, the quota of your account is not affected(so there is nothing to count/report for your account/project)
It applies to your account only when you request the webservices(usually via serverside scripts).

How to GET data for multiple profile_ids in Google Analytics Reporting API?

Is there a way to fetch information for multiple ids in a single GA Reporting API query? See here for reference to the tool I am using: http://ga-dev-tools.appspot.com/explorer/
Tthe Google Analtyics core Reporting API is a little confusing. Core Reporting API - Reference Guide - Ids calls the Query Parameter ids but it is in fact singular. You can only send one id at a time.
Anwser: There is no way to send more then one view (profile_id) to the Core reporting api as a single request. You will need to loop over your request and send it multiple times.
Example:
https://www.googleapis.com/analytics/v3/data/ga?ids=ga:34896749&dimensions=ga:date&metrics=ga:entrances&start-date=2014-05-12&end-date=2014-05-22&oauth_token={OauthToken}
https://www.googleapis.com/analytics/v3/data/ga?ids=ga:34896744&dimensions=ga:date&metrics=ga:entrances&start-date=2014-05-12&end-date=2014-05-22&oauth_token={OauthToken}

Resources