Google Places API subway_station,? - google-maps-api-3

It is possible to get subway station info using google place API?
few weeks ago I did that, my tests were fine!, but now testing doesn't work
google has changed access?
I was testing with this :
https://maps.googleapis.com/maps/api/place/search/json?language=ru&location=4.647604837557583,-74.07900810241699&radius=1000&sensor=false&types=subway_station|train_station&key=xxxxxxxx
result:
{
"html_attributions" : [],
"results" : [],
"status" : "REQUEST_DENIED"
}
I think that now google dont allow place service with subway station.
In other post somebody said:
Google Places Api subway and train station search in Russia stopped working
thanks!!!
thanks

This issue has already been reported on the Google Places API Issue Tracker here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=4061
Please click the 'star' icon to be notified of future changes, and to let us know you are interested in seeing it resolved.

Related

Adding ga:adMatchedQuery breaks API request

I have a script that imports data from Google Analytics to my BI. It was working for years. Recently it stopped working.
After investigation, it turns out that removing ga:adMatchedQuery from dimensions solves the issue.
I checked changelogs (https://developers.google.com/analytics/devguides/reporting/core/v4/changelog?hl=en, https://developers.google.com/analytics/devguides/reporting/changelog?hl=en, etc.), and do not see any deprecation notices. Are there?
Nevertheless, are there any alternative way of getting visitor's search term for my adds in Google API?
Update:
Further investigation showed that I can make a request if adMatchedQuery is the only dimension. Adding the second dimension (for example, my custom dimention or ga:hour) breaks the request.
For example:
https://ga-dev-tools.appspot.com/query-explorer/?start-date=2022-09-01&end-date=2022-09-08&metrics=ga%3AgoalCompletionsAll&dimensions=ga%3Asource%2Cga%3Amedium%2Cga%3AadKeywordMatchType%2Cga%3AadMatchedQuery%2Cga%3Acountry%2Cga%3Adate%2Cga%3Ahour&sort=-ga%3AgoalCompletionsAll%2C-ga%3Adate&ids=ANALYTICS_ID produces empty set.
https://ga-dev-tools.appspot.com/query-explorer/?start-date=2022-09-01&end-date=2022-09-08&metrics=ga%3AgoalCompletionsAll&dimensions=ga%3Asource%2Cga%3Amedium%2Cga%3AadKeywordMatchType%2Cga%3AadMatchedQuery%2Cga%3Acountry%2Cga%3Adate%2C&sort=-ga%3AgoalCompletionsAll%2C-ga%3Adate&ids=ANALYTICS_ID gives me results.
The only difference is that I removed ga:hour from the list of dimensions in the second link.
Same here, it seems google made an update on Sept. 1 to restrict search queries that don't meet their higher privacy threshold, however it seems like they completely shut off search query reporting in GA. Hopefully they recognize this bug and fix it.
Check https://support.google.com/analytics/thread/178348751/search-console-report-not-showing-search-queries-for-landing-pages?hl=en&authuser=1
I had the same issue and here is my solution.
Since Universal Analytics will no longer process new data in standard properties beginning July 1, 2023, Google is asking us to switch over to a Google Analytics 4 property. I guessed that it should be a way to keep us updated. So I updated my property for GA4 and I manage to access that dimension.
The ga:adMatchedQuery now could be found at GA4 as firstUserGoogleAdsQuery,sessionGoogleAdsAdNetworkType or googleAdsQuery.
I also found out that the API changed.
The service in the Google Cloud that used to bring the data was "Google Analytics Reporting API" now you need to use the service "Google Analytics Data API"
That is the quickstart Guide:
https://developers.google.com/analytics...
Metrics and Dimensions:
https://ga-dev-tools.web.app/ga4/dime...
I'm coding in Python, and that video helped me a lot:
https://www.youtube.com/watch?v...
We had the same issue since 5 September.
I found a solution on github. They say you have to replace the ga:adMatchedQuery with ga:keyword.
This works for me, but not entirely sure if it is the same as adMatchedQuery, but the results look good though.
Hope this helps you too.

Get campaign name from LinkedIn API

I am trying to get in touch with LinkedIn support for the past month now, unfortunately I had no luck getting to the dev team through the account management.
We are using a reporting tool to pull LinkedIn campaign data via their API. We would like to pull Campaign Names which doesn't seem to be possible at the moment referencing https://developer.linkedin.com/docs/ref/v2/ads/adcampaigns#get
However, is there any kind of way to retrieve the Campaign Names (ID is making it really hard for us to identify campaigns on the fly)? It seems like such a basic request, I find it hard to believe LinkedIn has no way of doing this.
Thanks in advance!!
A little further down that page you referenced is a section called "FINDER" with this:
https://api.linkedin.com/v2/adCampaignsV2?q=statuses&statuses=ACTIVE
Options are ACTIVE, PAUSED, ARCHIVED, COMPLETED, OR CANCELLED
You will get the "name":"MY_CAMPAIGN_NAME" field there. That's the only place I've found it so far.

No house number with Google Maps API

I'm using the Google Maps API (v3). It is used to look up places with the autocomplete function.
When I search for 'De Koffiebrandery', the result I get is almost complete. The only thing that is missing, is the house number.
When I look for 'De Koffiebrandery' in Google I can see that the house number is present in the result.
How can I get the Google Maps API autocomplete to return the house number as well?
Hopefully someone can help me out with this!
Actually, the 'Street Number' is there. It is '40'. The other number you see is the postal-code (5222 BH). You can console the response. Here's the response on my end.

Why is "natural_feature" excluded from Google Maps Geocoding and Places API searches?

Trying to mimic the 'what's here' feature of Google Maps in my own website but it seems that items of type 'natural_feature' are excluded from Google Maps 3 API geocoding and places searches, both nearby and radar, and also on text searches unless the EXACT name of the place is provided. This must have been an informed choice by Google to do this - anyone know the rationale, and better, offer a workaround? Seems crazy that I can't get the names of woods, nature reserves etc. any more...
Found out how to do it! If you get a geocoding API key from Google you can get all the data for natural features included in the JSON/XML response from a server request like the following (I was trying to get the data for "Gamsey Wood"):
https://maps.googleapis.com/maps/api/geocode/json?latlng=52.4180698,-0.2029999&result_type=natural_feature&key=YOUR_GOOGLE_GEO_KEY
Happy days!

google maps and asp.net

i am developing an application which makes use of Google maps. Google maps API returns the result with map on new screen but I want to retrieve only the latitude and longitudinal coordinates .. so please help me with:
How to retrieve them
How to dynamically send name and address of the location
This is too broad a question so without further information it is hard to explain.
These link might help:
http://www.mikeborozdin.com/post/Working-with-Google-Maps-API-in-ASPNET.aspx
http://www.codeproject.com/KB/scripting/Use_of_Google_Map.aspx
Use google and you will find a lot more.

Resources