ข้อมูลอ้างอิงเกี่ยวกับสคีมากิจกรรมของฉัน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ออบเจ็กต์ที่ส่งออก: บันทึกกิจกรรม
ออบเจ็กต์ที่ส่งออกแสดงถึงบันทึกกิจกรรมของคุณที่มีการประทับเวลาในผลิตภัณฑ์ต่างๆ ของ Google
ระบบจะส่งออกออบเจ็กต์ในรูปแบบ HTML JSON
ออบเจ็กต์ที่ส่งออกมีช่องต่อไปนี้
* ฟิลด์ก่อนหน้าแสดงฟิลด์ข้อมูลคีย์เพื่อวัตถุประสงค์ในการแยกวิเคราะห์และส่งผ่านข้อมูลการส่งออกที่เกี่ยวข้อง ช่องข้อมูลที่สร้างขึ้นในการส่งออกจะแตกต่างกันไปตามบริการและการดําเนินการของผู้ใช้ และบริการหรือการดําเนินการบางอย่างไม่ได้สร้างช่องข้อมูลแต่ละช่องตามที่อธิบายไว้
|
ฟิลด์ข้อมูล * |
คําจํากัดความของฟิลด์ |
ประเภทฟิลด์ข้อมูล |
ส่วนหัว |
ชื่อการ์ดที่มักจะเป็นชื่อแอป ชื่อโดเมน หรือชื่อผลิตภัณฑ์
ตัวอย่าง YouTube:
YouTube Search: ชื่อโดเมน โฆษณา: โฆษณา ศูนย์โฆษณาของฉัน: ศูนย์โฆษณาของฉัน Maps:
Maps Google Play: Google Play
|
สตริง |
title |
สรุประดับสูงของกิจกรรมของผู้ใช้
ตัวอย่าง YouTube: ดู...
ติดตาม... ไปที่ ... Search: ค้นหา ..., ดู ..., ไปที่ ... โฆษณา:
ไปที่ ดู ศูนย์โฆษณาของฉัน: เลือกที่จะดูโฆษณาจาก เลือกที่จะดูโฆษณาจากน้อยลง บล็อกโฆษณาจาก กดชอบโฆษณาจาก Maps: ดูพื้นที่รอบๆ... เส้นทางไป..., ที่อยู่ที่เฉพาะเจาะจง, ค้นหา... Google Play: เข้าชม... ค้นหาแล้ว...
ติดตั้งแล้ว... อ่าน...
|
สตริง |
titleUrl |
URL ที่ใช้ในชื่อ
ตัวอย่าง YouTube: URL ของ YouTube Search:
URL ที่ค้นหา เข้าชม ดู โฆษณา: URL ของหน้า Landing Page, ชื่อธุรกิจ ศูนย์โฆษณาของฉัน:
หัวข้อ Maps: URL ที่มีพิกัดตำแหน่ง Google Play: URL ของเอนทิตีใน Play Store
|
สตริง |
คำบรรยาย |
กิจกรรมของผู้ใช้โดยละเอียดที่แสดงใต้ชื่อ
ตัวอย่าง YouTube
ชื่อและ URL ของข้อมูลช่อง ...
|
สตริง |
คำอธิบาย |
ข้อมูลเพิ่มเติมที่ช่วยอธิบายกิจกรรมที่ผู้ใช้ทํา |
สตริง |
เวลา |
เวลาและวันที่ที่ผู้ใช้ทํากิจกรรม
ตัวอย่าง Maps:
2023-08-23T03:49:28.734Z
|
สตริง |
ผลิตภัณฑ์ |
ผลิตภัณฑ์ที่ข้อมูลนี้อยู่
ตัวอย่าง YouTube: YouTube Search:
Search โฆษณา: Google Ads ศูนย์โฆษณาของฉัน: โฆษณา Maps: Maps Google Play:
Google Play Store/เกม/หนังสือ
|
list |
รายละเอียด |
ใช้เพื่อแสดงข้อมูลเกี่ยวกับแหล่งที่มาของกิจกรรมของผู้ใช้ เช่น กิจกรรมของผู้ใช้เป็นผลมาจากการโต้ตอบกับโฆษณาหรือแอปหรือไม่
ตัวอย่าง YouTube:
"จาก Google Ads"
|
สตริง |
activityControls |
แสดงการตั้งค่าการเก็บรวบรวมข้อมูลของ Google (เช่น ประวัติตำแหน่งและกิจกรรมบนเว็บและแอป) ที่บันทึกข้อมูลในบัญชี Google ของผู้ใช้ซึ่งข้อมูลที่จะส่งออกเป็นส่วนหนึ่งของข้อมูลนั้น
ตัวอย่าง YouTube: ประวัติการดู YouTube, ประวัติการค้นหา YouTube Search: กิจกรรมบนเว็บและแอป Maps: กิจกรรมบนเว็บและแอป Google Play: กิจกรรมใน Google Play
|
สตริง |
locationInfos |
สถานที่ที่เชื่อมโยงกับกิจกรรมนี้ |
สตริง |
imageFile |
ชื่อไฟล์ในเครื่องของไฟล์แนบรูปภาพ |
สตริง |
audioFiles |
รายการชื่อไฟล์ในเครื่องสำหรับไฟล์แนบที่เป็นเสียง |
list |
attachedFiles |
รายการชื่อไฟล์ในเครื่องสำหรับไฟล์แนบ |
list |
ออบเจ็กต์ที่ส่งออก: ไฟล์แนบรูปภาพ
ออบเจ็กต์ที่ส่งออกแสดงถึงรูปภาพที่เกี่ยวข้องกับระเบียนกิจกรรมของคุณ
ระบบจะส่งออกออบเจ็กต์ในรูปแบบ JPEG, PNG, WebP
* ฟิลด์ก่อนหน้าแสดงฟิลด์ข้อมูลคีย์เพื่อวัตถุประสงค์ในการแยกวิเคราะห์และส่งผ่านข้อมูลการส่งออกที่เกี่ยวข้อง ช่องข้อมูลที่สร้างขึ้นในการส่งออกจะแตกต่างกันไปตามบริการและการดําเนินการของผู้ใช้ และบริการหรือการดําเนินการบางอย่างไม่ได้สร้างช่องข้อมูลแต่ละช่องตามที่อธิบายไว้
|
|
|
|
ออบเจ็กต์ที่ส่งออก: ไฟล์แนบที่เป็นเสียง
ออบเจ็กต์ที่ส่งออกแสดงถึงไฟล์เสียงที่เกี่ยวข้องกับบันทึกกิจกรรมของคุณ
ระบบจะส่งออกออบเจ็กต์ในรูปแบบ MPEG
* ฟิลด์ก่อนหน้าแสดงฟิลด์ข้อมูลคีย์เพื่อวัตถุประสงค์ในการแยกวิเคราะห์และส่งผ่านข้อมูลการส่งออกที่เกี่ยวข้อง ช่องข้อมูลที่สร้างขึ้นในการส่งออกจะแตกต่างกันไปตามบริการและการดําเนินการของผู้ใช้ และบริการหรือการดําเนินการบางอย่างไม่ได้สร้างช่องข้อมูลแต่ละช่องตามที่อธิบายไว้
|
|
|
|
ออบเจ็กต์ที่ส่งออก: ไฟล์แนบ CSV
ออบเจ็กต์ที่ส่งออกแสดงถึงไฟล์ CSV ที่เกี่ยวข้องกับบันทึกกิจกรรมของคุณ
ระบบจะส่งออกออบเจ็กต์ในรูปแบบ CSV
* ฟิลด์ก่อนหน้าแสดงฟิลด์ข้อมูลคีย์เพื่อวัตถุประสงค์ในการแยกวิเคราะห์และส่งผ่านข้อมูลการส่งออกที่เกี่ยวข้อง ช่องข้อมูลที่สร้างขึ้นในการส่งออกจะแตกต่างกันไปตามบริการและการดําเนินการของผู้ใช้ และบริการหรือการดําเนินการบางอย่างไม่ได้สร้างช่องข้อมูลแต่ละช่องตามที่อธิบายไว้
|
|
|
|
ตารางที่แสดงกลุ่มทรัพยากรและออบเจ็กต์ที่ส่งออกด้วย
กลุ่มทรัพยากร * |
คำอธิบาย |
ออบเจ็กต์ที่ส่งออก |
คำอธิบายตัวกรองเวลา |
myactivity.youtube |
กลุ่มทรัพยากรนี้มีข้อมูลกิจกรรมใน YouTube ซึ่งรวมถึงการโต้ตอบกับโฆษณาบน YouTube
|
บันทึกกิจกรรม ไฟล์แนบรูปภาพ ไฟล์แนบเสียง ไฟล์แนบ CSV
|
การประทับเวลาที่ผู้ใช้ทํากิจกรรม |
myactivity.maps |
กลุ่มทรัพยากรนี้มีข้อมูลสําหรับกิจกรรมใน Maps ซึ่งรวมถึงการโต้ตอบกับโฆษณาใน Maps
|
บันทึกกิจกรรม ไฟล์แนบรูปภาพ ไฟล์แนบเสียง ไฟล์แนบ CSV
|
การประทับเวลาที่ผู้ใช้ทํากิจกรรม |
myactivity.search |
กลุ่มแหล่งข้อมูลนี้มีข้อมูลสําหรับกิจกรรมใน Google Search รวมถึงการโต้ตอบกับโฆษณาใน Google Search
|
บันทึกกิจกรรม ไฟล์แนบรูปภาพ ไฟล์แนบเสียง ไฟล์แนบ CSV
|
การประทับเวลาที่ผู้ใช้ทํากิจกรรม |
myactivity.myadcenter |
กลุ่มทรัพยากรนี้มีกิจกรรมในศูนย์โฆษณาของฉัน |
บันทึกกิจกรรม ไฟล์แนบรูปภาพ ไฟล์แนบเสียง ไฟล์แนบ CSV
|
การประทับเวลาที่ผู้ใช้ทํากิจกรรม |
myactivity.shopping |
กลุ่มแหล่งข้อมูลนี้มีข้อมูลสําหรับกิจกรรม Shopping รวมถึงการโต้ตอบกับโฆษณาใน Shopping
|
บันทึกกิจกรรม ไฟล์แนบรูปภาพ ไฟล์แนบเสียง ไฟล์แนบ CSV
|
การประทับเวลาที่ผู้ใช้ทํากิจกรรม |
myactivity.play |
กลุ่มทรัพยากรนี้มีข้อมูลสำหรับกิจกรรมใน Google Play ซึ่งรวมถึงการโต้ตอบกับโฆษณาใน Google Play
|
บันทึกกิจกรรม ไฟล์แนบรูปภาพ ไฟล์แนบเสียง ไฟล์แนบ CSV
|
การประทับเวลาที่ผู้ใช้ทํากิจกรรม |
* หากต้องการดูชื่อขอบเขต OAuth สําหรับกลุ่มทรัพยากรที่เฉพาะเจาะจง ให้เพิ่ม "https://www.googleapis.com/auth/dataportability" ต่อท้ายกลุ่มทรัพยากร ตัวอย่างเช่น ชื่อขอบเขต OAuth สําหรับกลุ่มทรัพยากร "myactivity.search" คือ "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.]"]]