設定 Places Insights
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
在搶先版中,Places 洞察會在 BigQuery 資料無塵室中提供目標國家/地區的城市專屬資料。資料無塵室提供安全強化環境,多方可共用、彙整及分析資料資產,不必移動或揭露基礎資料。
如要針對資料無塵室中的資料編寫 SQL 查詢,您必須先註冊,才能存取地點洞察產品。帳戶完成新手上路程序後,您就能訂閱目標國家/地區的資料無塵室。
必要條件
如要在資料無塵室中存取 Places 洞察資料,請務必:
註冊即可測試地點洞察。
擁有 Google Cloud 帳戶。
如果您沒有帳戶,請按一下「開始使用」按鈕,即可使用 Cloud 控制台提供的互動式新手入門設定體驗:
開始使用
啟用 BigQuery API。如需啟用 BigQuery 的操作說明,以及使用 BigQuery 的教學課程,請參閱「使用 Google Cloud 控制台查詢公開資料集」。
啟用 Analytics Hub API。
請確認帳戶具備「Analytics Hub 訂閱者」(roles/analyticshub.subscriber
) 和「Analytics Hub 訂閱項目擁有者」(roles/analyticshub.subscriptionOwner
) 角色,才能在資料無塵室執行訂閱者工作。
請確認您的帳戶具有「BigQuery 使用者」(roles/bigquery.user
) 角色,可建立資料集。
詳情請參閱「其他訂閱者權限」。
訂閱資料無塵室
如要查看「地點洞察」資料,請參閱下表所列的城市和國家/地區。每個城市和國家/地區都有專屬的資料淨室,您必須個別訂閱。
如要訂閱無塵室:
從下表中選取感興趣城市的訂閱連結。
Google Cloud 控制台會開啟該國家/地區的對話方塊。舉例來說,美國紐約市的淨室:

在對話方塊中選取「訂閱」按鈕。
完成後,資料表訂閱項目會顯示在 Google Cloud 控制台的 BigQuery Explorer 面板中。在 SQL 查詢中,使用下表顯示的資料表名稱存取資料。

