Google Analytics-এর জন্য MCP সার্ভার ব্যবহার করে দেখুন।
GitHub থেকে ইনস্টল করুন এবং আরও বিশদ বিবরণের জন্য
ঘোষণাটি দেখুন।
Method: properties.fetchAutomatedGa4ConfigurationOptOut
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি UA সম্পত্তির জন্য স্বয়ংক্রিয় GA4 সেটআপ প্রক্রিয়ার জন্য অপ্ট-আউট স্থিতি নিয়ে আসে। দ্রষ্টব্য: GA4 সম্পত্তিতে এর কোনো প্রভাব নেই।
HTTP অনুরোধ
POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"property": string
} |
ক্ষেত্র |
---|
property | string প্রয়োজন। অপ্ট আউট স্ট্যাটাস পেতে UA সম্পত্তি। মনে রাখবেন এই অনুরোধটি অভ্যন্তরীণ সম্পত্তি আইডি ব্যবহার করে, UA-XXXXXX-YY ফর্মের ট্র্যাকিং আইডি নয়। বিন্যাস: বৈশিষ্ট্য/{internalWebPropertyId} উদাহরণ: বৈশিষ্ট্য/1234 |
প্রতিক্রিয়া শরীর
স্বয়ংক্রিয় GA4 সেটআপ প্রক্রিয়ার জন্য অপ্ট-আউট স্ট্যাটাস আনার জন্য প্রতিক্রিয়া বার্তা।
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"optOut": boolean
} |
ক্ষেত্র |
---|
optOut | boolean UA সম্পত্তির জন্য অপ্ট আউট স্থিতি। |
অনুমোদনের সুযোগ
নিম্নলিখিত 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\u003eFetches the automated GA4 setup opt-out status for a Universal Analytics (UA) property, having no impact on GA4 properties.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the internal property ID of the UA property, not the tracking ID.\u003c/p\u003e\n"],["\u003cp\u003eThe response indicates whether the automated GA4 setup is opted out for the specified UA property.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with either \u003ccode\u003eanalytics.readonly\u003c/code\u003e or \u003ccode\u003eanalytics.edit\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["The core action is to fetch the opt-out status of a UA property for the automated GA4 setup. This is done via a POST request to `https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut`. The request body requires a JSON object with the `property` field specifying the UA property's internal ID. The response body contains a JSON object with the `optOut` field indicating the property's opt-out status. Two authorization scopes are available:`analytics.readonly` or `analytics.edit`.\n"],null,["# Method: properties.fetchAutomatedGa4ConfigurationOptOut\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FetchAutomatedGa4ConfigurationOptOutResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nFetches the opt out status for the automated GA4 setup process for a UA property. Note: this has no effect on GA4 property.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------|\n| ``` { \"property\": string } ``` |\n\n| Fields ||\n|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `property` | `string` Required. The UA property to get the opt out status. Note this request uses the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. Format: properties/{internalWebPropertyId} Example: properties/1234 |\n\n### Response body\n\nResponse message for fetching the opt out status for the automated GA4 setup process.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------|\n| ``` { \"optOut\": boolean } ``` |\n\n| Fields ||\n|----------|---------------------------------------------------|\n| `optOut` | `boolean` The opt out status for the UA property. |\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`"]]