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.
angle) and price are
optional. Each ad gets an image, a title and a body line written for that
direction.
Usage notes
target_urlis the landing page every ad in the group links to.anglealso names the group.ad_countcan be1,3,5, or8. Each ad costs 1 credit.max_creditsrefuses the request with422before anything is charged if the group would cost more.- Send an
Idempotency-Keyso 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.Complete JSON schema
Complete JSON schema
Response
202 Accepted with the group, its id and one ads entry per requested ad,
all queued:
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.