Method: properties.googleAdsLinks.patch
Memperbarui GoogleAdsLink di properti
Permintaan HTTP
PATCH https://analyticsadmin.googleapis.com/v1beta/{googleAdsLink.name=properties/*/googleAdsLinks/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
googleAdsLink.name |
string
Hanya output. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Catatan: googleAdsLinkId bukan ID pelanggan Google Ads.
|
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 GoogleAdsLink
.
Isi respons
Jika berhasil, isi respons memuat instance GoogleAdsLink
.
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 endpoint updates a GoogleAdsLink on a property using a `PATCH` request to the specified URL."],["The request requires specifying the GoogleAdsLink name in the path and an `updateMask` query parameter indicating fields to update."],["The request body should contain a GoogleAdsLink object representing the desired changes."],["Upon successful completion, the response body will contain the updated GoogleAdsLink object."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This documentation details updating a GoogleAdsLink on a property via a PATCH HTTP request to a specified URL. The URL requires a `googleAdsLink.name` path parameter, formatted as `properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}`. The `updateMask` query parameter specifies which fields to update. The request body and successful response body contain a `GoogleAdsLink` instance. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"]]