مطلوبة. رقم التعريف المطلوب استخدامه للمقياس المحسوب الذي سيصبح المكوّن النهائي في اسم مورد المقياس المحسوب.
يجب أن تتألف هذه القيمة من حرف واحد إلى 80 حرفًا، ويجب أن تتألف الأحرف الصالحة من /[a-zA-Z0-9_]/، ولا يُسمح بأي مسافات. يجب أن تكون قيمة accountMetricId فريدة بين جميع المقاييس المحسوبة ضمن أحد المواقع. يتم استخدام ComputeMetricId عند الإشارة إلى هذا المقياس المحسوب من واجهات برمجة التطبيقات الخارجية، مثل "calcMetric:{calculatedMetricId}".
تاريخ التعديل الأخير: 2025-04-02 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-04-02 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Creates a new CalculatedMetric within a specified Google Analytics 4 property using an HTTP POST request."],["Requires providing a unique `calculatedMetricId` and the `property_id` as path and query parameters, respectively."],["The request body should contain the CalculatedMetric definition, and a successful response will return the newly created CalculatedMetric instance."],["Users need to have the `analytics.edit` OAuth scope to authorize this operation."]]],["This documentation details how to create a CalculatedMetric via a `POST` request to the specified URL, including required components such as path and query parameters, the request body and the response body. The path parameter `parent` defines the property ID. The query parameter `calculatedMetricId` is a unique identifier. The request and response bodies are `CalculatedMetric` instances. This action requires authorization scope: `https://www.googleapis.com/auth/analytics.edit`.\n"]]