Method: properties.updateAttributionSettings
Aktualisiert die Attributionseinstellungen für eine Property.
HTTP-Anfrage
PATCH https://analyticsadmin.googleapis.com/v1alpha/{attributionSettings.name=properties/*/attributionSettings}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
attributionSettings.name |
string
Nur Ausgabe. Ressourcenname dieser Attributionseinstellungen. Format: properties/{property_id}/attributionSettings Beispiel: „properties/1000/attributionSettings“
|
Abfrageparameter
Parameter |
updateMask |
string (FieldMask format)
Erforderlich. Die Liste der zu aktualisierenden Felder. Feldnamen müssen in Snake Case geschrieben sein (z.B. „field_to_update“). Ausgelassene Felder werden nicht aktualisiert. Wenn Sie die gesamte Entität ersetzen möchten, verwenden Sie einen Pfad mit dem String „*“, um alle Felder abzugleichen. Dies ist eine durch Kommas getrennte Liste vollständig qualifizierter Feldnamen. Beispiel: "user.displayName,photo" .
|
Anfragetext
Der Anfragetext enthält eine Instanz von AttributionSettings
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von AttributionSettings
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-01-14 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-01-14 (UTC)."],[[["This page explains how to update attribution settings on a Google Analytics property using the `PATCH` HTTP request."],["The request requires specifying the `attributionSettings.name` as a path parameter and an `updateMask` as a query parameter."],["The request body should contain the updated AttributionSettings object, and a successful response will return the updated AttributionSettings object."],["You'll need the `analytics.edit` OAuth scope to authorize this request."]]],["This API updates attribution settings for a specified property using a PATCH request. The request URL includes a path parameter, `attributionSettings.name`, to identify the target property. A required query parameter, `updateMask`, specifies the fields to modify. The request and response bodies both use the `AttributionSettings` resource. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The URL format follows gRPC Transcoding syntax.\n"]]