Dengan mempertimbangkan properti UA tertentu, mencari properti GA4 yang terhubung dengannya. Catatan: properti ini tidak dapat digunakan dengan properti GA4.
Permintaan HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/properties:fetchConnectedGa4Property
Wajib diisi. Properti UA yang akan mencari properti GA4 yang terhubung. Perhatikan bahwa permintaan ini menggunakan ID properti internal, bukan ID pelacakan formulir UA-XXXXXX-YY. Format: properties/{internal_web_property_id} Contoh: properties/1234
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Respons untuk mencari properti GA4 yang terhubung ke properti UA.
Jika berhasil, isi respons memuat data dengan struktur berikut:
Representasi JSON
{"property": string}
Kolom
property
string
Properti GA4 yang terhubung ke properti UA. String kosong ditampilkan saat tidak ada properti GA4 yang terhubung. Format: properties/{property_id} Contoh: properties/1234
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]],[]]