Will google text search api omits the 'permanently closed' businesses? -
i have been trying 'permanently closed' businesses using google text search api, couldn't.
here business(ye olde curiosity shop) permanently closed(as per google maps),
i used google autocomplete api place_id(ye olde curiosity shop) , later used same place_id against google places details api , says business 'permanently closed'. (no issues)
but when try place_id business has been closed(ye olde curiosity shop) using google text search api , not giving me exact matching business place_id.
my question 'google text search api' omits closed businesses? because don't have problem in getting place_id, when used 'google auto complete api'. don't find documentation saying this.
any appreciated.
according place id documentation,
each place id can refer 1 place, single place can have more 1 place id.
the place_id you're getting when use autocomplete , places details api added when shop still in business. if using text search api gave different place_id, should still ok , should able refer location , search using either id. however, , isn't explicitly stated in documentation, don't think text search api give correct place_id closed business. tried text search query api key , got 6 different results, none of ye olde curiosity shop. makes sense, since wouldn't want users see closed businesses when they're searching location.
tl;dr text search doesn't give correct places_id, if did, ok if id didn't match 1 autocomplete or places query.
Comments
Post a Comment