TL;DR

To find Place ID, Google ID, and CID, you need to understand three Google Maps identifiers:

Identyfikator miejsca is the unique ID Google gives to a location in Google Maps.

Google ID, also called Feature ID lub Data ID, is another unique ID used for places and other items across Google services.

CID is a unique business ID used across Google services like Google Maps, Ads, Shopping, and Analytics.

Możesz użyć wysięgnik to search by Place ID or Google ID and find the exact Google Maps business or location. You can also get the CID from a Google ID by converting part of the Google ID from hexadecimal to decimal.

Keep in mind that Place IDs and Google IDs can change over time, so it is best to refresh them if they are older than 12 months.

Spis treści

Identyfikator miejsca

Co to jest Place ID?

W związku z tym, aby Dokumentacja Google, ID miejsca to unikatowy identyfikator miejsca na Mapach Google w bazie danych Miejsc Google. Identyfikatory miejsc są akceptowane w zapytaniach do interfejsów API Map Google.

Przykładowy identyfikator miejsca: ChIJgUbEo8cfqokR5lP9_Wh_DaM.

Chociaż identyfikatory miejsc jednoznacznie identyfikują miejsce, Google zaleca odśwież identyfikatory miejsc, jeśli mają więcej niż 12 miesięcy. Oznacza to, że identyfikatory miejsc mogą być nieaktualne po 12 miesiącach, a to samo miejsce może mieć inny identyfikator w tym czasie.

Korzystanie z funkcji Place ID w programie Outscraper

Możesz użyć identyfikatorów miejsc jako zapytań do identyfikacji unikalnych miejsc z Outscraper Platforma, Outscraper APIlub Outscraper SDKs.

Otwórz miejsce w Mapach Google według identyfikatora miejsca

ten składnia aby otworzyć Google Maps z Place ID ma następującą strukturę, gdzie ChIJgUbEo8cfqokR5lP9_Wh_DaM to Twój identyfikator miejsca:

				
					https://google.com/maps/place/?q=place_id:ChIJgUbEo8cfqokR5lP9_Wh_DaM
				
			

ID funkcji (A.K.A. Google ID, Data ID)

Co to jest Feature ID?

Identyfikator funkcji to unikatowy identyfikator elementów lub funkcji w Google (Wyszukiwarka, Mapy, Hotele itp.).

Przykład Feature ID: 0x89aa1fc7a3c44681:0xa30d7f68fdfd53e6.

Identyfikatory cech mogą być używane do identyfikacji miejsc na Mapach Google, ale tak samo jak identyfikatory miejsc, mogą być one nieaktualne w ciągu 12 miesięcy.

Używanie Feature ID (Google ID) z Outscraper

Podobnie jak w przypadku identyfikatorów miejsc, możesz użyć identyfikatorów cech jako zapytań do identyfikacji unikalnych miejsc z Outscraper Platforma, Outscraper APIlub Outscraper SDKs.

Otwórz miejsce w Mapach Google według identyfikatora funkcji (Google ID)

Aby otworzyć miejsce według Feature ID musisz stworzyć następujący adres URL, gdzie 0x89aa1fc7a3c44681:0xa30d7f68fdfd53e6 to twój identyfikator funkcji:

				
					https://www.google.com/maps/place/data=!3m1!4b1!4m5!3m4!1s0x89aa1fc7a3c44681:0xa30d7f68fdfd53e6!8m2!3d40!4d90
				
			

Wyodrębnij CID z ID cechy

Możliwe jest uzyskanie CID z Feature ID przy odrobinie kodowania. W naszym przykładzie Pythona weźmiemy lewą część z Feature ID i przekonwertujemy tę wartość szesnastkową na dziesiętną.

				
					feature_id = '0x89aa1fc7a3c44681:0xa30d7f68fdfd53e6'
cid_hexadecimal = feature_id.split(':')[-1]
cid = str(int(cid_hexadecimal, 16))
				
			

CID

Co to jest CID?

CID (Client ID Number) to unikalny identyfikator firmy w Google. Służy do identyfikacji konta biznesowego we wszystkich usługach Google (Ads, Shop, Analytics, Maps itp.).

Przykład CID: 10547968956387762884.

FAQ

Najczęściej zadawane pytania i odpowiedzi

W związku z tym, aby Dokumentacja Google, ID miejsca to unikatowy identyfikator miejsca na Mapach Google w bazie danych Miejsc Google. Identyfikatory miejsc są akceptowane w zapytaniach do interfejsów API Map Google.

Google ID to unikalny identyfikator elementów lub funkcji w Google (Wyszukiwarka, Mapy, Hotele itp.).

CID (Client ID Number) to unikalny identyfikator firmy w Google. Służy do identyfikacji konta biznesowego we wszystkich usługach Google (Ads, Shop, Analytics, Maps itp.).

Możesz znaleźć ID miejsca w wynikach z Outscraper (place_id). Alternatywnie, można znaleźć ID miejsca w źródle strony podczas odwiedzania miejsca Google Maps przez przeglądarkę.


Vlad

Kierownik projektu Linkedin

0 Komentarze

Dodaj komentarz

Symbol zastępczy awatara