Recupera el estado de inhabilitación del proceso de configuración automática de GA4 para una propiedad UA. Nota: Esto no tiene efecto en la propiedad GA4.
Solicitud HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut
El cuerpo de la solicitud contiene datos con la siguiente estructura:
Representación JSON
{"property": string}
Campos
property
string
Obligatorio. La propiedad UA para obtener el estado de inhabilitación. Ten en cuenta que esta solicitud usa el ID de propiedad interno, no el ID de seguimiento con el formato UA-XXXXXX-YY. Formato: properties/{internalWebPropertyId} Ejemplo: properties/1234
Cuerpo de la respuesta
Mensaje de respuesta para recuperar el estado de inhabilitación del proceso de configuración automática de GA4.
Si se ejecuta correctamente, el cuerpo de la respuesta contendrá datos con la siguiente estructura:
Representación JSON
{"optOut": boolean}
Campos
optOut
boolean
Es el estado de inhabilitación de la propiedad UA.
Permisos de autorización
Se necesita uno de los siguientes permisos de OAuth:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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"]]