Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

manage_ad_actions

Request, list or cancel ad changes

writes reaches outside listed directly

Ad actions change an EXISTING campaign or ad set at the ad platform: set its daily budget (set_budget), pause or resume it.

Nothing can be created. action=request reads the current value from the platform and records the change as requested; it changes nothing there. A person who approves budgets, not the requester, must approve it in the app (review_url); you can never approve. After that, apply_ad_action makes the change. Caps (largest change per action, monthly increase, account maximum) refuse with validation_failed and say which limit. action=list and get read the ledger: requested = waiting for a person; approved = not applied yet; done = the platform holds the new value; uncertain = a person must check; failed and cancelled are final. action=cancel withdraws a requested or approved change. Amounts are minor units of the account currency.

Arguments

NameTypeNeededWhat it is
action string yes What to do.One of: list, get, request, cancel
ad_action_id string no For get and cancel: the ad action.
ad_account_id string no For request: the ad account (list_ad_accounts).
external_campaign_id string no For request: the imported campaign to change (a campaign-level id from list_paid_performance).
ad_set_id string no For request: or the imported ad set to change.
change string no For request: the change.One of: set_budget, pause, resume
to_budget_minor integer no For set_budget: the new daily budget in minor units of the account currency, as the person named it.
reason string no For request: why, with the evidence. The approver reads it.
request_key string no For request: any unique string. The same key returns the first result instead of a second request.
status string no For list: only this status.One of: requested, approved, applying, done, failed, uncertain, cancelled
limit integer no For list: how many, 1 to 50. Default 20.
cursor string no For list: next_cursor from the previous reply.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It reaches outside the workspace: it fetches an address, makes a public link or puts something on a channel's schedule.
  • It is in the list every assistant sees when it connects.
  • It is always called by its own name, never through execute_tools, so the assistant's own safety prompts apply.

How tools behave: confirmation, review links, errors and limits

apply_ad_action · get_experiment · get_funnel_matrix · get_paid_draft · import_paid_results · list_ad_accounts · list_budget_requests · list_experiments · list_paid_drafts · list_paid_performance · manage_experiment · map_paid_campaign · prepare_meta_campaign_setup · save_budget_request · save_experiment_draft · save_paid_draft