Tags: get

取得 GTM 代碼。 立即試用

要求

HTTP 要求

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

參數

參數名稱 說明
路徑參數
path string GTM 標記的 API 相對路徑。 範例:accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/tags/{tag_id}

授權

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

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

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

要求主體

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

回應

如果成功,這個方法會在回應主體中傳回標記資源

試試看!

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