Skip to main content
POST
Create an approval-first automation rule.
ADSMCP setting. Reads or changes ADSMCP’s own records (monitors, schedules, rules, queue views). It does not change an ad account.
Create an approval-first automation rule. Platform: ADSMCP (registered under meta) · Type: Control

How to call it

  • MCP: on https://mcp.adsmcp.si/mcp, run it through the meta_ads_write tool with {"action": "execute", "tool_name": "create_automation_rule", "arguments": { ... }}, or call create_automation_rule by name. search_tools finds it and get_tool_schema returns its arguments; https://mcp.adsmcp.si/mcp/flat lists every tool by name.
  • REST: POST https://mcp.adsmcp.si/api/v1/tools/create_automation_rule/execute with Authorization: Bearer sk_live_... and a JSON body {"platform": "meta", "arguments": { ... }}. The arguments are listed below; they are exactly the tool’s input schema.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token

Idempotency-Key
string

Body

application/json
platform
string
default:meta
arguments
object

Response

Tool execution result.

ok
boolean
required
platform
string
required
tool
string
required
error
null | object
required
mcp_response
any
required
data
any