根據目的地 ID 查詢容器。 立即試用。
要求
HTTP 要求
GET https://www.googleapis.com/tagmanager/v2/accounts/containers:lookup
參數
參數名稱 | 值 | 說明 |
---|---|---|
自選查詢參數 | ||
destinationId |
string |
到達網頁 ID 已連結至 GTM 容器 (例如 AW-123456789)。 範例:accounts/containers:lookup?destination_id={destination_id}。 |
授權
此要求至少需要以下其中一個範圍的授權:
範圍 |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
https://www.googleapis.com/auth/tagmanager.readonly |
詳情請參閱驗證和授權頁面。
要求主體
請勿使用這個方法提供要求主體。
回應
如果成功,這個方法會在回應主體中傳回容器資源。
試試看!
您可以使用下方的 APIs Explorer,針對即時資料呼叫這個方法,然後查看回應。