Method: properties.updateAttributionSettings
Memperbarui setelan atribusi di properti.
Permintaan HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{attributionSettings.name=properties/*/attributionSettings}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
attributionSettings.name |
string
Hanya output. Nama resource dari resource setelan atribusi ini. Format: properties/{property_id}/attributionSettings Contoh: "properties/1000/attributionSettings"
|
Parameter kueri
Parameter |
updateMask |
string (FieldMask format)
Wajib. Daftar kolom yang akan diperbarui. Nama kolom harus dalam snake case (misalnya, "field_to_update"). Kolom yang dihilangkan tidak akan diperbarui. Untuk mengganti seluruh entitas, gunakan satu jalur dengan string "*" untuk mencocokkan semua kolom. Ini adalah daftar dipisahkan koma yang berisi nama-nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo" .
|
Isi permintaan
Isi permintaan memuat instance AttributionSettings
.
Isi respons
Jika berhasil, isi respons memuat instance AttributionSettings
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.edit
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-14 UTC.
[null,null,["Terakhir diperbarui pada 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"]]