Google is in the process of deprecating the original Places API, if it hasn’t already.
To rectify this, ensure that the new Google Maps Places (New) API is activated for your API key.
Activating the new Google Maps Places (new) API #
1. Navigate to your Google Cloud Console
2.Ensure you are logged into the correct Google project

Project Dashboard
3.Navigate to APIs & Services
4.Click the “+ Enable APIs and services”

Enable APIs and services
5.Search for Places API (New)

Places API (New)
6.Enable the Places API (New)

Enable Places API (New)
