全名:accounts.containers.lookup
根據目的地 ID 或代碼 ID 查詢容器。
HTTP 要求
GET https://tagmanager.googleapis.com/tagmanager/v2/accounts/containers:lookup
查詢參數
| 參數 | |
|---|---|
destinationId |
連結至 GTM 容器的目的地 ID,例如 AW-123456789。請只設定 destinationId 或 tagId 其中一個。 |
tagId |
GTM 容器的代碼 ID,例如 GTM-123456789。請只設定 destinationId 或 tagId 其中一個。 |
要求主體
要求主體必須為空白。
回應主體
如果成功,回應主體會包含 Container 的執行例項。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/tagmanager.edit.containershttps://www.googleapis.com/auth/tagmanager.readonly
詳情請參閱 OAuth 2.0 Overview。