# Hermoso: update_openai_ads_lead_form · Hermoso developer docs

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

# `update_openai_ads_lead_form`

Save a new draft of 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

Save a NEW DRAFT REVISION of a ChatGPT Ads lead form (the whole definition: name + fields are replaced). expectedDraftRevisionId must be the draftRevisionId you last read — ChatGPT Ads refuses a stale one so two editors cannot clobber each other. The published version is untouched until publish_openai_ads_lead_form.

## Parameters

Parameter Type Description

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

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

`name` required `string` lead form name; the whole definition is replaced

`privacyPolicyUrl` `string` privacy policy URL shown with the form

`fields` required `object[]` all form questions in order; replaces the whole field list

`fields[].fieldId` required `string` your stable key for the field, e.g. email

`fields[].fieldType` required `"text" | "choice"` text, or choice (choice needs options)

`fields[].label` required `string` question text shown to the person

`fields[].required` `boolean` true = the person must answer this question

`fields[].options` `string[]` answer choices; choice fields only

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

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

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

`hermoso call update_openai_ads_lead_form --json '{"leadFormId":"<string>","expectedDraftRevisionId":"<string>","name":"<string>","fields":"<array>"}'`

## 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_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/publish_openai_ads_lead_form/) Publish 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
- [create_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/create_openai_ads_lead_form/) Create a ChatGPT Ads lead form (draft)
- [archive_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/archive_openai_ads_lead_form/) Archive a ChatGPT Ads lead form
- [list_openai_ads_lead_forms](https://hermoso.ai/docs/reference/ads/list_openai_ads_lead_forms/) List ChatGPT Ads lead forms
- [test_openai_ads_lead_form](https://hermoso.ai/docs/reference/ads/test_openai_ads_lead_form/) Send a synthetic test lead
- [list_openai_ads_lead_sync](https://hermoso.ai/docs/reference/ads/list_openai_ads_lead_sync/) List ChatGPT Ads lead-sync subscriptions
- [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)
