Skip to main content
← ChatGPT ads Endpoint: POST https://makelocalads.com/api/v1/chatgpt-ad-groups Permission: chatgpt_ads:generate

Open in LocalAds

The ChatGPT Ads workspace in the product’s studio.
An ad group holds chat-card ads that share a landing page, price and direction. The landing page is required; the direction (angle) and price are optional. Each ad gets an image, a title and a body line written for that direction.

Usage notes

  • target_url is the landing page every ad in the group links to. angle also names the group.
  • ad_count can be 1, 3, 5, or 8. Each ad costs 1 credit.
  • max_credits refuses the request with 422 before anything is charged if the group would cost more.
  • Send an Idempotency-Key so a retry after a network failure never starts and charges for a second group.

Quick start

Input fields

string
required
The product the ads are for.
string
required
The landing page every ad in the group links to, as a URL, up to 2,048 characters.
string
Optional direction for the ads, up to 2,000 characters. It also names the group.
string
The product’s price shown in the ads, up to 100 characters, such as $89. Optional.
integer
How many ads to generate: 1, 3, 5, or 8. Defaults to 3.
integer
Refuse the request with 422 credit_limit_exceeded, before anything is charged, if it would cost more than this many credits.

Response

202 Accepted with the group, its id and one ads entry per requested ad, all queued:
Poll GET /chatgpt-ad-groups/{ad_group_id} with backoff until status is completed or failed; see Polling. title, body, context_hints and negative_phrases are filled in once the copy is written. A completed group looks like this:

Errors

See Errors and retries for the error format.
Last modified on September 30, 2026