Method: properties.customDimensions.archive
Lưu trữ một Phương diện tuỳ chỉnh trên một tài sản.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customDimensions/*}:archive
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Tên của Phương diện tuỳ chỉnh cần lưu trữ. Định dạng ví dụ: properties/1234/customDimensions/5678
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ là một đối tượng JSON trống.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/analytics.edit
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-01-14 UTC."],[[["Archives a specified CustomDimension associated with a Google Analytics 4 property."],["Requires an empty request body and uses the `POST` method with a specific URL structure including property and custom dimension IDs."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope for successful execution."],["Returns an empty response body upon successful archival of the CustomDimension."]]],["This document outlines how to archive a CustomDimension. The key action is sending a `POST` request to the specified URL: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customDimensions/*}:archive`. The `name` path parameter, a string, is required to identify the CustomDimension. The request body should be empty. A successful request returns an empty JSON object in the response body. The process requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]