openclaw-adspirer
v2026.3.1
Published
OpenClaw plugin for Adspirer — manage Google, Meta, TikTok & LinkedIn ads via natural language
Readme
openclaw-adspirer
OpenClaw plugin for Adspirer — manage Google, Meta, TikTok & LinkedIn ads via natural language.
Features
- 103 ad management tools across 4 platforms
- Dynamic tool registration — new server-side tools auto-appear on restart
- OAuth 2.1 + PKCE authentication
- Zero runtime dependencies — uses Node.js built-in
fetchandcrypto - Read/Write safety — write tools require user confirmation before execution
Installation
openclaw plugins install openclaw-adspirerSetup
# Authenticate with Adspirer
openclaw adspirer login
# Verify connection
openclaw adspirer statusConfiguration
| Field | Type | Default | Description |
|-------|------|---------|-------------|
| serverUrl | string | https://mcp.adspirer.com | MCP server URL |
| accessToken | string | — | OAuth access token (set by login) |
| refreshToken | string | — | OAuth refresh token (set by login) |
| tokenExpiresAt | number | — | Token expiry timestamp (set by login) |
| defaultAccountId | string | — | Default ad account ID |
| enabledGroups | string[] | all groups | Platform groups to enable |
| enabledTools | string[] | [] | Cherry-pick specific tools (overrides groups) |
| requestTimeoutMs | number | 60000 | HTTP request timeout in ms |
CLI Commands
| Command | Description |
|---------|-------------|
| openclaw adspirer login | Authenticate via OAuth PKCE |
| openclaw adspirer logout | Clear stored tokens |
| openclaw adspirer status | Show auth status, connections, tool count |
| openclaw adspirer accounts | List connected ad accounts |
| openclaw adspirer tools | List registered tools by platform |
| openclaw adspirer connect | Open Adspirer to connect ad platforms |
Tool Groups
| Group | Platform | Tools |
|-------|----------|-------|
| google_ads | Google Ads | 40 |
| meta_ads | Meta Ads | 20 |
| tiktok_ads | TikTok Ads | 4 |
| linkedin_ads | LinkedIn Ads | 28 |
| manus | Automation | 8 |
| system | Cross-Platform | 4 |
Filtering
Enable only specific platforms:
config:
enabledGroups: ["google_ads", "meta_ads"]Or cherry-pick individual tools:
config:
enabledTools: ["echo_test", "get_campaign_performance", "list_campaigns"]Tool Safety Model
- Read tools (
get_*,list_*,analyze_*, etc.) — auto-execute, no confirmation needed - Write tools (
create_*,update_*,pause_*, etc.) — agent MUST ask user before executing
Updating
When a new version is published:
# Update to latest
openclaw plugins update openclaw-adspirer
# Or update all plugins
openclaw plugins update --all
# Preview changes without applying
openclaw plugins update openclaw-adspirer --dry-runThen restart the gateway to load the new version.
Uninstalling
plugins uninstallis not yet available in OpenClaw. Manual removal required:
Step 1: Remove plugin files
rm -rf ~/.openclaw/extensions/openclaw-adspirerStep 2: Remove from config
Edit ~/.openclaw/openclaw.json and remove these entries:
"plugins": {
"entries": {
- "openclaw-adspirer": {
- "enabled": true
- }
},
"installs": {
- "openclaw-adspirer": { ... }
}
}Step 3: Clear stored credentials (optional)
# If you want to remove OAuth tokens too
openclaw adspirer logoutStep 4: Restart gateway
openclaw gateway restartReinstalling
If you need a fresh install:
# Remove existing (see Uninstalling above), then:
openclaw plugins install openclaw-adspirer
plugins installdoesn't overwrite existing installs. Remove first, then reinstall.
Troubleshooting
| Issue | Solution |
|-------|---------|
| "Please run login" | Run openclaw adspirer login |
| "Cannot reach server" | Check network / server URL |
| "Session expired" | Token auto-refreshes; if persistent, re-login |
| "Rate limit hit" | Wait and retry |
| Tools not showing | Restart gateway after config changes |
License
MIT
