マイ アクティビティのスキーマ リファレンス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
エクスポートされたオブジェクト: アクティビティ レコード
エクスポートされたオブジェクトは、さまざまな Google サービスでのアクティビティのタイムスタンプ付きレコードを表します。
オブジェクトは、HTML JSON 形式でエクスポートされます。
エクスポートされたオブジェクトには、次のフィールドがあります。
* 上記のフィールドは、関連するデータ エクスポートを解析して取り込むための主要なデータフィールドを表します。エクスポートで生成されるデータフィールドは、サービスとユーザー アクションによって異なり、一部のサービスまたはアクションでは、説明されている各データフィールドが生成されません。 |
データ フィールド * |
フィールドの定義 |
データ フィールドのタイプ |
header |
カードのタイトル。通常はアプリ名、ドメイン名、プロダクト名です。
例: YouTube:
YouTube 検索: ドメイン名 広告: 広告 マイ アド センター: マイ アド センター マップ:
マップ Google Play: Google Play
|
文字列 |
title |
ユーザー アクティビティの概要。
例: YouTube: 視聴済み...
定期購入済み:...、...にアクセスした 検索: ... を検索した、... を表示した、...にアクセスした 広告: アクセスした、表示した マイ アド センター: 広告の表示を増やすように設定した、広告の表示を減らすように設定した、広告をブロックした、広告に高評価を付けた 地図: ... の周辺を表示した、目的地までのルート、特定の住所、検索内容 Google Play: アクセスしたコンテンツ、検索...
インストール済み...、読み取り...
|
文字列 |
titleUrl |
タイトルで使用されている URL。
例: YouTube: YouTube の URL 検索: 検索、アクセス、閲覧の URL 広告: ランディング サイトの URL、ビジネス名 マイ広告センター: トピック マップ: 位置情報の座標を含む URL Google Play: Play ストアのエンティティの URL
|
文字列 |
字幕 |
タイトルの下に表示される詳細なユーザー アクティビティ。
例: YouTube:
チャンネル情報の名前と URL、...
|
文字列 |
説明 |
ユーザーが行ったアクティビティを説明する追加情報。 |
文字列 |
時間 |
ユーザーがアクティビティを行った日時。
例: 地図:
2023-08-23T03:49:28.734Z
|
文字列 |
商品 |
このデータが含まれるサービス。
例: YouTube: YouTube 検索: 検索 広告: Google 広告 マイ アド センター: 広告 マップ: マップ Google Play: Google Play ストア/ゲーム/書籍
|
list |
詳細 |
ユーザー アクティビティの発生元に関する情報(ユーザー アクティビティが広告やアプリとのインタラクションの結果であるかどうかなど)を表示するために使用されます。
例: YouTube:「Google 広告経由」
|
文字列 |
activityControls |
エクスポートされたデータが含まれるユーザーの Google アカウントにデータを保存する Google データ収集設定(ロケーション履歴、ウェブとアプリのアクティビティなど)が表示されます。
例: YouTube: YouTube の再生履歴、YouTube の検索履歴 検索: ウェブとアプリのアクティビティ マップ: ウェブとアプリのアクティビティ Google Play: Google Play アクティビティ |
文字列 |
locationInfos |
このアクティビティに関連付けられている場所。 |
文字列 |
imageFile |
画像アタッチメントのローカル ファイル名。 |
文字列 |
audioFiles |
音声添付ファイルのローカル ファイル名のリスト。 |
list |
attachedFiles |
添付ファイルのローカル ファイル名のリスト。 |
list |
エクスポートされたオブジェクト: 画像アタッチメント
エクスポートされたオブジェクトは、アクティビティ レコードに関連する画像を表します。
オブジェクトは、JPEG、PNG、WEBP の形式でエクスポートされます。
* 上記のフィールドは、関連するデータ エクスポートを解析して取り込むための主要なデータフィールドを表します。エクスポートで生成されるデータフィールドは、サービスとユーザー アクションによって異なり、一部のサービスまたはアクションでは、説明されている各データフィールドが生成されません。 |
|
|
|
エクスポートされたオブジェクト: 音声アタッチメント
エクスポートされたオブジェクトは、アクティビティ レコードに関連する音声ファイルを表します。
オブジェクトは MPEG 形式でエクスポートされます。
* 上記のフィールドは、関連するデータ エクスポートを解析して取り込むための主要なデータフィールドを表します。エクスポートで生成されるデータフィールドは、サービスとユーザー アクションによって異なり、一部のサービスまたはアクションでは、説明されている各データフィールドが生成されません。 |
|
|
|
エクスポートされたオブジェクト: CSV アタッチメント
エクスポートされたオブジェクトは、アクティビティの記録に関連する CSV ファイルを表します。
オブジェクトは CSV 形式でエクスポートされます。
* 上記のフィールドは、関連するデータ エクスポートを解析して取り込むための主要なデータフィールドを表します。エクスポートで生成されるデータフィールドは、サービスとユーザー アクションによって異なり、一部のサービスまたはアクションでは、説明されている各データフィールドが生成されません。 |
|
|
|
リソース グループと、そのリソース グループとともにエクスポートされるオブジェクトを表すテーブル。
リソース グループ * |
説明 |
エクスポートされたオブジェクト |
時間フィルタの説明 |
myactivity.youtube |
このリソース グループには、YouTube での広告インタラクションなど、YouTube アクティビティのデータが含まれます。 |
アクティビティの記録 画像の添付 音声の添付 CSV の添付
|
ユーザーがアクティビティを行ったタイムスタンプ。 |
myactivity.maps |
このリソース グループには、マップでの広告インタラクションなど、マップのアクティビティに関するデータが含まれます。
|
アクティビティの記録 画像の添付 音声の添付 CSV の添付
|
ユーザーがアクティビティを行ったタイムスタンプ。 |
myactivity.search |
このリソース グループには、Google 検索での広告インタラクションなど、Google 検索アクティビティのデータが含まれます。 |
アクティビティの記録 画像の添付 音声の添付 CSV の添付
|
ユーザーがアクティビティを行ったタイムスタンプ。 |
myactivity.myadcenter |
このリソース グループには、マイ アド センターのアクティビティが含まれています。 |
アクティビティの記録 画像の添付 音声の添付 CSV の添付
|
ユーザーがアクティビティを行ったタイムスタンプ。 |
myactivity.shopping |
このリソース グループには、ショッピングでの広告インタラクションなど、ショッピング アクティビティのデータが含まれます。 |
アクティビティの記録 画像の添付 音声の添付 CSV の添付
|
ユーザーがアクティビティを行ったタイムスタンプ。 |
myactivity.play |
このリソース グループには、Google Play での広告インタラクションなど、Google Play アクティビティのデータが含まれます。 |
アクティビティの記録 画像の添付 音声の添付 CSV の添付
|
ユーザーがアクティビティを行ったタイムスタンプ。 |
* 特定のリソース グループの OAuth スコープ名を取得するには、リソース グループに「https://www.googleapis.com/auth/dataportability」を追加します。たとえば、「myactivity.search」リソース グループの OAuth スコープ名は「https://www.googleapis.com/auth/dataportability.myactivity.search」です。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eTakeout exports Google product activity data in HTML or JSON formats, such as YouTube watch history or Google Maps searches.\u003c/p\u003e\n"],["\u003cp\u003eThis data includes activity records with details like timestamps, descriptions, and related images or audio.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access their activity records categorized by product, such as YouTube, Maps, Search, My Ad Center, Shopping and Play.\u003c/p\u003e\n"],["\u003cp\u003eExported data may also include CSV attachments related to user activity.\u003c/p\u003e\n"],["\u003cp\u003eThe data is organized into resource groups accessible through OAuth scopes, offering granular control over data sharing.\u003c/p\u003e\n"]]],[],null,["# My Activity Schema Reference\n\n| Data Field \\* | Field Definition | Data Field Type |\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|\n| header | The card title that will typically be either an app name, domain name, or product name. Examples: YouTube: YouTube Search: Domain name Ads: Ads My Ad Center: My Ad Center Maps: Maps Google Play: Google Play | string |\n| title | High level summary of the user activity. Examples: YouTube: Watched..., Subscribed to..., Visited ... Search: Searched for ..., Viewed ..., Visited ... Ads: Visited, Viewed My Ad Center: Chose to see more ads from, Chose to see fewer ads from, Blocked an ad from, Liked an add from Maps: Viewed area around..., Directions to..., a specific address, Searched for... Google Play: Visited..., Searched..., Installed..., Read... | string |\n| titleUrl | Url used in the title. Examples: YouTube: youtube url Search: Searched, Visited, Viewed url Ads: landing site url, business name My Ad Center: topic Maps: url with location coordinates Google Play: Play Store entities url | string |\n| subtitles | Detailed user activity shown underneath the title. Examples: YouTube: Channel information name and url, ... | string |\n| description | Extra information that helps explain the activity taken by the user. | string |\n| time | Time and date the user did the activity. Examples: Maps: 2023-08-23T03:49:28.734Z | string |\n| products | The Products that this data is a part of. Examples: YouTube: Youtube Search: Search Ads: Google Ads My Ad Center: Ads Maps: Maps Google Play: Google Play Store/Games/Books | list |\n| details | Used to display information about where the user activity comes from, such as if the user activity was the result of the user interacting with an ad or app. Examples: YouTube: \"From Google Ads\" | string |\n| activityControls | Shows the Google data collection settings (like Location History and Web \\& App Activity) that save data in a user's Google account that the exported data is part of. Examples: YouTube: YouTube watch history, YouTube search history Search: Web App Activity Maps: Web App Activity Google Play: Google Play activities | string |\n| locationInfos | The location(s) associated with this activity. | string |\n| imageFile | The local file name for the image attachment. | string |\n| audioFiles | The list of local file names for the audio attachments. | list |\n| attachedFiles | The list of local file names for the attached files. | list |\n[Exported Object: Activity records\nExported Object represents: Timestamped records of your activity across different\nGoogle Products\nObject is exported in these formats: HTML JSON\nExported object has the following fields:]\n\n| | | |\n|---|---|---|\n[Exported Object: Image attachments\nExported Object represents: Images related to your activity records\nObject is exported in these formats: JPEG PNG WEBP]\n\n| | | |\n|---|---|---|\n[Exported Object: Audio attachments\nExported Object represents: Audio files related to your activity records\nObject is exported in these formats: MPEG]\n\n| | | |\n|---|---|---|\n[Exported Object: CSV attachments\nExported Object represents: CSV files related to your activity records\nObject is exported in these formats: CSV]\n\n| Resource Group \\* | Description | Exported Objects | Time Filter Description |\n|-----------------------|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|-----------------------------------------------|\n| myactivity.youtube | This resource group contains data for YouTube activity, including ad interactions on YouTube. | Activity records Image attachments Audio attachments CSV attachments | The timestamp when the user did the activity. |\n| myactivity.maps | This resource group contains data for Maps activity, including ad interactions on Maps. | Activity records Image attachments Audio attachments CSV attachments | The timestamp when the user did the activity. |\n| myactivity.search | This resource group contains data for Google Search activity, including ad interactions on Google Search. | Activity records Image attachments Audio attachments CSV attachments | The timestamp when the user did the activity. |\n| myactivity.myadcenter | This resource group contains My Ad Center activity. | Activity records Image attachments Audio attachments CSV attachments | The timestamp when the user did the activity. |\n| myactivity.shopping | This resource group contains data for Shopping activity, including ad interactions on Shopping. | Activity records Image attachments Audio attachments CSV attachments | The timestamp when the user did the activity. |\n| myactivity.play | This resource group contains data for Google Play activity, including ad interactions on Google Play. | Activity records Image attachments Audio attachments CSV attachments | The timestamp when the user did the activity. |\n[A table representing Resource Groups and the objects that are exported with it.]"]]