Method: templates.update

フルネーム: accounts.containers.workspaces.templates.update

GTM テンプレートを更新します。

HTTP リクエスト

PUT https://tagmanager.googleapis.com/tagmanager/v2/{path}

パスパラメータ

パラメータ
path

string

カスタム テンプレートの相対パス(GTM API パススキーマを使用)。形式は accounts/{account}/containers/{container}/workspaces/{workspace}/templates/{template} です。

クエリ パラメータ

パラメータ
fingerprint

string

指定する場合は、ストレージ内のテンプレートと同じフィンガープリントを使用する必要があります。

リクエストの本文

リクエストの本文には CustomTemplate のインスタンスが含まれます。

レスポンスの本文

成功した場合、レスポンスの本文には CustomTemplate のインスタンスが含まれます。

認可スコープ

次の OAuth スコープが必要です。

  • https://www.googleapis.com/auth/tagmanager.edit.containers

詳細については、OAuth 2.0 Overview をご覧ください。