Getting reviews of newly associated place with Google Business - google-places-api

We have a platform in which we are integrating Google Business API and before that we were just using Google Places API.
We kinda have similar scenario like the one below
https://www.en.advertisercommunity.com/t5/Google-My-Business-API/Google-Places-API-and-My-Business-API/td-p/575081
I have followed the instruction of first answer by "Terry".
I have done following steps
Used OAuth 2.0 for authentication and authorization
Created a new, unverified location
Found all of the possible locations that are a match to the unverified location
Upon the user’s selection and approval, associated the unverified location to a specified place ID
I am getting the reviews of approved/published business locations.
Here's the issue:
I want to get the reviews of that newly associated business location.
How can i achieve that?
Second question is, is it possible to associate a place Id with businesses location which is not returned by Google Business API Find Matches endpoint?

So finally this is what i get from GMB team.
"In the Google My Business API, the review operation is only valid if the specified location is verified, the only boolean field of the "LocationState object" in a location you should check for is "isVerified".
Ref: https://www.en.advertisercommunity.com/t5/Google-My-Business-API/Google-Places-API-and-My-Business-API/m-p/1605702#M7933

Related

How to get the get API path and parameters of Google play developer API?

I have added a non-renewable subscription for one of my projects. We also started implementing the Google play developer API to get the subscription latest status from the Play Store. For that we have done the below steps as per this blog:
Linked the developer account to a new Google Cloud Project.
Enabled the Google Play Developer API for the Google Cloud Project.
Created a service account and created a key for the service account.
I have below clarifications related to this implementation:
I tried to Grant Access for the following permissions: But the corresponding checkmark is not clickable.
View financial data, orders, and cancellation survey responses
Manage orders and subscriptions
The 3rd step as per the blog is to Authorize an API key, but I didn't get a clear idea of that.
We are going to implement this API on the back end side as a corn job, do we need to generate a JWT token for accessing this API? Is this possible to call without a Token? I found 2 types of implementations from this blog, which one is easy and secure?
"Your application can complete these tasks either by using the Google APIs client library for your language or by directly interacting with the OAuth 2.0 system using HTTP."
From where we get the get API path and other details. I found a similar get API from AppStore like this. Is the play store providing a similar kind of get API?
We need the latest purchase status API and for that what parameters do we need to pass?

Places API returning NOT_FOUND

Since this morning the Places API has returned NOT_FOUND results for every single place ID we've tried searching for.
We regularly query the API to check details & it has been running fine for over a year but today it's fell over and only returns NOT_FOUND, for over 300 different place ids.
Is there a current issue with the API?
I contacted Google Cloud support today about this because it still hasn't changed.
Yes they no longer support Service area businesses in the Places API. Here is their response:
Thank you for contacting Maps Platform Technical Support. My name is Ana and I'm here to assist you.
Places API mission is to enable developers to help users find relevant places to visit. Since Service Area Businesses are not places users can visit, they do not belong in the Places API. That is the reason why you cannot search it in Places API and it is an intended behavior.
Business owners can fix this via MyBusiness IF they have a brick-and-mortar shop
(a shop someone can visit on the streets).
I find this shocking that developers are unable to pull out information about any ACTIVE business on Google. I have responded with my own views but as expected Google will not change their stance.
Well that is very confusing to customers. You (rightly so) allow local listings to be setup as service area businesses. Why should only brick and mortar shops be allowed to utilise the Place API? That’s separating the market for businesses to advertise properly and surely is not legal.
Regardless of if you agree about service area businesses not being allowed to be shown on Maps – there is no reason that an ACTIVE business should not return details through a Development API which has no public facing impact. It is stifling the support agencies and businesses can provide to its customers.
We're denied access to the Google My Business API and then resort to pulling out data via the Places API and now we can no longer do that.
You should at the very least provide some kind of development data for ANY business that is available on Google, whether that be via the Places API or not – business owners should have a right to pull out data about their own business at any time.
Please forward this to the GMB team.

Google API to manage location reviews for a 3rd party

I'm working with a client who would like to integrate management of google reviews into an existing app (used by many franchise locations).
The problem is that I cannot figure out how to get access to review data from a 3rd party.
The "Google My Business API" requires filling out a form, and seems to be for your own business only. And obviously I don't want to have to ask every franchise to create a new API in the google API console so I can get access.
https://developers.google.com/my-business/reference/rest/
Each franchise has a google "my business" account they use to see reviews and manage their location, but that's it. No api access, etc.
Is there some way to get at these APIs with OAuth? How do reputation apps get access to this information?

Google Classroom - How to list only created/updated/deleted courses

I am trying to create a google sync API(background API using scheduler) which basically updates my database courses with the google classroom courses.
The Google Classroom API does not seem to have a mechanism for fetching only create/update/delete courses. right now I am able to fetch all courses from google classrooms using google classrooms API but i want only created/updated/deleted courses list.
Also, can I call my API endpoint, if a course is created/updated/deleted into google classrooms course?
Upon checking the documentation, it is not yet supported. You can restrict returned courses to those in one of the specified states "only" using courseStates parameter.
Possible states a course can be in.
COURSE_STATE_UNSPECIFIED
ACTIVE
ARCHIVED
PROVISIONED
DECLINED
SUSPENDED
If the feature hasn't been requested yet, you can file a feature request on the Issue Tracker.
I got a reply on Google Issue Tracker after creating a feature request:-
Google Issue Tracker Url:
https://issuetracker.google.com/issues/74175718
Reply:
So, you're correct that we don't yet support returning the list of courses which have been updated since your last sync. I've changed this to a feature request to reflect that.
However, in case it's helpful to you, we do offer two things that might address some of your needs:
(1) Our courses.list endpoint (https://developers.google.com/classroom/reference/rest/v1/courses/list) guarantees that results are ordered by most recently created. So it should be easy to detect all the courses that have been created since the last sync by doing timestamp comparisons.
(2) If your sync job is running with the credentials of a domain administrator, you can use push notifications (https://developers.google.com/classroom/guides/push-notifications) to get updated when the rosters change for all courses in the domain (course creation will appear as a notification that the primary teacher has been added to the course, so you should be able to detect that as well).

How to search for zagat selected places only in Google Places API?

How do I search for Zagat selected places only in Google Places api, as when I follow the docs and add zagatselected to the query, the results fail and give invalid request.
Notice: I'm a billing user (i.e. I enabled billing in the API Console)
To obtain Zagat data you have to become an enterprise user; just being a "billing user" is not enough.
Per Google: "The zagatselected parameter is experimental, and only available to Places API enterprise customers."
Become a Enterprise Customer
Some features of the Places API — such as review summaries, and certain request filters — requires additional licensing, available as part of a Places API enterprise license.
You can verify that your account has been enabled for Places API enterprise features as follows:
Visit the APIs Console and log in with your Google Account.
Select the project that was created for you when you signed up.
The project name will start with Google Maps APIs for Business.
Click the Services link from the left-hand menu.
The Places API - Zagat Content service should be enabled. Note that only the initial owner of the project will be able to see the Places API - Zagat Content service.
The Places API service should be disabled.
from Google Places API Document

Resources