สรุป: เอกสารนี้ให้ภาพรวมระดับสูงของ Google Analytics Admin API เวอร์ชัน 1.0
บทนำ
Admin API ของ Google Analytics ช่วยให้เข้าถึงข้อมูลการกําหนดค่าของ Google Analytics แบบเป็นโปรแกรมได้ และเข้ากันได้กับพร็อพเพอร์ตี้ Google Analytics เท่านั้น ดูข้อมูลเพิ่มเติมเกี่ยวกับพร็อพเพอร์ตี้ Google Analytics
คุณสามารถใช้ Google Analytics Admin API เพื่อทำสิ่งต่อไปนี้ได้
- จัดสรรบัญชีใหม่
- จัดการบัญชี
- จัดการการตั้งค่าการแชร์ข้อมูล
- แสดงรายการสรุปบัญชี
- ค้นหาเหตุการณ์ในประวัติการเปลี่ยนแปลง
- จัดการพร็อพเพอร์ตี้
- จัดการพร็อพเพอร์ตี้ย่อย
- รับทราบการเก็บรวบรวมข้อมูลผู้ใช้
- จัดการการตั้งค่าการเก็บรักษาข้อมูลสำหรับพร็อพเพอร์ตี้
- จัดการการตั้งค่า Google Signals สําหรับพร็อพเพอร์ตี้ (อัลฟ่า)
- จัดการสตรีม
- จัดการ Measurement Protocol Secret
- จัดการสคีมามูลค่า Conversion ของ SKAdNetwork (อัลฟ่า)
- สร้างข้อมูลโค้ดแท็ก Google สําหรับสตรีมข้อมูลเว็บ (อัลฟ่า)
- จัดการเหตุการณ์สําคัญ
- จัดการเหตุการณ์ Conversion (เลิกใช้งานแล้ว)
- จัดการกฎการสร้างเหตุการณ์ (อัลฟ่า)
- จัดการกฎการแก้ไขเหตุการณ์ (อัลฟ่า)
- จัดการมิติข้อมูลที่กำหนดเอง
- จัดการเมตริกที่กําหนดเอง
- จัดการลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับโปรเจ็กต์ Firebase
- จัดการลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับบัญชี Google Ads
- จัดการข้อเสนอสําหรับลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับผู้ลงโฆษณา Display & Video 360 (อัลฟ่า)
- จัดการลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับผู้ลงโฆษณา Display & Video 360 (อัลฟ่า)
- จัดการลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับ Search Ads 360 (อัลฟ่า)
- จัดการลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับโปรเจ็กต์ BigQuery (อัลฟ่า)
- จัดการสิทธิ์ของผู้ใช้สําหรับลําดับชั้นบัญชีและพร็อพเพอร์ตี้ Google Analytics (อัลฟ่า)
- สร้างรายงานการเข้าถึงข้อมูล
- จัดการกลุ่มเป้าหมาย (อัลฟ่า)
- จัดการชุดข้อมูลที่ขยาย (อัลฟ่า)
- จัดการการตั้งค่าการไม่ใช้กระบวนการตั้งค่า Google Analytics อัตโนมัติ (อัลฟ่า)
วิธีที่ใช้ได้
วิธีการที่ใช้ได้มีดังนี้
การจัดสรรบัญชี
เมธอดนี้จะแสดงผลช่อง accountTicketId ที่ควรรวมอยู่ใน URL ข้อกำหนดในการให้บริการ (TOS)
https://analytics.google.com/analytics/web/?provisioningSignup=false#/termsofservice/ACCOUNT_TICKET_ID
เมื่อผู้ใช้ไปที่ URL ของข้อกําหนดในการให้บริการและยอมรับข้อกําหนดในการให้บริการแล้ว การสร้างบัญชี Google Analytics จะเสร็จสมบูรณ์ ดูตัวอย่างการจัดสรรบัญชี
การจัดการบัญชี
การจัดการการตั้งค่าการแชร์ข้อมูล
แสดงรายการสรุปบัญชี
ค้นหาเหตุการณ์ในประวัติการเปลี่ยนแปลง
การจัดการที่พัก
การจัดการพร็อพเพอร์ตี้ย่อย (อัลฟ่า)
การรับทราบเรื่องการเก็บรวบรวมข้อมูลผู้ใช้
การจัดการการตั้งค่าการเก็บรักษาข้อมูล
การจัดการการตั้งค่า Google Signals (อัลฟ่า)
การจัดการสตรีมข้อมูล
properties.dataStreams.createproperties.dataStreams.getproperties.dataStreams.listproperties.dataStreams.patchproperties.dataStreams.delete
การจัดการข้อมูลลับของ Measurement Protocol
properties.dataStreams.measurementProtocolSecrets.createproperties.dataStreams.measurementProtocolSecrets.getproperties.dataStreams.measurementProtocolSecrets.patchproperties.dataStreams.measurementProtocolSecrets.listproperties.dataStreams.measurementProtocolSecrets.delete
การจัดการสคีมามูลค่า Conversion ของ SKAdNetwork (อัลฟ่า)
properties.dataStreams.sKAdNetworkConversionValueSchema.getproperties.dataStreams.sKAdNetworkConversionValueSchema.createproperties.dataStreams.sKAdNetworkConversionValueSchema.deleteproperties.dataStreams.sKAdNetworkConversionValueSchema.updateproperties.dataStreams.sKAdNetworkConversionValueSchema.list
การจัดการเหตุการณ์สำคัญ
properties.keyEvents.createproperties.keyEvents.getproperties.keyEvents.listproperties.keyEvents.deleteproperties.keyEvents.patch
การจัดการเหตุการณ์ Conversion
properties.conversionEvents.createproperties.conversionEvents.getproperties.conversionEvents.listproperties.conversionEvents.deleteproperties.conversionEvents.patch
การจัดการกฎการสร้างเหตุการณ์ (อัลฟ่า)
properties.dataStreams.eventCreateRules.createproperties.dataStreams.eventCreateRules.getproperties.dataStreams.eventCreateRules.listproperties.dataStreams.eventCreateRules.deleteproperties.dataStreams.eventCreateRules.patch
การจัดการกฎการแก้ไขเหตุการณ์ (อัลฟ่า)
properties.dataStreams.eventEditRules.createproperties.dataStreams.eventEditRules.getproperties.dataStreams.eventEditRules.listproperties.dataStreams.eventEditRules.deleteproperties.dataStreams.eventEditRules.patchproperties.dataStreams.eventEditRules.reorder
การจัดการมิติข้อมูลที่กำหนดเอง
properties.customDimensions.createproperties.customDimensions.getproperties.customDimensions.listproperties.customDimensions.patchproperties.customDimensions.archive
การจัดการเมตริกที่กําหนดเอง
properties.customMetrics.createproperties.customMetrics.getproperties.customMetrics.listproperties.customMetrics.patchproperties.customMetrics.archive
การลิงก์โปรเจ็กต์ Firebase
การลิงก์บัญชี Google Ads
properties.googleAdsLinks.createproperties.googleAdsLinks.listproperties.googleAdsLinks.patchproperties.googleAdsLinks.delete
การสร้างแท็ก Google (อัลฟ่า)
โปรเจ็กต์ลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับผู้ลงโฆษณา Display & Video 360 (อัลฟ่า)
properties.displayVideo360AdvertiserLinkProposals.createproperties.displayVideo360AdvertiserLinkProposals.approveproperties.displayVideo360AdvertiserLinkProposals.cancelproperties.displayVideo360AdvertiserLinkProposals.listproperties.displayVideo360AdvertiserLinkProposals.getproperties.displayVideo360AdvertiserLinkProposals.delete
การลิงก์บัญชีผู้ลงโฆษณา Display & Video 360 (อัลฟ่า)
properties.displayVideo360AdvertiserLinks.createproperties.displayVideo360AdvertiserLinks.getproperties.displayVideo360AdvertiserLinks.listproperties.displayVideo360AdvertiserLinks.deleteproperties.displayVideo360AdvertiserLinks.patch
การลิงก์บัญชี Search Ads 360 (อัลฟ่า)
properties.searchAds360Links.createproperties.searchAds360Links.deleteproperties.searchAds360Links.patchproperties.searchAds360Links.listproperties.searchAds360Links.get
ดูข้อมูลเพิ่มเติมเกี่ยวกับการตั้งค่าการผสานรวม Analytics Search Ads 360 สําหรับพร็อพเพอร์ตี้ Google Analytics
การลิงก์บัญชี BigQuery (อัลฟ่า)
properties.bigQueryLinks.createproperties.bigQueryLinks.deleteproperties.bigQueryLinks.getproperties.bigQueryLinks.listproperties.bigQueryLinks.patch
ดูข้อมูลเพิ่มเติมเกี่ยวกับการตั้งค่า BigQuery Export สำหรับพร็อพเพอร์ตี้ Google Analytics
การจัดการสิทธิ์ของผู้ใช้ (อัลฟ่า)
accounts.accessBindings.createaccounts.accessBindings.deleteaccounts.accessBindings.patchaccounts.accessBindings.listaccounts.accessBindings.getaccounts.accessBindings.batchCreateaccounts.accessBindings.batchDeleteaccounts.accessBindings.batchUpdateaccounts.accessBindings.batchGetproperties.accessBindings.createproperties.accessBindings.deleteproperties.accessBindings.patchproperties.accessBindings.listproperties.accessBindings.getproperties.accessBindings.batchCreateproperties.accessBindings.batchDeleteproperties.accessBindings.batchUpdateproperties.accessBindings.batchGet
รายงานการเข้าถึงข้อมูล
ดูข้อมูลเพิ่มเติมเกี่ยวกับฟีเจอร์นี้ได้ในคู่มือรายงานการเข้าถึงข้อมูล
การจัดการกลุ่มเป้าหมาย (อัลฟ่า)
properties.audiences.createproperties.audiences.archiveproperties.audiences.patchproperties.audiences.listproperties.audiences.get
ดูข้อมูลเพิ่มเติมเกี่ยวกับกลุ่มเป้าหมายใน Google Analytics
การจัดการชุดข้อมูลแบบขยาย (อัลฟ่า)
properties.expandedDataSets.createproperties.expandedDataSets.deleteproperties.expandedDataSets.patchproperties.expandedDataSets.listproperties.expandedDataSets.get
ดูข้อมูลเพิ่มเติมเกี่ยวกับชุดข้อมูลแบบขยายใน Google Analytics 360
เลือกไม่ใช้กระบวนการตั้งค่า Google Analytics อัตโนมัติ (อัลฟ่า)
ดูข้อมูลเพิ่มเติมเกี่ยวกับการจัดการสถานะการไม่ใช้สำหรับกระบวนการตั้งค่า Google Analytics อัตโนมัติสําหรับพร็อพเพอร์ตี้ UA