Skip to main content
POST
Poll a build_campaign job. phase is one of preparing, preview_ready (includes a preview of campaign, ad sets, ads and budget plus draftId), publishing, live, or failed (with error). Also reports publish progress after launch_campaign.

Authorizations

Authorization
string
header
required

AdStellar API key (ast_live_...)

Body

application/json
jobId
string<uuid>
required

jobId returned by build_campaign.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
workspaceId
string<uuid>

Workspace to act in (must be granted to this credential). Omit for the primary workspace.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Tool result