> ## Documentation Index
> Fetch the complete documentation index at: https://docs.makelocalads.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ChatGPT ads

> Generate ad groups of ChatGPT chat-card ads with shared targeting, ready for Ads Manager.

A ChatGPT ad is a chat card: an image, a short title and a body line, linking
to your landing page. Ads are made in **ad groups**, matching Ads Manager:
every ad in a group shares its landing page, price, context hints and negative
phrases.

The API offers the same choices as the app's ChatGPT Ads studio. Each ad
costs 1 credit. Rewriting copy or targeting is free.

## Before you start

* A product with `status: "ready"`. See [Products](/setup/products).
* The landing page every ad in the group will link to.
* An API key with `chatgpt_ads:generate` (and `chatgpt_ads:read` to retrieve,
  `chatgpt_ads:update` to rename groups).
* One credit per ad.

## Workflows

| Workflow | Endpoint |
| - | - |
| [Create an ad group](/chatgpt-ads/create-an-ad-group) | `POST /chatgpt-ad-groups` |
| [Generate more ads](/chatgpt-ads/generate-more) | `POST /chatgpt-ad-groups/{ad_group_id}/ads` |
| [Targeting, copy and names](/chatgpt-ads/edit-a-group) | `PATCH /chatgpt-ad-groups/{ad_group_id}`, `POST /chatgpt-ad-groups/{ad_group_id}/targeting`, `POST /chatgpt-ads/{ad_id}/copy` |

## Cost

Each ad costs 1 credit (the `chatgpt_ad` operation in `GET /pricing`).
Renaming a group and rewriting copy or targeting are free. Set `max_credits`
on a request that spends to cap what it can spend; see
[Credits and spending](/concepts/credits-and-spending).

Open a workflow to see its fields and copy-paste examples.
