مطلوب. موقع UA الذي يمكن البحث فيه عن موقع "إحصاءات Google 4" المرتبط لاحظ أن هذا الطلب يستخدم رقم تعريف الموقع الداخلي، وليس رقم تعريف التتبع للنموذج UA-XXXXXX-YY. التنسيق: المواقع/{internal_web_property_id} مثال: المواقع/1234
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
ردّ للبحث عن موقع على "إحصاءات Google 4" مرتبط بموقع على Universal Analytics.
إذا كانت الاستجابة ناجحة، سيحتوي نص الاستجابة على بيانات بالبنية التالية:
تمثيل JSON
{"property": string}
الحقول
property
string
موقع "إحصاءات Google 4" المرتبط بموقع Universal Analytics يتمّ عرض سلسلة فارغة في حال عدم توفّر موقع مرتبط على "إحصاءات Google 4". التنسيق: المواقع/{property_id} مثال: المواقع/1234
تاريخ التعديل الأخير: 2024-08-29 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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"]],["تاريخ التعديل الأخير: 2024-08-29 (حسب التوقيت العالمي المتفَّق عليه)"],[[["This document details how to look up the connected Google Analytics 4 (GA4) property for a given Universal Analytics (UA) property using the Google Analytics Admin API."],["The API request requires the internal UA property ID and returns the connected GA4 property ID, if any."],["Authentication requires specific OAuth scopes for either read-only or edit access to Analytics data."],["It is important to note that this functionality cannot be used with GA4 properties and requires an empty request body."]]],["This document details how to find a connected GA4 property using its associated UA property. A `GET` request to `https://analyticsadmin.googleapis.com/v1alpha/properties:fetchConnectedGa4Property` is made. The request requires a `property` query parameter, which is the UA property's internal ID, formatted as `properties/{internal_web_property_id}`. The request body must be empty. The response body returns a JSON structure containing a `property` field with the GA4 property ID or an empty string if none exists. The request needs authorization with specific OAuth scopes.\n"]]