Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
REST Resource: accounts
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
संसाधन: खाता
Google Analytics खाते की जानकारी देने वाला संसाधन मैसेज.
JSON के काेड में दिखाना |
{
"name": string,
"createTime": string,
"updateTime": string,
"displayName": string,
"regionCode": string,
"deleted": boolean,
"gmpOrganization": string
} |
फ़ील्ड |
name |
string
सिर्फ़ आउटपुट के लिए. इस खाते के संसाधन का नाम. फ़ॉर्मैट: accounts/{account} उदाहरण: "accounts/100"
|
createTime |
string (Timestamp format)
सिर्फ़ आउटपुट के लिए. यह खाता कब बनाया गया था. आरएफ़सी 3339 का इस्तेमाल करता है. इसमें जनरेट किया गया आउटपुट हमेशा Z-नॉर्मलाइज़्ड होगा और इसमें 0, 3, 6 या 9 दशमलव अंक इस्तेमाल किए जाएंगे. "Z" के अलावा, अन्य ऑफ़सेट भी स्वीकार किए जाते हैं. उदाहरण: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" या "2014-10-02T15:01:23+05:30" .
|
updateTime |
string (Timestamp format)
सिर्फ़ आउटपुट के लिए. खाते के पेलोड फ़ील्ड को आखिरी बार अपडेट किए जाने का समय. आरएफ़सी 3339 का इस्तेमाल करता है. इसमें जनरेट किया गया आउटपुट हमेशा Z-नॉर्मलाइज़्ड होगा और इसमें 0, 3, 6 या 9 दशमलव अंक इस्तेमाल किए जाएंगे. "Z" के अलावा, अन्य ऑफ़सेट भी स्वीकार किए जाते हैं. उदाहरण: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" या "2014-10-02T15:01:23+05:30" .
|
displayName |
string
ज़रूरी है. इस खाते का ऐसा डिसप्ले नेम जिसे कोई भी व्यक्ति आसानी से पढ़ सकता है.
|
regionCode |
string
कारोबार करने का देश. यह यूनिकोड CLDR क्षेत्र कोड होना चाहिए.
|
deleted |
boolean
सिर्फ़ आउटपुट के लिए. इससे पता चलता है कि इस खाते को सॉफ़्ट-मिटाया गया है या नहीं. मिटाए गए खातों को सूची के नतीजों से तब तक बाहर रखा जाता है, जब तक इसके लिए खास तौर पर अनुरोध नहीं किया जाता.
|
gmpOrganization |
string
सिर्फ़ आउटपुट के लिए. Google Marketing Platform के संगठन के संसाधन का यूआरआई. यह सिर्फ़ तब सेट होता है, जब यह खाता किसी GMP संगठन से कनेक्ट हो. फ़ॉर्मैट: marketingplatformadmin.googleapis.com/organizations/{org_id}
|
तरीके |
|
टारगेट खाते को 'मिटाया गया' (जैसे: "ट्रैश में डाला गया") के तौर पर मार्क करता है और उसे वापस लाता है. |
|
किसी एक खाते के लिए लुकअप. |
|
किसी खाते पर डेटा शेयर करने की सेटिंग देखना. |
|
कॉलर के ऐक्सेस वाले सभी खाते दिखाता है. |
|
किसी खाते की जानकारी अपडेट करता है. |
|
खाता बनाने के लिए टिकट का अनुरोध करता है. |
|
डेटा ऐक्सेस रिकॉर्ड की कस्टमाइज़ की गई रिपोर्ट दिखाता है. |
|
फ़िल्टर के तय किए गए सेट के हिसाब से, किसी खाते या उसके चाइल्ड खाते में किए गए सभी बदलावों को खोजता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis documentation describes the Account resource in Google Analytics, including its JSON representation and available methods.\u003c/p\u003e\n"],["\u003cp\u003eThe Account resource represents a Google Analytics account with properties like name, creation time, display name, and region.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use various methods for account management, such as deleting, retrieving, updating, and listing accounts.\u003c/p\u003e\n"],["\u003cp\u003eAccount data sharing settings can be accessed and a provision ticket for account creation can be requested via dedicated methods.\u003c/p\u003e\n"],["\u003cp\u003eThe API also supports running custom data access reports and searching change history events related to an account.\u003c/p\u003e\n"]]],["The provided content describes Google Analytics account resources, their JSON structure, and available methods. Accounts contain fields like `name`, `createTime`, `updateTime`, `displayName`, `regionCode`, `deleted`, and `gmpOrganization`. Methods include: `delete` (soft-delete), `get`, `getDataSharingSettings`, `list` (all accessible accounts), `patch` (update), `provisionAccountTicket` (create), `runAccessReport` (data access), and `searchChangeHistoryEvents` (account changes).\n"],null,["# REST Resource: accounts\n\n- [Resource: Account](#Account)\n - [JSON representation](#Account.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Account\n-----------------\n\nA resource message representing a Google Analytics account.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"createTime\": string, \"updateTime\": string, \"displayName\": string, \"regionCode\": string, \"deleted\": boolean, \"gmpOrganization\": string } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this account. Format: accounts/{account} Example: \"accounts/100\" |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when this account was originally created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when account payload fields were last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `displayName` | `string` Required. Human-readable display name for this account. |\n| `regionCode` | `string` Country of business. Must be a Unicode CLDR region code. |\n| `deleted` | `boolean` Output only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested. |\n| `gmpOrganization` | `string` Output only. The URI for a Google Marketing Platform organization resource. Only set when this account is connected to a GMP organization. Format: marketingplatformadmin.googleapis.com/organizations/{org_id} |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/delete) | Marks target Account as soft-deleted (ie: \"trashed\") and returns it. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/get) | Lookup for a single Account. |\n| ### [getDataSharingSettings](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/getDataSharingSettings) | Get data sharing settings on an account. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/list) | Returns all accounts accessible by the caller. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/patch) | Updates an account. |\n| ### [provisionAccountTicket](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/provisionAccountTicket) | Requests a ticket for creating an account. |\n| ### [runAccessReport](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/runAccessReport) | Returns a customized report of data access records. |\n| ### [searchChangeHistoryEvents](/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents) | Searches through all changes to an account or its children given the specified set of filters. |"]]