Необходимый. Ресурс UA, для которого нужно найти подключенный ресурс GA4. Обратите внимание, что в этом запросе используется внутренний идентификатор ресурса, а не идентификатор отслеживания в форме UA-XXXXXX-YY. Формат: свойства/{internal_web_property_id} Пример: свойства/1234
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
Ответ на поиск ресурса GA4, связанного с ресурсом UA.
В случае успеха тело ответа содержит данные следующей структуры:
JSON-представление
{"property": string}
Поля
property
string
Ресурс GA4, связанный с ресурсом UA. Пустая строка возвращается, если нет подключенного ресурса GA4. Формат: свойства/{property_id} Пример: свойства/1234
[[["Прост для понимания","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-01-06 UTC."],[[["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"]]