快訊結構定義參考資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
匯出物件:Google 快訊訂閱項目
匯出物件代表:Google 搜尋查詢訂閱項目清單。
物件會以以下格式匯出:JSON
匯出的物件包含以下欄位:
* 上述欄位代表主要資料欄位,可用於剖析及擷取相關資料匯出內容。匯出作業產生的資料欄位會因服務和使用者動作而異,且部分服務或動作不會產生上述每個資料欄位。 |
資料欄位 * |
欄位定義 |
資料欄位類型 |
查詢 |
搜尋查詢。 |
字串 |
language |
代表查詢語言的 ISO 639-1 代碼。 |
字串 |
country |
代表查詢指定地理區域的 ISO 3166-1 代碼。 |
字串 |
apply_language_restrict |
是否應對該語言的搜尋結果套用嚴格篩選。 |
布林值 |
apply_region_restrict |
是否應對該國家/地區的搜尋結果套用嚴格篩選。 |
布林值 |
來源 |
用於擷取搜尋結果的來源。 |
字串清單。來源為「NEWS」或「WEB」。 |
quality |
允許的搜尋結果最低品質。品質可能取決於多項因素,包括話題性和重要性。 |
字串清單。品質為 LOW 或 HIGH。 |
delivery_method |
結果的傳送方式。 |
字串。放送方式為電子郵件或 RSS。 |
delivery_frequency |
決定搜尋結果的提交頻率。 |
字串。發布頻率可選「每小時」、「每日」或「每週」。只有在 delivery_method 設為 EMAIL 時,這個欄位才會出現。 |
delivery_time |
搜尋結果的傳送時間。只有在 delivery_method 設為 EMAIL 時才會填入。 |
特定時區的時間和星期。 |
email_address |
要傳送搜尋結果的電子郵件地址。 |
字串。只有在放送方式設為「EMAIL」時才會填入。 |
代表資源群組及其匯出的物件的資料表。
資源群組 * |
說明 |
匯出的物件 |
alerts.subscriptions |
這個資源群組包含 Google 快訊訂閱項目的資料,包括相關聯的篩選條件。 |
您的 Google 快訊訂閱項目 |
* 如要取得特定資源群組的 OAuth 範圍名稱,請在資源群組後方加上「https://www.googleapis.com/auth/dataportability」。舉例來說,「myactivity.search」資源群組的 OAuth 範圍名稱為「https://www.googleapis.com/auth/dataportability.myactivity.search」。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eGoogle Takeout allows you to export your Google Alerts subscriptions data in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eThe exported data includes details such as search query, language, region, source, quality, and delivery preferences.\u003c/p\u003e\n"],["\u003cp\u003eYou can control the scope of data exported using OAuth scopes, specifically \u003ccode\u003ehttps://www.googleapis.com/auth/dataportability.alerts.subscriptions\u003c/code\u003e for Alerts subscriptions.\u003c/p\u003e\n"],["\u003cp\u003eDelivery settings include method (email or RSS), frequency (hourly, daily, or weekly), and specific delivery time for email alerts.\u003c/p\u003e\n"],["\u003cp\u003eExported data fields provide information about search criteria, result filtering, and delivery preferences for your alerts.\u003c/p\u003e\n"]]],[],null,["# Alerts Schema Reference\n\n| Data Field \\* | Field Definition | Data Field Type |\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| query | The search query. | string |\n| language | The ISO 639-1 code that represents the query language. | string |\n| country | The ISO 3166-1 code that represents the geographical region that the query targets. | string |\n| apply_language_restrict | Whether strict filtering should be applied on the search results for the language. | boolean |\n| apply_region_restrict | Whether strict filtering should be applied on the search results for the country. | boolean |\n| source | Sources of search results that are used for retrieval. | List of strings. The source is either NEWS or WEB. |\n| quality | Minimum quality of the search results allowed. The quality may depend on multiple factors including topicality and prominence. | List of strings. The quality is either LOW or HIGH. |\n| delivery_method | How the results are delivered. | String. The delivery method is either EMAIL or RSS. |\n| delivery_frequency | Determines how frequently the search results are delivered. | String. The delivery frequency is either HOURLY, DAILY, or WEEKLY. This field is present only if the delivery_method is set to EMAIL. |\n| delivery_time | Time at which the search results are delivered. Populated only if the delivery_method is set to EMAIL. | Time of day and day of week in a specific timezone. |\n| email_address | The email address where the search results are sent. | String. Populated only if the delivery method is set to EMAIL. |\n[Exported Object: Your Google Alerts subscriptions\nExported Object represents: A list of subscriptions to Google Search queries.\nObject is exported in these formats: JSON\nExported object has the following fields:]\n\n| Resource Group \\* | Description | Exported Objects |\n|----------------------|------------------------------------------------------------------------------------------------------|----------------------------------|\n| alerts.subscriptions | This resource group contains data for Google Alerts subscriptions, including the associated filters. | Your Google Alerts subscriptions |\n[A table representing Resource Groups and the objects that are exported with it.]"]]