Google Tag ManagerGoogle Tag ManagerAdvertising

Publish a container version

google-tag-manager.version-publish

Make a selected Tag Manager container version live

Price
freeAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/google-tag-manager.version-publishPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

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

ParameterTypeRequiredDescriptionExample
Path parameters
account_idstringRequired123456
container_idstringRequired789
container_version_idstringRequireddigits from the container-version resource path4
Query parameters
fingerprintstringOptionaloptimistic-lock fingerprint returned with the version
  • Path parameters
  • account_idstringRequired

    Example: 123456

  • container_idstringRequired

    Example: 789

  • container_version_idstringRequired

    digits from the container-version resource path

    Example: 4

  • Query parameters
  • fingerprintstringOptional

    optimistic-lock fingerprint returned with the version

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

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

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.