Retrieve Insights From Google My Business Location

I’m trying to retrieve Google My Business Insights from my Google Business Location.

I already have the connection with Make, and connections is working ok. Make.com has not a module to retrieve the insights, so I should perform an API Call. I read google documentation: Retrieve location insights  |  Google Business Profile APIs  |  Google for Developers but is not working, I get 404.

This is the way is set up:

The connection is working OK because if I tested with anothe Google My BUsiness Module works ok (for example, to retrieve reviews). I get this error message:

404. That’s an error.

The requested URL /https:/mybusiness.googleapis.com/v4/accounts/10404915XXXXXXXXXXX/locations:reportInsights was not found on this server. That’s all we know.

Thank you!

Hi,

You have an error in the endpoint’s URL- it should be relative to
https://mybusiness.googleapis.com
so it should start, in your case, with
/v4/accounts...

Please correct this error and let us know if it helps.

Hello, thank you for your reply but getting same error:

Thank you!

No one helping???

Hi,

I visited the documentation of the endpoint you are using.

Please take a look at the endpoint documentation published.

The locations.reportInsights method in the Google My Business API has been deprecated. Google has transitioned to the new Business Profile Performance API, which could possibly be causing your problem.

The new API method is: /performance/rest/v1/locations/fetchMultiDailyMetricsTimeSeries.

To my knowledge, there is no performance endpoint module yet in Make (I could be wrong). You can try to ask support if there will be update or try to build your own request using HTTP module.

Have a great day!

1 Like

Solved! Thank you.

With Performance API works well.

1 Like

Awesome! Please mark your thread as solved :slight_smile:

Have a great day!
Michal
Simplymation