Google 애널리틱스용 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 형식의 추적 ID가 아닌 내부 속성 ID를 사용합니다. 형식: properties/{internalWebPropertyId} 예: properties/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 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(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`"]]