Google Tag ManagerGoogle Tag ManagerAdvertising

Publish a container version

google-tag-manager.version-publish

Make a selected Tag Manager container version live

价格
free按供应商原价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
—尚未验证
POSThttps://toolswitch.dev/v1/tools/google-tag-manager.version-publish预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

Requires the manage capability and changes the live site/app configuration. Confirm the exact version and inspect compilerError before publishing. Rollback is performed by publishing an earlier version

参数类型必填说明示例
路径参数
account_id字符串必填123456
container_id字符串必填789
container_version_id字符串必填digits from the container-version resource path4
查询参数
fingerprint字符串可选optimistic-lock fingerprint returned with the version
  • 路径参数
  • account_id字符串必填

    示例:123456

  • container_id字符串必填

    示例:789

  • container_version_id字符串必填

    digits from the container-version resource path

    示例:4

  • 查询参数
  • fingerprint字符串可选

    optimistic-lock fingerprint returned with the version

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X POST 'https://toolswitch.dev/v1/tools/google-tag-manager.version-publish' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。