Method: properties.googleAdsLinks.patch
プロパティの GoogleAdsLink を更新する
HTTP リクエスト
PATCH https://analyticsadmin.googleapis.com/v1beta/{googleAdsLink.name=properties/*/googleAdsLinks/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
googleAdsLink.name |
string
出力専用。形式: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} 注: googleAdsLinkId は Google 広告のお客様 ID ではありません。
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドのリスト。フィールド名はスネークケースにする必要があります(例:"field_to_update")。省略されたフィールドは更新されません。エンティティ全体を置き換えるには、文字列「*」を含む 1 つのパスを使用して、すべてのフィールドを照合します。 完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には GoogleAdsLink
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には GoogleAdsLink
のインスタンスが含まれます。
認可スコープ
次の 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 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"]]