Method: properties.customDimensions.archive
เก็บมิติข้อมูลที่กำหนดเองในพร็อพเพอร์ตี้
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customDimensions/*}:archive
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อของ CustomDimension ที่จะเก็บถาวร รูปแบบตัวอย่าง: properties/1234/customDimensions/5678
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ JSON ว่าง
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 2025-01-14 UTC"],[[["Archives a specified CustomDimension associated with a Google Analytics 4 property."],["Requires an HTTP POST request to the designated endpoint with the CustomDimension's resource name."],["The request body should be empty, and upon successful completion, the response body will also be empty."],["Users need to have the `analytics.edit` OAuth scope to perform this action."]]],["Archives a CustomDimension on a property using a POST request to the specified URL. The URL includes a required path parameter, `name`, representing the CustomDimension to archive (e.g., `properties/1234/customDimensions/5678`). The request body must be empty. A successful operation returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The provided `try it` section is available for interactive testing.\n"]]