# Hermoso: create_openai_ads_conversion_api_ke · Hermoso developer docs

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

# `create_openai_ads_conversion_api_key`

Create a ChatGPT Ads Conversions API key

Area: X ADS CUSTOM AUDIENCES + CONVERSION API · [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

Create a ChatGPT Ads Conversions API key — the credential a SERVER uses to send conversion events, which is the only way a conversion that happens off the page (an offline sale, a webhook, a mobile backend) can be counted at all. PERMANENT AND UNREPEATABLE, and both halves of that are why it is confirm-gated even though a key cannot spend: ChatGPT Ads publishes NO way to list, rotate or delete a key, so it exists on the ad account forever and Hermoso cannot clean it up; and OpenAI returns the secret EXACTLY ONCE. Tell the user both facts, get an explicit yes, then call with confirm:true — and tell them to store it in a server-side secret manager and never place it in browser code, client-visible environment variables, logs or source control. If OpenAI answers that key creation is not enabled for this ad account, that is an account-enablement answer from OpenAI (they say to contact your partner representative) — the connection is fine and nothing is broken on Hermoso’s side.

## Parameters

Parameter Type Description

`name` required `string` a descriptive name, 3–1000 characters — it can never be listed or renamed afterwards

`confirm` `boolean` REQUIRED true — the key is permanent and its secret is shown once

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

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

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

`hermoso call create_openai_ads_conversion_api_key --json '{"name":"<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

- [send_openai_ads_conversions](https://hermoso.ai/docs/reference/ads/send_openai_ads_conversions/) Send server-side conversion events to ChatGPT Ads
- [update_openai_ads_account](https://hermoso.ai/docs/reference/ads/update_openai_ads_account/) Update the ChatGPT Ads account (brand / account / legal name, URL, favicon)
- [preview_openai_ads_ad](https://hermoso.ai/docs/reference/ads/preview_openai_ads_ad/) Preview a ChatGPT Ads ad
- [set_openai_ads_status](https://hermoso.ai/docs/reference/ads/set_openai_ads_status/) Activate, pause or archive a ChatGPT Ads account / campaign / ad group / ad
- [openai_ads_conversions](https://hermoso.ai/docs/reference/ads/openai_ads_conversions/) ChatGPT Ads attributed conversions
- [delete_openai_ads_object](https://hermoso.ai/docs/reference/ads/delete_openai_ads_object/) Archive (ChatGPT Ads’ delete) a campaign / ad group / ad
- [set_openai_ads_budget](https://hermoso.ai/docs/reference/ads/set_openai_ads_budget/) Set a ChatGPT Ads campaign budget
- [update_openai_ads_object](https://hermoso.ai/docs/reference/ads/update_openai_ads_object/) Edit a ChatGPT Ads campaign / ad group / ad
- [update_openai_ads_feed_products](https://hermoso.ai/docs/reference/ads/update_openai_ads_feed_products/) Update ChatGPT Ads product-feed variants
- [openai_ads_bulk_job](https://hermoso.ai/docs/reference/ads/openai_ads_bulk_job/) Read a ChatGPT Ads bulk job

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