سرور MCP را برای Google Analytics امتحان کنید. از
GitHub نصب کنید و برای جزئیات بیشتر به
اعلامیه مراجعه کنید.
Method: properties.customDimensions.archive
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک CustomDimension را در یک ویژگی بایگانی می کند.
درخواست HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customDimensions/*}:archive
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
| پارامترها |
|---|
name | string مورد نیاز. نام CustomDimension برای بایگانی. فرمت مثال: properties/1234/customDimensions/5678 |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.edit
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[],["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"]]