Method: properties.customDimensions.create
طلب HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/customDimensions
يستخدم عنوان URL بنية تحويل الترميز gRPC.
معلمات المسار
المَعلمات |
parent |
string
مطلوبة. مثال على التنسيق: properties/1234
|
نص الطلب
يحتوي نص الطلب على مثال CustomDimension
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثيل CustomDimension
تم إنشاؤه حديثًا.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/analytics.edit
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-05-06 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-05-06 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Creates a new CustomDimension within a specified Google Analytics 4 property."],["Requires `https://www.googleapis.com/auth/analytics.edit` authorization scope for execution."],["Utilizes an HTTP POST request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/customDimensions`, accepting a CustomDimension object in the request body."],["If successful, the response returns the newly created CustomDimension object."]]],["A `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/customDimensions` creates a CustomDimension. The `parent` path parameter, formatted as `properties/1234`, is required. The request body must include a `CustomDimension` instance. Upon success, a newly created `CustomDimension` instance is returned in the response. This action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]