Wymagane. usługę w UA, w której przypadku chcesz wyszukać połączoną usługę w GA4. Pamiętaj, że to żądanie używa wewnętrznego identyfikatora usługi, a nie identyfikatora śledzenia z formularza UA-XXXXXX-YY. Format: properties/{internal_web_property_id} Przykład: properties/1234
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Odpowiedź na wyszukiwanie usługi w GA4 połączonej z usługą w UA.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Zapis JSON
{"property": string}
Pola
property
string
usługę w GA4 połączoną z usługą w UA, Gdy nie ma połączonej usługi w GA4, zwracany jest pusty ciąg znaków. Format: properties/{property_id} Przykład: properties/1234
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-08-29 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"]]