可用的無塵室
下表列出支援的城市和國家/地區:
國家/地區,城市 |
訂閱連結 |
資料表名稱 |
澳洲雪梨 | AU |
places_insights___au___sample.places_sample
|
巴西聖保羅 | BR |
places_insights___br___sample.places_sample
|
加拿大多倫多 | CA |
places_insights___ca___sample.places_sample
|
法國巴黎 | 法國 |
places_insights___fr___sample.places_sample
|
德國柏林 | 德國 |
places_insights___de___sample.places_sample
|
英國倫敦 | 英國 |
places_insights___gb___sample.places_sample
|
印度孟買 | IN |
places_insights___in___sample.places_sample
|
印尼雅加達 | ID |
places_insights___id___sample.places_sample
|
羅馬 (義大利) | 義大利 |
places_insights___it___sample.places_sample
|
日本東京 | 日本 |
places_insights___jp___sample.places_sample
|
墨西哥墨西哥市 | MX |
places_insights___mx___sample.places_sample
|
西班牙馬德里 | 西班牙 |
places_insights___es___sample.places_sample
|
瑞士蘇黎世 | CH |
places_insights___ch___sample.places_sample
|
美國紐約市 | 美國 |
places_insights___us___sample.places_sample
places_insights___us___sample.brands
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-22 (世界標準時間)。
[null,null,["上次更新時間:2025-07-22 (世界標準時間)。"],[],[],null,["In the Preview release, Places Insights provides city-specific data in BigQuery\n[data clean rooms](https://cloud.google.com/bigquery/docs/data-clean-rooms) for\nthe target countries. Data clean rooms provide a security-enhanced environment\nin which multiple parties can share, join, and analyze their data assets without\nmoving or revealing the underlying data.\n\nBefore you can write SQL queries against the data in a clean room, you must\nfirst [sign up](https://docs.google.com/forms/d/e/1FAIpQLSetyVSIJc2U4C8rn7Z2olWhK9MEbD_YPadqHuPO3SE-yL21yg/viewform)\nto get access to the Places Insights product. Once your account\nhas been onboarded, you will be able to **subscribe** to the clean room for your\ntarget country.\n\nPrerequisites\n\nTo access the Places Insights data in a clean room, you must:\n\n1. [Sign up](https://docs.google.com/forms/d/e/1FAIpQLSetyVSIJc2U4C8rn7Z2olWhK9MEbD_YPadqHuPO3SE-yL21yg/viewform)\n to test Places Insights.\n\n2. Have a [Google Cloud](https://cloud.google.com/) account.\n\n If you don't have an account, click the **Get Started** button that links to\n an interactive setup experience in the Cloud console for new\n users:\n\n [Get Started](https://console.cloud.google.com/google/maps-apis/start?utm_source=Docs_GS_Button&ref=https://developers.google.com/maps/&utm_content=Docs_Central)\n3. Enable the BigQuery API. For instructions on enabling BigQuery and for a\n tutorial on using BigQuery, see [Query a public dataset with the Google Cloud console](https://cloud.google.com/bigquery/docs/quickstarts/query-public-dataset-console).\n\n4. Enable the [Analytics Hub API](https://console.cloud.google.com/apis/api/analyticshub.googleapis.com/metrics).\n\n5. Ensure that your account has the [Analytics Hub Subscriber](https://cloud.google.com/bigquery/docs/analytics-hub-grant-roles#ah-subscriber-role)\n (`roles/analyticshub.subscriber`) and [Analytics Hub Subscription\n Owner](https://cloud.google.com/bigquery/docs/analytics-hub-grant-roles#ah-subscription-owner-role)\n (`roles/analyticshub.subscriptionOwner`) roles to perform subscriber tasks\n on the data clean rooms.\n\n6. Ensure that your account has the [BigQuery User](https://cloud.google.com/bigquery/docs/access-control#bigquery.user)\n (`roles/bigquery.user`) role to create datasets.\n\n For more information, see [Additional subscriber\n permissions](https://cloud.google.com/bigquery/docs/data-clean-rooms#additional_subscriber_permissions).\n\nSubscribe to a data clean room\n\nPlaces Insights data is available for the cities and countries listed in the\n[table below](#available-clean-rooms). Each city and country has its own data\nclean room that you must subscribe to individually.\n\nTo subscribe to a clean room:\n\n1. Select the subscribe link for the city of interest from the [table\n below](#available-clean-rooms).\n\n2. A dialog opens for that country in the Google Cloud console. For example\n for the New York City, United States (US) clean room:\n\n3. Select the **Subscribe** button in the dialog.\n\n4. When complete, the table subscription appears in the BigQuery **Explorer**\n panel in the Google Cloud console. In your SQL queries, use the table name\n shown below to access the data.\n\nAvailable clean rooms\n\nThe following table lists the supported cities and countries:\n\n| City, Country | Subscribe link | Table names |\n|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| Sydney, Australia | [AU](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_AU_sample) | `places_insights___au___sample.places_sample` |\n| Sao Paulo, Brazil | [BR](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_BR_sample) | `places_insights___br___sample.places_sample` |\n| Toronto, Canada | [CA](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_CA_sample) | `places_insights___ca___sample.places_sample` |\n| Paris, France | [FR](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_FR_sample) | `places_insights___fr___sample.places_sample` |\n| Berlin, Germany | [DE](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_DE_sample) | `places_insights___de___sample.places_sample` |\n| London, Great Britian | [GB](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_GB_sample) | `places_insights___gb___sample.places_sample` |\n| Mumbai, India | [IN](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_IN_sample) | `places_insights___in___sample.places_sample` |\n| Jakarta, Indonesia | [ID](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_ID_sample) | `places_insights___id___sample.places_sample` |\n| Rome, Italy | [IT](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_IT_sample) | `places_insights___it___sample.places_sample` |\n| Tokyo, Japan | [JP](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_JP_sample) | `places_insights___jp___sample.places_sample` |\n| Mexico City, Mexico | [MX](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_MX_sample) | `places_insights___mx___sample.places_sample` |\n| Madrid, Spain | [ES](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_ES_sample) | `places_insights___es___sample.places_sample` |\n| Zurich, Switzerland | [CH](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_CH_sample) | `places_insights___ch___sample.places_sample` |\n| New York City, United States | [US](https://console.cloud.google.com/bigquery;cameo=analyticshub;pageName=exchange-detail;pageResource=maps-platform-analytics-hub.us.places_insights_US_sample) | `places_insights___us___sample.places_sample` `places_insights___us___sample.brands` |"]]