需要授权
获取 GTM 模板。 立即试用。
请求
HTTP 请求
GET https://www.googleapis.com/tagmanager/v2/path
参数
参数名称 | 值 | 说明 |
---|---|---|
路径参数 | ||
path |
string |
GTM 自定义模板的 API 相对路径。示例:accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}/templates/{template_id} |
授权
此请求需要获得以下至少一个范围的授权(详细了解身份验证和授权)。
范围 |
---|
https://www.googleapis.com/auth/tagmanager.edit.containers |
https://www.googleapis.com/auth/tagmanager.readonly |
请求正文
请勿使用此方法提供请求正文。
响应
如果成功,此方法将在响应正文中返回一项 Templates 资源。
试用一下!
不妨使用下面的 API Explorer 对实际数据调用此方法,然后看看响应结果。