Folders: move_entities_to_folder

將實體移至「GTM 資料夾」。如果要求路徑中的 {folder_id} 等於 0,系統會改為將實體移出其目前所屬的資料夾。立即試用

要求

HTTP 要求

POST https://www.googleapis.com/tagmanager/v2/+path:move_entities_to_folder

參數

參數名稱 說明
路徑參數
path string GTM 資料夾的 API 相對路徑。 範例:accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/folders/{folder_id}
自選查詢參數
tagId string 要移至資料夾的標記。
triggerId string 將觸發條件移至資料夾。
variableId string 要移至資料夾的變數。

授權

此要求需要取得下列範圍的授權:

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

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

要求主體

在要求主體中,提供資料夾資源

回應

如果成功,這個方法會傳回空白的回應主體。

試試看!

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