# Hermoso: publish_openai_ads_lead_form · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/publish_openai_ads_lead_form/. 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/) / publish_openai_ads_lead_form

# `publish_openai_ads_lead_form`

Publish a ChatGPT Ads lead form destructive

Area: ChatGPT ADS BREADTH · [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

Publish the current draft of a ChatGPT Ads lead form so Business Agents can use it. expectedDraftRevisionId is the draftRevisionId you last read. Show the user the fields before publishing: the form is what real people will see.

## Parameters

Parameter Type Description

`leadFormId` required `string` lead form id to publish

`expectedDraftRevisionId` required `string` draftRevisionId from the last read; refused if stale

## 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/publish_openai_ads_lead_form`.

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

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

`hermoso call publish_openai_ads_lead_form --json '{"leadFormId":"<string>","expectedDraftRevisionId":"<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

- [update_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/update_openai_ads_lead_form/) Save a new draft of a ChatGPT Ads lead form
- [archive_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/archive_openai_ads_lead_form/) Archive a ChatGPT Ads lead form
- [get_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/get_openai_ads_lead_form/) Read a ChatGPT Ads lead form
- [test_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/test_openai_ads_lead_form/) Send a synthetic test lead
- [create_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/create_openai_ads_lead_form/) Create a ChatGPT Ads lead form (draft)
- [list_openai_ads_lead_sync](https://hermoso.ai/docs/reference/ads/list_openai_ads_lead_sync/) List ChatGPT Ads lead-sync subscriptions
- [list_openai_ads_lead_forms](https://hermoso.ai/docs/reference/ads/list_openai_ads_lead_forms/) List ChatGPT Ads lead forms
- [set_openai_ads_lead_sync](https://hermoso.ai/docs/reference/ads/set_openai_ads_lead_sync/) Provision ChatGPT Ads lead delivery (webhook)
- [list_openai_ads_leads](https://hermoso.ai/docs/reference/ads/list_openai_ads_leads/) ChatGPT Ads leads received
- [delete_openai_ads_lead_sync](https://hermoso.ai/docs/reference/ads/delete_openai_ads_lead_sync/) Delete a ChatGPT Ads lead-sync subscription

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