MCP server
The remote endpoint is:list_ad_accounts before allowing management tools.
For clients that launch a local stdio server, use the published wrapper with a private API-key environment:
tools/list and follow each returned input schema. Tool failures can be JSON-RPC results with isError: true, even when the transport request succeeded. Inspect content and any structuredContent; do not assume every result contains a structured block. Raw numeric reporting data, when supplied, carries its currency and applied window.
For recurring reporting, check get_connected_account before interpreting old performance as proof of current delivery. Use explicit account_id and the date arguments accepted by each tool. Configure schedules in your own runner, or use AutoAdy scheduled tasks for supported read/report work. Scheduling does not unlock blocked ad writes.
Command line
The CLI requires Node.js 18 or later. StoreAUTOADY_API_KEY in your private environment, then run:
--key flag exists, but an environment credential avoids placing the secret in command history and process arguments.
Use
--help for the installed version’s flags. For raw input, --json-body supplies the request; --json controls the output format:
Exit codes and automation
Output goes to stdout; diagnostics go to stderr.
--json returns the response envelope for structured processing. A zero exit code alone is insufficient evidence that every step of a write completed. Follow response and retry handling before automating mutations.