In the below API results:
Predictions results does not have id field in some cases.
Like description: "Bangalore South, Karnataka, India" does not have id.
Is this change in response structure expected?
As also mentioned in this SO post, the id
field has been deprecated as of June 2014 so it is not guaranteed that this field will always be returned. In replacement, you'll need to use the "place_id"
field moving forward which uniquely identifies a place.
This has also been answered in Google's Public Issue Tracker here: https://issuetracker.google.com/issues/134893143