Google Tag Configuration: get

取得 Google 代碼設定。 立即試用

要求

HTTP 要求

GET https://www.googleapis.com/tagmanager/v2/path

參數

參數名稱 說明
路徑參數
path string Google 代碼設定的 API 相對路徑。範例: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/gtag_config/{gtag_config_id}

授權

此要求至少需要以下其中一個範圍的授權:

範圍
https://www.googleapis.com/auth/tagmanager.edit.containers
https://www.googleapis.com/auth/tagmanager.readonly

詳情請參閱驗證和授權頁面。

要求主體

請勿使用這個方法提供要求主體。

回應

成功的話,這個方法會在回應主體中傳回 Google 代碼設定資源

試試看!

您可以使用下方的 APIs Explorer,針對即時資料呼叫這個方法,然後查看回應。