Google Analytics-এর জন্য MCP সার্ভার ব্যবহার করে দেখুন।
GitHub থেকে ইনস্টল করুন এবং আরও বিশদ বিবরণের জন্য
ঘোষণাটি দেখুন।
Method: accounts.getDataSharingSettings
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি অ্যাকাউন্টে ডেটা শেয়ারিং সেটিংস পান। ডেটা ভাগ করে নেওয়ার সেটিংস একক।
HTTP অনুরোধ
GET https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*/dataSharingSettings}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
name | string প্রয়োজন। সেটিংসের নাম দেখুন। বিন্যাস: accounts/{account}/dataSharingSettings উদাহরণ: accounts/1000/dataSharingSettings |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
একটি Google Analytics অ্যাকাউন্টের ডেটা শেয়ারিং সেটিংস প্রতিনিধিত্বকারী একটি সংস্থান বার্তা৷
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"name": string,
"sharingWithGoogleSupportEnabled": boolean,
"sharingWithGoogleAssignedSalesEnabled": boolean,
"sharingWithGoogleAnySalesEnabled": boolean,
"sharingWithGoogleProductsEnabled": boolean,
"sharingWithOthersEnabled": boolean
} |
ক্ষেত্র |
---|
name | string শুধুমাত্র আউটপুট। সম্পদের নাম। বিন্যাস: accounts/{account}/dataSharingSettings উদাহরণ: "accounts/1000/dataSharingSettings" |
sharingWithGoogleSupportEnabled | boolean Google প্রযুক্তিগত সহায়তা প্রতিনিধিদের আপনার Google Analytics ডেটা এবং অ্যাকাউন্ট অ্যাক্সেস করার অনুমতি দেয় যখন প্রয়োজন হয় পরিষেবা প্রদান করতে এবং প্রযুক্তিগত সমস্যার সমাধান খুঁজে বের করতে। এই ক্ষেত্রটি Google Analytics অ্যাডমিন UI-তে "প্রযুক্তিগত সহায়তা" ক্ষেত্রের মানচিত্র করে৷ |
sharingWithGoogleAssignedSalesEnabled | boolean অ্যাকাউন্ট ব্যবহার এবং কনফিগারেশন ডেটা, পণ্য ব্যয় এবং আপনার Google Analytics অ্যাকাউন্টের সাথে যুক্ত ব্যবহারকারীদের সহ আপনার Google Analytics অ্যাকাউন্ট ডেটাতে Google অ্যাক্সেসের অনুমতি দেয়, যাতে Google আপনাকে Google Analytics এবং ব্যবসার জন্য অন্যান্য Google পণ্য জুড়ে অন্তর্দৃষ্টি, অফার, সুপারিশ এবং অপ্টিমাইজেশান টিপ্স প্রদান করে Google পণ্যগুলির সর্বাধিক ব্যবহার করতে সহায়তা করতে পারে। এই ক্ষেত্রটি Google Analytics অ্যাডমিন UI-তে "আপনার ব্যবসার জন্য সুপারিশ" ক্ষেত্রের মানচিত্র। |
sharingWithGoogleAnySalesEnabled (deprecated) | boolean অবচয়। এই ক্ষেত্রটি আর ব্যবহার করা হয় না এবং সর্বদা মিথ্যা ফেরত দেয়। |
sharingWithGoogleProductsEnabled | boolean Google-কে অন্যান্য Google পণ্য বা পরিষেবাগুলি উন্নত করতে ডেটা ব্যবহার করার অনুমতি দেয়৷ এটি Google Analytics অ্যাডমিন UI-তে "Google পণ্য ও পরিষেবা" ক্ষেত্রের মানচিত্রগুলিকে ক্ষেত্রগুলি তৈরি করে৷ |
sharingWithOthersEnabled | boolean ভবিষ্যদ্বাণী, মডেল করা ডেটা, এবং বেঞ্চমার্কিংয়ের মতো বৈশিষ্ট্যগুলি সক্ষম করুন যা আপনি যখন সমষ্টিগত পরিমাপ ডেটা প্রদান করেন তখন আপনাকে আরও সমৃদ্ধ ব্যবসার অন্তর্দৃষ্টি প্রদান করতে পারে। আপনি যে ডেটা শেয়ার করেন (যে সম্পত্তি থেকে এটি শেয়ার করা হয়েছে সেই তথ্য সহ) ব্যবসার অন্তর্দৃষ্টি তৈরি করতে ব্যবহার করার আগে একত্রিত এবং ডি-শনাক্ত করা হয়। এই ক্ষেত্রটি Google Analytics অ্যাডমিন UI-তে "মডেলিং অবদান এবং ব্যবসার অন্তর্দৃষ্টি" ক্ষেত্রের মানচিত্র। |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগগুলির মধ্যে একটি প্রয়োজন:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics.edit
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eGet data sharing settings for a Google Analytics account using an HTTP GET request.\u003c/p\u003e\n"],["\u003cp\u003eThis request requires the account ID as a path parameter and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a JSON representation of the account's data sharing settings, including various sharing options with Google and others.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary using specific OAuth scopes related to Analytics read or edit permissions.\u003c/p\u003e\n"]]],["This document details how to retrieve data sharing settings for a Google Analytics account. A `GET` request is sent to `https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*/dataSharingSettings}`, where `name` specifies the account. The request body must be empty. The response contains a JSON object with fields such as `name`, and boolean values indicating sharing settings (e.g., `sharingWithGoogleSupportEnabled`). Access requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"],null,["# Method: accounts.getDataSharingSettings\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DataSharingSettings.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGet data sharing settings on an account. Data sharing settings are singletons.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*/dataSharingSettings}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: `accounts/1000/dataSharingSettings` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA resource message representing data sharing settings of a Google Analytics account.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"sharingWithGoogleSupportEnabled\": boolean, \"sharingWithGoogleAssignedSalesEnabled\": boolean, \"sharingWithGoogleAnySalesEnabled\": boolean, \"sharingWithGoogleProductsEnabled\": boolean, \"sharingWithOthersEnabled\": boolean } ``` |\n\n| Fields ||\n|-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: \"accounts/1000/dataSharingSettings\" |\n| `sharingWithGoogleSupportEnabled` | `boolean` Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues. This field maps to the \"Technical support\" field in the Google Analytics Admin UI. |\n| `sharingWithGoogleAssignedSalesEnabled` | `boolean` Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business. This field maps to the \"Recommendations for your business\" field in the Google Analytics Admin UI. |\n| `sharingWithGoogleAnySalesEnabled` **(deprecated)** | `boolean` | This item is deprecated! Deprecated. This field is no longer used and always returns false. |\n| `sharingWithGoogleProductsEnabled` | `boolean` Allows Google to use the data to improve other Google products or services. This fields maps to the \"Google products \\& services\" field in the Google Analytics Admin UI. |\n| `sharingWithOthersEnabled` | `boolean` Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data. The data you share (including information about the property from which it is shared) is aggregated and de-identified before being used to generate business insights. This field maps to the \"Modeling contributions \\& business insights\" field in the Google Analytics Admin UI. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics.edit`"]]