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-01-14(UTC)
[null,null,["최종 업데이트: 2025-01-14(UTC)"],[[["Fetches the automated GA4 setup opt-out status for a Universal Analytics (UA) property, having no impact on GA4 properties."],["The request requires the internal property ID of the UA property, not the tracking ID."],["The response indicates whether the automated GA4 setup is opted out for the specified UA property."],["Requires authorization with either `analytics.readonly` or `analytics.edit` scope."]]],["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"]]