我正在运行谷歌应用程序脚本以获取我的GTM帐户的容器列表。我有以下代码:
TagManager.Accounts.Containers.list(parent)
parent =我的GTM帐户ID,我甚至尝试将其作为字符串,EG“xxxxx”。我确信GTM帐户ID是正确的。
返回以下错误:
未捕获错误:响应代码:404。消息:未找到。 在fetchContainers(代码:19)
有人可以帮助我吗?
答案 0 :(得分:1)
答案 1 :(得分:1)
你需要使用这样的电话:
kable
您可以在此处找到完整且有效的示例: