Unable to locate my business in Google Places API - ios

I'm currently attempting to create a link for my customers to leave a Google review. I have attempted to find my business via Places API but nothing shows up. My business is verified on Google. Can anyone help?

Hope you have created API key for the google place api,
Now just modify below link accordingly, then hopefully it will give the desired result.
https://maps.googleapis.com/maps/api/place/autocomplete/json?types=establishment&input=&key=

If you created your business as Service Area Business, it won't show up in Places API web service. In order to find place ID for SABs you have to use the place ID finder of Google My Business that is located at
https://developers.google.com/my-business/content/faq#how-to-find-placeid
When I search the 'David Grant Simpson Photography' in this place ID finder I get the place ID ChIJaUxp_09GiEgRpgCejm52hQg as shown in my screenshot
I hope this helps!

Related

How can I get all google business which is registered on google by search its name using API?

I need help related API. First of all, I want to know that Google provides any kind of API that gives the search result of all google business which is registered on google using the business name and its address.
If yes then it's good for me and please give me any link of documentation.
I have also checked google documentation of google API. But I can not found the exact API that I need.
https://developers.google.com/my-business/reference/rest/
GMB has api googleLocations.search, we can search by location object or query string. Hope this will help.
https://developers.google.com/my-business/reference/rest/v4/googleLocations/search
We can also use locations.fineMatches API for unverified locations
https://developers.google.com/my-business/reference/rest/v4/accounts.locations/findMatches

How to add "Order Online" link on GMB using the API

[NOTE: This may be not the right place for this question. Can you please refer me to the right place if this is not.]
I know you can login to GMB, verify the business and than add the "Order Online" link from the GMB console.
We are an agency and expanding fast so we are trying to find out a way of adding our link to all our customer's GMB pages without needing to getting verified for each of them separately but rather using the API if possible.
Anyone here has experience doing this? I looked through the API, but can not find anything like this.
It is not possible to influence this attribute. See this article
In some cases, links to certain third-party booking services will appear automatically on business listings. These links cannot be edited in Google My Business.
If you want to remove or fix a link in your own listing, please contact the third-party provider’s support team or a technical contact to request they remove your data from the information they are sending Google.

Get a review link with Google My Business API

Is there a way to get the link of a review using the GMB APIs?
The closest to what I need is this:
https://www.google.com/maps/contrib/113400145807499011881/place/ChIJSRSm38NhLxMRBgg2EGMZqKc/
Where the first ID (113400145807499011881) is the ID of the user who left the review, and the second ID (ChIJSRSm38NhLxMRBgg2EGMZqKc) is the place ID.
However, the review object returned by the API does not seem to contain enough information to obtain the reviewer user ID.
Thank you,
Guido
I was searching for a way to get the url to the review overview for a specific location via the API too.
After checking the links, IDs ect. in the API Responses and lots of documentations an tuturials i found NO way to get the link over tha API.
BUT a workarround with a few manual steps can help to find the link (I know that is not a final answer to the question, but maybe it is still helpfull)
go to google search, and search for you Location/ Company that contains the reviews
on the right side you should see a pannel that shows the current stars for your location and a link "xxxx Google-Rezensionen"
klick on this link and copy the url in the browser
(optional remove parameters like "&client" ect.
Check this youtube-video of the Step by Step Tuturial to see a tuturial how you can do this.
newReviewUrl is the Parameter if someone read this:
https://developers.google.com/my-business/reference/rest/v4/accounts.locations#urlattributevalue

How to use google click id (GCLID) to extract AdWords Campaign, Ad Group, Keyword, Ad, etc

I tried searching for api which can help in extracting AdWords Campaign, Ad Group, Keyword, Ad, Keyword, etc.. from Google Click ID (gclid), but I end up with Click Performance Reports. Well it wont solve my requirement completely.
So is there any way to use "gclid" in adwords to extract data.
Any public API would be of great use.
This question is quite old but I wanted to share: Google AdWords has an API.
https://developers.google.com/adwords/api/docs/guides/start
Check out the PHP Library on Github.
https://github.com/googleads/googleads-php-lib
Gclid is exactly that - Click ID. With this, you can fetch Click Performance report like you have done. It contains CampaignID, AdgroupID and Criteria which has KeywordID. Then with these ID's, you can fetch appropriate reports which contain any additional information you may want!

Using OAuth to retrieve "consumer" email from a linked Google Apps Script within a Google Apps Site

While https://developers.google.com/accounts/docs/OAuth2Login is very descriptive, I cannot seem to wrap my head around how to translate into a Google Apps Script.
The ultimate goal is to have the user click a link, authorize access to their userinfo. I will then use their email address or userId to assign the appropriate spreadsheet to other Google Apps Scripts UIs.
I am certain that some sample code would get me on my way.
Is it even possible?
Can a linked be utilized to make this happen? http://support.google.com/sites/bin/answer.py?hl=en&answer=1224166&topic=1224152&ctx=topic
The trouble is that when you publish your script as a service, it executes under your ID. All the authorization has to be done in the script editor. So, when a third person clicks a button or link or whatever, the script runs under your user ID and all you get back is your own user id.
In short, the answer is no. Sad, but true :(
Check out the OAuth code on the Google Code site. There are some great examples along with the client (and server) code in several different programming languages. Follow along with the samples on how to get the tokens needed.

Resources