create_openai_ads_ad
Create a ChatGPT Ads ad destructive
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 |
|---|---|---|
adGroupIdrequired | string | ad group id to create the ad in |
name | string | internal name — defaults to the title |
creativerequired | object | title 3-50 characters, body up to 100, landing page URL and one still image; no video |
creative.titlerequired | string | the headline — 3 to 50 characters, enforced |
creative.bodyrequired | string | the description under the headline — 100 characters maximum, enforced |
creative.targetUrlrequired | 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.
Related tools
create_openai_ads_ad_groupAdd a ChatGPT Ads ad groupopenai_ads_bulkChatGPT Ads bulk create/update jobcreate_openai_ads_campaignBuild a ChatGPT Ads campaign (paused)openai_ads_bulk_jobRead a ChatGPT Ads bulk jobarchive_openai_ads_audienceArchive a ChatGPT Ads custom audience (permanent)update_openai_ads_feed_productsUpdate ChatGPT Ads product-feed variantsmerge_openai_ads_audiencesMerge ChatGPT Ads custom audiencesupdate_openai_ads_objectEdit a ChatGPT Ads campaign / ad group / adget_openai_ads_audience_operationCheck a ChatGPT Ads audience membership operationset_openai_ads_budgetSet a ChatGPT Ads campaign budget