Method: properties.updateGoogleSignalsSettings
プロパティの Google シグナルの設定を更新します。
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1alpha/{googleSignalsSettings.name=properties/*/googleSignalsSettings}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
googleSignalsSettings.name |
string
出力専用。この設定のリソース名。形式: properties/{property_id}/googleSignalsSettings 例: "properties/1000/googleSignalsSettings"
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。フィールド名はスネークケースにする必要があります(例:"field_to_update")。省略されたフィールドは更新されません。エンティティ全体を置き換えるには、文字列「*」を含む 1 つのパスを使用して、すべてのフィールドを照合します。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には GoogleSignalsSettings
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には GoogleSignalsSettings
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["This page explains how to update Google Signals settings for a Google Analytics 4 property using the Google Analytics Admin API."],["The method uses an HTTP PATCH request to a specific endpoint with path and query parameters."],["Developers need to provide an updated GoogleSignalsSettings object in the request body and will receive an updated GoogleSignalsSettings object in the response if successful."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This outlines how to update Google Signals settings for a property using a PATCH request to the specified URL. The request includes a required `updateMask` query parameter to define fields for modification. The `googleSignalsSettings.name` path parameter is used to identify the setting. The request body carries the updated `GoogleSignalsSettings`, and the response mirrors this. Authorization requires the `analytics.edit` OAuth scope. This uses gRPC Transcoding syntax.\n"]]