ज़रूरी है. वह UA प्रॉपर्टी, जिसके लिए कनेक्ट की गई GA4 प्रॉपर्टी को खोजना है. ध्यान दें कि यह अनुरोध, इंटरनल प्रॉपर्टी आईडी का इस्तेमाल करता है, न कि UA-XXXXXX-YY फ़ॉर्म के ट्रैकिंग आईडी का. फ़ॉर्मैट: प्रॉपर्टी/{internal_web_property_id} उदाहरण: property/1234
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
UA प्रॉपर्टी से जुड़ी GA4 प्रॉपर्टी खोजने का जवाब.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना
{"property": string}
फ़ील्ड
property
string
UA प्रॉपर्टी से जुड़ी GA4 प्रॉपर्टी. कनेक्ट की गई कोई 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"]],["आखिरी बार 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"]]