Method: properties.customDimensions.get
ค้นหา CustomDimension เดียว
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customDimensions/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อของ CustomDimension ที่จะรับ รูปแบบตัวอย่าง: property/1234/customdimension/5678
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ CustomDimension
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-05-06 UTC
[null,null,["อัปเดตล่าสุด 2024-05-06 UTC"],[[["This document details how to look up a single CustomDimension using the Google Analytics Admin API."],["It requires a `GET` request to a specific URL with the CustomDimension's name as a path parameter."],["The request body should be empty, and a successful response returns a CustomDimension object."],["Authorization is required with either read-only or edit access scopes for Google Analytics."]]],[]]