# Hermoso: create_openai_ads_ad · Hermoso developer docs

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

# `create_openai_ads_ad`

Create a ChatGPT Ads ad destructive

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 the actual AD inside a ChatGPT Ads ad group — the object that carries the creative; a campaign or ad group alone shows nothing at all. The creative is a TEXT + IMAGE CARD: a title of 3–50 characters, body copy of 100 characters maximum, one landing page URL and one still image. THERE IS NO VIDEO FORMAT ON THIS PLATFORM — a video URL is refused outright, so never offer one. Created paused; creating it active inside a live ad group starts REAL AD SPEND, so that needs confirm:true. OpenAI REVIEWS every ad (usually a few minutes) and the ad is read back with its review status: until that says approved the ad CANNOT show, so report the review status rather than calling it live. The landing page is also checked against robots.txt for OAI-AdsBot / OAI-SearchBot blocks — a page that blocks those agents cannot run ChatGPT ads at all, and the note says so. OpenAI creative enhancements (on by default for self-serve campaigns since 2026-10-30) may serve this copy rewritten, translated or on another page of the same site; the switch is in ChatGPT Ads Manager (account and campaign) and the API does not expose it, so never promise the exact words will run.

## Parameters

Parameter Type Description

`adGroupId` required `string` ad group id to create the ad in

`name` `string` internal name — defaults to the title

`creative` required `object` title 3-50 characters, body up to 100, landing page URL and one still image; no video

`creative.title` required `string` the headline — 3 to 50 characters, enforced

`creative.body` required `string` the description under the headline — 100 characters maximum, enforced

`creative.targetUrl` required `string` the landing page (must not block OAI-AdsBot / OAI-SearchBot in robots.txt)

`creative.imageUrl` `string` public https URL of a STILL image — every text ad needs imageUrl OR fileId (ChatGPT Ads refuses an ad with no creative.file_id unless the campaign is a product feed; measured 2026-09-06); a video URL is refused, this channel has no video format

`creative.fileId` `string` reuse an image ChatGPT Ads already holds: the fileId list_openai_ads_campaigns returns for an existing ad (list with adGroupId). Wins over imageUrl; use it to copy an ad exactly

`creative.imageUrls` `string[]` 4–6 public https URLs of EXACTLY square (1:1) stills, in display order, for an ad with MULTIPLE images (one title, body and landing page shared by all). Each URL is measured before anything is uploaded: OpenAI refuses an image even 1 pixel off square, and a set of 16:9 images. OpenAI enables this per ad account, and with automatic bidding only if the account is also enabled for that — otherwise use a fixed bid. Not with imageUrl/fileId or price

`creative.fileIds` `string[]` the same as imageUrls with images already on the account (4–6 file ids); may be mixed with imageUrls, ids first. On an edit, omit both to keep the ad’s current images; a new list replaces them all

`creative.price` `string` optional price string shown on the card

`landingPageQueryTemplate` `string` query string added to every landing page click, e.g. utm_source=chatgpt&utm_content={ad_id}. Placeholders: {campaign_id} {ad_group_id} {ad_id} {ad_account_id} {oppref}; oppref and olref cannot be parameter names. On an update, an empty string clears it.

`status` `"active" | "paused"` default paused

`confirm` `boolean` REQUIRED true to create this ACTIVE in a live ad group (real spend)

## 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_ad`.

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

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

`hermoso call create_openai_ads_ad --json '{"adGroupId":"<string>","creative":"<object>"}'`

## 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

- [create_openai_ads_ad_group](https://hermoso.ai/docs/reference/ads/create_openai_ads_ad_group/) Add a ChatGPT Ads ad group
- [openai_ads_bulk](https://hermoso.ai/docs/reference/ads/openai_ads_bulk/) ChatGPT Ads bulk create/update job
- [create_openai_ads_campaign](https://hermoso.ai/docs/reference/ads/create_openai_ads_campaign/) Build a ChatGPT Ads campaign (paused)
- [openai_ads_bulk_job](https://hermoso.ai/docs/reference/ads/openai_ads_bulk_job/) Read a ChatGPT Ads bulk job
- [archive_openai_ads_audience](https://hermoso.ai/docs/reference/ads/archive_openai_ads_audience/) Archive a ChatGPT Ads custom audience (permanent)
- [update_openai_ads_feed_products](https://hermoso.ai/docs/reference/ads/update_openai_ads_feed_products/) Update ChatGPT Ads product-feed variants
- [merge_openai_ads_audiences](https://hermoso.ai/docs/reference/ads/merge_openai_ads_audiences/) Merge ChatGPT Ads custom audiences
- [update_openai_ads_object](https://hermoso.ai/docs/reference/ads/update_openai_ads_object/) Edit a ChatGPT Ads campaign / ad group / ad
- [get_openai_ads_audience_operation](https://hermoso.ai/docs/reference/ads/get_openai_ads_audience_operation/) Check a ChatGPT Ads audience membership operation
- [set_openai_ads_budget](https://hermoso.ai/docs/reference/ads/set_openai_ads_budget/) Set a ChatGPT Ads campaign budget

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