POST https://makelocalads.com/api/v1/campaigns/{campaign_id}/creatives
Permission: campaigns:generate
This is the campaign page’s “Generate more”. The new creatives follow the
campaign’s existing direction: its recipe or ad types, audience, angles and
brief. Only the count is chosen.
Usage notes
creative_countcan be3,5,10,15,20,25, or30. The default is10.- Each creative costs 2 credits.
max_creditsrefuses the request with422before anything is charged if the batch would cost more. - Send an
Idempotency-Keyso a retry after a network failure never starts and charges for a second batch.
Quick start
Input fields
integer
How many creatives to add:
3, 5, 10, 15, 20, 25, or 30.
Defaults to 10.integer
Refuse the request with
422 credit_limit_exceeded, before anything is
charged, if the batch would cost more than this many credits.Complete JSON schema
Complete JSON schema
Response
202 Accepted, with a Location header and the campaign. The new creatives
appear in creatives as queued. The response shape is the campaign from
Create a campaign.
Poll GET /campaigns/{campaign_id} with backoff until status is
completed, failed, or canceled. See Polling.
Errors
See Errors and retries for the error format.