# ChatGPT Ads

> Create and manage ChatGPT Ads campaigns, ad groups, context hints, chat card ads, landing page query parameters, bidding and breakdowns in chat.

ChatGPT Ads places sponsored chat cards inside relevant ChatGPT conversations. Connect each account with its API key on [Ad accounts](/docs/ad-accounts#connect-chatgpt-ads), then ask your AI assistant to launch paused campaigns, edit chat cards, tune context hints and monitor results.

## Creating a ChatGPT Ads campaign

Use `preview_create_chat_campaign` (then `apply_change`) to create a complete paused campaign in one preview:

- **Daily budget:** must stay within your account's **max daily budget** (ChatGPT Ads requires at least **$25/day** in USD accounts).
- **Campaign goal (`bidding_type`):**
  - **Clicks (default):** pay per click with a **target cost per click** (`manual_cpc` — ChatGPT Ads aims for it as an average, so individual clicks can cost more) or **maximize clicks** (`maximize_clicks`).
  - **Reach:** pay per 1,000 impressions with a maximum CPM (`cpm_bid_micros`).
  - **Conversions:** optimize for one of your account's ChatGPT Ads conversion events (`conversion_action_id` from `list_conversion_actions`), either maximizing conversions or aiming at a **target cost per conversion** (within your **max target CPA**).
- **Targeting & dates:** up to 25 countries (leave empty to target every country ChatGPT Ads serves), optional excluded countries and optional start/end dates.
- **1 to 5 ad groups**, each with **context hints** — natural-language topics describing conversations where your ads fit (for example *"planning a two-week trip to Japan"*). Context hints guide placement; they are not search keywords.
- **1 to 5 chat card ads** per ad group:
  - Title (3–50 characters), short body text (up to 100 characters) and landing page URL (`https://`).
  - Direct `https://` image link (JPEG, PNG or WebP; 640 × 640 px or larger recommended). ChatGPT Ads downloads the image after you confirm — share-page links from Google Drive, Dropbox (`dl=0`), Google Photos, OneDrive or iCloud are refused upfront.

The campaign starts **paused** with its ad groups and ads ready inside it. Reverting pauses the campaign. If ChatGPT Ads fails partway after creating the campaign, the partial campaign stays paused and is listed with its ID in the [Change log](/docs/change-log).

## Growing and editing ChatGPT Ads

- **Add an ad group (`preview_add_chat_ad_group`):** adds a paused ad group with unique name, context hints and 1–5 ads. It bids the way its campaign does: on a clicks campaign an optional `cpc_bid_micros` (omit for maximize clicks), on a Reach campaign a required `cpm_bid_micros`, on a Conversions campaign an optional `target_cpa_micros` (omit to maximize conversions). A bid that does not fit the campaign is refused (`chat_bid_not_on_campaign`).
- **Add an ad (`preview_add_chat_ad`):** adds a paused chat card ad to an existing ad group.
- **Edit a chat card (`preview_update_chat_ad`):** updates an ad's title, body, link or `image_url` in place. Edited ads go back through ChatGPT Ads review before serving again; reverting restores the previous text, link or image.
- **Edit context hints (`preview_update_context_hints`):** replaces an ad group's list of context hints (up to 200 characters each).
- **Edit campaign targeting (`preview_update_campaign_settings`):** updates `countries` (empty returns to all served countries), `excluded_countries` (empty removes them) and `platforms` (web, iOS, Android, desktop/mobile web).
- **Edit ad group bidding (`preview_update_bidding`):** switches a Clicks ad group between target cost per click (within **max bid** and **max bid change**) and maximize clicks, or adjusts its target CPC via `preview_update_bids`.
- **Archive paused items (`preview_archive_entity`):** archives an already-paused campaign, ad group or ad (irreversible — requires **Allow changes that can't be reverted** and a second confirmation).

## Landing page query parameters

Set `final_url_suffix` (for example `utm_source=chatgpt&utm_content={ad_id}`) on campaigns, ad groups or individual ads at creation — or edit them later on campaigns (`preview_update_campaign_settings`) and ads (`preview_update_chat_ad`).

- Supported macros: `{campaign_id}`, `{ad_group_id}`, `{ad_id}`, `{ad_account_id}`, `{oppref}`.
- Campaign, ad-group and ad parameters merge automatically; if the same key appears twice, the ad wins over the ad group, which wins over the campaign.
- Changing only an ad's `final_url_suffix` does **not** trigger a new ad review.

## Performance breakdowns and conversions

- **Breakdowns:** `get_campaign_performance` includes 30-day breakdowns by country, device and platform (refreshed daily; ChatGPT Ads does not attribute conversions by platform, so that column is `null`).
- **Conversions:** `list_conversion_actions` shows each conversion event's 30-day attributed count, and `preview_create_conversion_action` can create a new conversion event on your pixel (irreversible). Conversion value and ROAS appear once purchase tracking records its first sale.

## Ask your AI assistant

- `preview_create_chat_campaign`, `preview_add_chat_ad_group`, `preview_add_chat_ad` — create paused campaigns, ad groups and chat cards.
- `preview_update_chat_ad` & `preview_update_context_hints` — edit chat card copy/images/URL parameters and replace context hints.
- `preview_update_campaign_settings` & `preview_update_bidding` — update countries, excluded countries, platforms, campaign URL parameters and ad-group bidding.
- `preview_archive_entity` — archive a paused campaign, ad group or ad (irreversible).

Try asking:

- *"Create a paused ChatGPT Ads Clicks campaign for our Japan itineraries at $30/day."*
- *"Create a paused ChatGPT Ads Conversions campaign optimizing for trial sign-ups with a $20 target CPA."*
- *"Update the context hints on my Japan Trips ad group to focus on cherry blossom season."*
- *"Add utm_source=chatgpt&utm_campaign={campaign_id} to my ChatGPT Ads campaign."*

## Limitations

- ChatGPT Ads requires at least $25/day in USD accounts.
- No keywords, search terms, negative keywords, text assets or keyword research.
- Lifetime budgets cannot be changed in Roasby (changing them via API would replace the lifetime budget permanently).
- Ads that use multiple image files or custom crops cannot have their image edited in Roasby because reverting could not restore the crop.
- Rejected ads show ChatGPT Ads' reason and appeal status, but appeals happen in ChatGPT Ads Manager.

See every limit by platform on [Limitations](/docs/limitations).
