Method: properties.conversionEvents.patch
非推奨: 代わりに UpdateKeyEvent
を使用してください。指定された属性でコンバージョン イベントを更新します。
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1beta/{conversionEvent.name=properties/*/conversionEvents/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
conversionEvent.name |
string
出力専用。このコンバージョン イベントのリソース名。Format: properties/{property}/conversionEvents/{conversionEvent}
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。フィールド名はスネークケースにする必要があります(例:"field_to_update")。省略されたフィールドは更新されません。エンティティ全体を置き換えるには、文字列「*」を含む 1 つのパスを使用して、すべてのフィールドを照合します。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には ConversionEvent
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には ConversionEvent
のインスタンスが含まれます。
認可スコープ
次の 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 deprecated item updates a conversion event with specified attributes using a PATCH request."],["The request requires specifying the `conversionEvent.name` in the path and uses the `updateMask` query parameter to indicate fields to be updated."],["The request body and successful response body both contain a `ConversionEvent` instance."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document outlines the process for updating a conversion event using a `PATCH` HTTP request to a specified URL. Key actions include defining the `conversionEvent.name` path parameter and utilizing the `updateMask` query parameter to select fields for modification. The request body, containing a `ConversionEvent` instance, provides the updated data, and upon success, the response also returns a `ConversionEvent` instance. Authorization requires the `analytics.edit` OAuth scope. There is also mention that the item is deprecated.\n"]]