Skip to main content
POST
Set ONE ad set's daily budget (ABO campaigns only; CBO ad sets share the campaign budget). Amount is in the ad account's currency. Two-step with confirmationToken.

Authorizations

Authorization
string
header
required

AdStellar API key (ast_live_...)

Body

application/json
adSetId
string
required

Meta ad set id from query_performance with breakdown "ad_set".

Minimum string length: 1
dailyBudget
number
required

New daily budget in the ad account's currency (major units, e.g. 50 = $50/day).

Required range: 1 <= x <= 100000
adSetName
string

Display name of the ad set, for the confirmation preview.

Maximum string length: 200
workspaceId
string<uuid>

Limit to one workspace this credential can access. Omit to span all of them.

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)$
confirmationToken
string

Omit on the first call to get a preview + token; pass the token back to execute.

Response

Tool result