This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console
Solution 1:
From the picture you posted, it say it's disabled...
Go to the Developer Console
Navigate to Google Maps
-> APIs
Search for Geocoding and click on Google Maps Geocoding API -> Enable API. Do the same thing for Geolocating
Solution 2:
If you are using get method to fetch the places, you need to enable
Google Places API Web Service
I was facing the same issue and resolved after enabling it.
EDIT: According to https://developers.google.com/places/web-service/get-api-key
Note: The Google Places API Web Service does not work with an Android or iOS restricted API key.
So you have to create new key if or remove restricted access of existing key to work it properly.