全名:accounts.containers.destinations.list
列出与 GTM 容器关联的所有目标位置。
HTTP 请求
GET https://tagmanager.googleapis.com/tagmanager/v2/{parent}/destinations
路径参数
参数 | |
---|---|
parent |
GTM 父级容器的 API 相对路径。其格式为 |
请求正文
请求正文必须为空。
响应正文
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
---|
{
"destination": [
{
object ( |
字段 | |
---|---|
destination[] |
与 GTM 容器关联的所有目标账号。 |
nextPageToken |
用于获取下一页结果的延续令牌。 |
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/tagmanager.edit.containers
https://www.googleapis.com/auth/tagmanager.readonly
如需了解详情,请参阅 OAuth 2.0 Overview。