# Hermoso: preview_tag_manager_publish · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/preview_tag_manager_publish/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / preview_tag_manager_publish

# `preview_tag_manager_publish`

What would go live read-only

Area: PUBLISHING · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

WHAT WOULD HAPPEN IF YOU PUBLISHED — free, read-only, and it publishes nothing. Returns the container, the version live on the site right now and what it holds, the exact list of staged changes (added, updated, deleted) as Tag Manager itself reports them, any merge conflicts, and the one sentence to show a user before asking them to agree. Use it to answer 'what is waiting to go live?' without going anywhere near the publish call. publish_tag_manager_container without confirm returns the same facts, so this is for when you want them with no chance of a publish at all. 0 credits. Needs Google Tag Manager connected.

## Parameters

Parameter Type Description

`containerPath` required `string` the "accounts/<id>/containers/<id>" path from list_tag_manager_containers

`gtmWorkspace` `string` Tag Manager workspace id or name; defaults to the Default Workspace

`workspace` `string` older name for gtmWorkspace (MCP only)

`versionPath` `string` optional — preview re-publishing an EXISTING version instead of the workspace

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/preview_tag_manager_publish`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"preview_tag_manager_publish","arguments":{"containerPath":"<string>"}}}`
**CLI**

`hermoso call preview_tag_manager_publish --json '{"containerPath":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [publish_tag_manager_container](https://hermoso.ai/docs/reference/ads/publish_tag_manager_container/) Publish the container to the live site
- [list_tag_manager_versions](https://hermoso.ai/docs/reference/ads/list_tag_manager_versions/) Tag Manager version history

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
