Legt den Deaktivierungsstatus für die automatische GA4-Einrichtung für eine UA-Property fest. Hinweis: Das hat keine Auswirkungen auf die GA4-Property.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/properties:setAutomatedGa4ConfigurationOptOut
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"property": string,"optOut": boolean}
Felder
property
string
Erforderlich. Die UA-Property zum Festlegen des Deaktivierungsstatus. In dieser Anfrage wird die interne Property-ID und nicht die Tracking-ID im Format UA-XXXXXX-YY verwendet. Format: properties/{internalWebPropertyId} Beispiel: properties/1234
optOut
boolean
Der festzulegende Status.
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-04-02 (UTC)."],[[["This process sets the automated Google Analytics 4 setup opt-out status for a Universal Analytics property, having no effect on GA4 properties."],["The request requires specifying the Universal Analytics property ID and the desired opt-out status (true or false)."],["Successful requests will receive an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details how to set the opt-out status for the automated GA4 setup process for a Universal Analytics (UA) property via a POST HTTP request. The request URL is `https://analyticsadmin.googleapis.com/v1alpha/properties:setAutomatedGa4ConfigurationOptOut`. The request body requires a JSON structure containing the UA property's internal ID and a boolean value (`optOut`) to set the opt-out status. A successful request returns an empty response body, and it requires `analytics.edit` authorization scope.\n"]]