auto_write
creative

Has the designer turn one brief into a campaign set: first a plan of several concepts that each lead with a different id

Changed on

Has the designer turn one brief into a campaign set: first a plan of several concepts that each lead with a different idea (the benefit, a problem it solves, proof from the business's own reviews or numbers, a running offer, the product itself, the story behind it, an occasion), then one design per concept, kept together as one test group to run against each other. Ad platforms judge near-identical ads as one, so a concept too close to one already planned is dropped rather than designed; the set can come back smaller than asked, and with fewer than two distinct concepts it fails. Same brand, records and claim rules as composing a single design. Queued: returns a request id. Uses credits for the plan and for each design.

post/api/v1/tools/create_campaign_set

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescreative:write

Headers

Idempotency-Key, string

Optional; honoured when sent. A unique string you choose for this request; send the SAME key when retrying and the first answer is returned instead of writing twice (idempotent-replayed: true). The same key with other arguments is 409 idempotency_conflict. If the header and idempotency_key are both sent they must be equal.

Request body

object required
brief, string required

What the campaign is for and what it should get across.

count, 3 | 4 | 5

How many concepts to plan (default 3).

placements, string[]

Layouts: square 1:1, portrait 4:5, story 9:16, landscape 1.91:1, wide 16:9. Default square, portrait and story.

duration_seconds, number

0 for still images (default); up to 60 for videos.

music, boolean

Videos only: lay an instrumental track made for its length under it (default true). False exports a silent video.

music_mood, string

Videos only: the mood of that track. Left out, the brand kit's music mood.

media_ids, string[]

Images from the store's studio library to build on.

product_ids, string[]

Products from the store's catalogue to feature: the designer gets their names and prices, and their pictures where the studio can show them.

job, 'spotlight' | 'offer' | 'new' | 'proof' | 'how_it_works' | 'before_after' | 'why_us' | 'tip' | 'event' | 'availability' | 'hours' | 'milestone' | 'team' | 'hiring' | 'seasonal'

What the designs are for; each concept follows that job's structure. Leave it out to let the brief decide.

idempotency_key, string

Optional. A unique string you choose for this request. Send the SAME key when retrying after a timeout and Magistry returns the original outcome instead of performing the write twice. Reusing a key with different arguments is refused rather than replayed.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision