Recupera lo stato di disattivazione per la procedura di configurazione automatica di GA4 per una proprietà UA. Nota: questa operazione non influisce sulla proprietà GA4.
Richiesta HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut
Il corpo della richiesta contiene dati con la seguente struttura:
Rappresentazione JSON
{"property": string}
Campi
property
string
Obbligatorio. La proprietà UA per visualizzare lo stato di disattivazione. Tieni presente che questa richiesta utilizza l'ID proprietà interno e non l'ID monitoraggio nel modulo UA-XXXXXX-YY. Formato: proprietà/{internalWebPropertyId} Esempio: proprietà/1234
Corpo della risposta
Messaggio di risposta per il recupero dello stato della disattivazione per la procedura di configurazione automatica di GA4.
In caso di esito positivo, il corpo della risposta contiene dati con la seguente struttura:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-04-02 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"]]