If you see this error in the console: "This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console", it is necessary for you to add Places API to Google Cloud Platform.Read the full answer to get more information.
Read the FULL answer