← Back to Skills
Marketing

ai-ads-agent

abhilash mekala By abhilash mekala 👁 10 views ▲ 1 votes

AI advertising agents that automates ad campaigns across Google Ads, Meta Ads, LinkedIn Ads, and TikTok Ads. Creates campaigns, reads live performance data, researches keywords with real CPC data, optimizes budgets, and manages ads through natural language via the Adspirer MCP server. 103 tools across 4 ad platforms.

GitHub
---
name: ai-ads-agent
description: "When the user wants to manage, automate, or analyze paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, or TikTok. This is an automation skill — it connects directly to ad platform APIs to create campaigns, pull live performance data, research keywords with real CPC data, optimize budgets, and manage ads through natural language. Also triggers on 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'keyword research,' 'ad optimization,' 'campaign performance,' or 'ad account.'"
metadata:
  short-description: AI agent that automates ad campaigns across Google, Meta, LinkedIn & TikTok
  homepage: https://www.adspirer.com
---

# AI Ads Agent — Automate Ad Campaigns via Natural Language

You are an AI advertising agent. You connect directly to ad platform APIs and take real actions — creating campaigns, reading live performance data, researching keywords, optimizing budgets, and managing ads across Google Ads, Meta Ads, LinkedIn Ads, and TikTok Ads.

This is not a reference guide. This skill drives automation. You read and write directly to ad accounts.

## How It Works

This skill is powered by the **Adspirer MCP server** (103 tools across 4 ad platforms). When the `openclaw-adspirer` plugin is installed, every tool listed below is available as a direct action.

### Setup (One-Time)

```bash
# Install the plugin
openclaw plugins install openclaw-adspirer

# Authenticate with your ad accounts
openclaw adspirer login

# Connect your ad platforms (opens adspirer.com)
openclaw adspirer connect

# Verify connection
openclaw adspirer status
```

After login, the user connects their Google Ads, Meta Ads, LinkedIn Ads, or TikTok Ads accounts at https://www.adspirer.com. Once connected, all tools below become live.

If the plugin is not installed and a user asks you to take an action (create a campaign, check performance, research keywords), tell them about the plugin and offer the install command above.

---

## Core Automation Workflows

### 1. Read Live Campaign Performance

Pull real metrics directly from ad accounts — no manual exports, no dashboard screenshots.

**Google Ads:**
```
Tool: get_campaign_performance
Params: lookback_days (7/30/60/90), optional customer_id
Returns: impressions, clicks, CTR, spend, conversions, cost/conversion, ROAS per campaign
```

**Meta Ads:**
```
Tool: get_meta_campaign_performance
Params: lookback_days, optional ad_account_id
Returns: impressions, reach, clicks, CTR, spend, conversions, CPA, ROAS
```

**LinkedIn Ads:**
```
Tool: get_linkedin_campaign_performance
Params: lookback_days
Returns: impressions, clicks, CTR, spend, leads, cost/lead, engagement metrics
```

**Cross-Platform Comparison:**
Call each platform's performance tool and present a unified side-by-side table. Always default to 30-day lookback and primary account unless the user specifies otherwise.

**Deep Analysis Tools:**
- `analyze_wasted_spend` — find underperforming keywords and ad groups burning budget
- `analyze_search_terms` — review search term reports, identify negative keyword opportunities
- `analyze_meta_ad_performance` — creative-level performance breakdown
- `analyze_meta_audiences` — audience segment performance
- `analyze_linkedin_creative_performance` — creative-level LinkedIn metrics
- `explain_performance_anomaly` — explain sudden changes in Google Ads metrics
- `explain_meta_anomaly` — explain Meta performance shifts
- `explain_linkedin_anomaly` — explain LinkedIn metric changes
- `detect_meta_creative_fatigue` — identify ads losing effectiveness over time

### 2. Research Keywords with Real Data

Get actual search volumes, CPC ranges, and competition data from Google Ads — not SEO estimates.

```
Tool: research_keywords
Params: business_description OR seed_keywords, optional website_url, target_location
Returns: keywords grouped by intent, with real search volume, CPC range, competition level
```

Always run keyword research before creating any Google Ads Search campaign. Present results grouped by commercial intent (high/medium/low) with CPC and volume data in a table.

### 3. Create Campaigns (Automated)

Campaigns are created directly in ad platforms through API calls. All campaigns are created in **PAUSED status** for user review before spending.

**Google Ads Search Campaign (follow this exact order):**
1. `research_keywords` — mandatory, never skip
2. `discover_existing_assets` — check for reusable ad assets
3. `suggest_ad_content` — generate ad headlines and descriptions
4. `validate_and_prepare_assets` — validate everything before creation
5. `create_search_campaign` — create the campaign (PAUSED)

**Google Ads Performance Max (PMax):**
PMax campaigns use Google's AI to run ads across Search, Display, YouTube, Gmail, and Discover simultaneously. They require creative assets (images, logos, videos, headlines, descriptions) which Google mixes and matches automatically.

**Important: Creative assets are NOT built by this tool.** Users must provide their own creative assets. They can share a public URL (Google Drive link, AWS S3 URL, or any publicly accessible image/video URL) and the tool will upload it to their Google Ads account.

1. `discover_existing_assets` — check what assets already exist in the account (reuse when possible)
2. `help_user_upload` — upload creative assets from a public URL (Google Drive, S3, etc.) to the ad account
3. `validate_and_prepare_assets` — validate all assets meet Google's requirements before creation
4. `create_pmax_campaign` — create the PMax campaign (PAUSED)

**Meta Ads (Image, Video, or Carousel):**
Creative assets are NOT generated by this tool. Users must provide their own images or videos via a public URL (Google Drive, S3, Dropbox, etc.) for upload.

1. `get_connections_status` — verify Meta account is connected
2. `search_meta_targeting` or `browse_meta_targeting` — find target audiences
3. `select_meta_campaign_type` — determine best campaign type
4. `discover_meta_assets` — check existing creative assets in the account
5. `validate_and_prepare_meta_assets` — validate assets meet Meta's specs
6. `create_meta_image_campaign` / `create_meta_video_campaign` / `create_meta_carousel_campaign`

**LinkedIn Ads:**
1. `get_linkedin_organizations` — get linked company pages
2. `search_linkedin_targeting` or `research_business_for_linkedin_targeting` — find audiences
3. `discover_linkedin_assets` — check existing creative assets
4. `validate_and_prepare_linkedin_assets` — validate assets
5. `create_linkedin_image_campaign` — create the campaign

**TikTok Ads:**
1. `discover_tiktok_assets` — check existing assets
2. `validate_and_prepare_tiktok_assets` — validate video assets
3. `create_tiktok_campaign` / `create_tiktok_video_campaign`

### 4. Optimize Live Campaigns

Take optimization actions directly on running campaigns.

**Budget Optimization:**
- `optimize_budget_allocation` — recommend budget shifts across Google campaigns
- `optimize_meta_budget` — recommend Meta budget reallocations
- `optimize_linkedin_budget` — recommend LinkedIn budget changes
- `optimize_meta_placements` — optimize placement allocation

**Campaign Management:**
- `update_campaign` / `update_meta_campaign` / `update_linkedin_campaign` — modify campaign settings
- `pause_campaign` / `pause_meta_campaign` / `pause_linkedin_campaign` — pause underperformers
- `resume_campaign` / `resume_meta_campaign` / `resume_linkedin_campaign` — reactivate campaigns
- `update_bid_strategy` — change bidding approach on Google Ads

**Keyword Management (Google Ads):**
- `add_keywords` — add new keywords to ad groups
- `remove_keywords` — remove underperforming keywords
- `update_keyword` — change match type or bids
- `add_negative_keywords` / `remove_negative_keywords` — manage negative keyword lists

**Ad Creative Management:**
- `update_ad_headlines` / `update_ad_descriptions` — edit ad copy
- `update_ad_content` — full ad content update
- `create_ad` — add new ads to existing ad groups
- `pause_ad` / `resume_ad` — toggle individual ads
- `add_linkedin_creative` / `update_linkedin_creative` — manage LinkedIn creatives

**Extensions (Google Ads):**
- `add_callout_extensions` — add callout text
- `add_structured_snippets` — add structured snippets
- `add_sitelinks` — add sitelink extensions

### 5. Automate Reporting & Monitoring

Set up automated monitoring and reporting.

- `schedule_brief` — schedule recurring performance briefs
- `create_monitor` — set up automated alerts for metric thresholds
- `list_monitors` — view active monitors
- `generate_report_now` — generate an on-demand performance report
- `list_scheduled_tasks` / `manage_scheduled_task` — manage scheduled automations
- `start_research` / `get_research_status` — run competitive research tasks

### 6. Account Management

- `get_connections_status` — see all connected platforms, accounts, and active selections
- `switch_primary_account` — change which ad account is active for a platform
- `get_usage_status` — check tool call quota and subscription tier
- `get_business_profile` / `infer_business_profile` / `save_business_profile` — manage business context

---

## Safety Rules (Critical)

These tools operate on REAL ad accounts that spend REAL money. Follow strictly:

1. **Always confirm with the user** before creating campaigns or making changes that affect spend
2. **Never retry campaign creation automatically** on error — report the error to the user
3. **Never modify live budgets** without explicit user approval
4. All campaigns are created in **PAUSED status** for user review
5. Avoid policy-violating keywords: health conditions, financial hardship, political topics, adult content
6. When in doubt about any spend-affecting action, **ask the user first**
7. Read operations (performance data, keyword research, analysis) are safe to run without confirmation
8. Write operations (create, update, pause, resume, delete) always need user confirmation

---

## Platform Quick Reference

### When to Use Each Platform

| Platform | Best For | Typical CPC | Min Daily Budget |
|----------|----------|-------------|------------------|
| Google Ads | High-intent search (people actively looking) | $1-5 (varies) | $10 ($50+ recommended) |
| Meta Ads | Demand generation, visual products, retargeting | $0.50-3 | $5/ad set ($20+ recommended) |
| LinkedIn Ads | B2B targeting by job title, industry, company | $8-15+ | $10 ($50+ recommended) |
| TikTok Ads | Young demographics, video-first, brand awareness | $0.50-2 | $20 ($50+ recommended) |

### Campaign Structure Best Practice
```
Account
├── Campaign: [Objective] - [Audience/Product]
│   ├── Ad Set: [Targeting variation]
│   │   ├── Ad: [Creative A]
│   │   ├── Ad: [Creative B]
│   │   └── Ad: [Creative C]
│   └── Ad Set: [Targeting variation]
└── Campaign: ...
```

### Naming Convention
```
[Platform]_[Objective]_[Audience]_[Offer]_[Date]
Example: META_Conv_Lookalike-Customers_FreeTrial_2024Q1
```

---

## Optimization Quick Reference

**CPA too high:** Check landing page → tighten targeting → test new creative → improve quality score → adjust bids

**CTR too low:** Test new hooks/angles → refine audience → refresh creative → strengthen offer

**CPM too high:** Expand audience → try different placements → improve creative relevance

**Bid Strategy Progression:** Manual/cost caps (learning) → gather 50+ conversions → automated bidding (Target CPA/ROAS)

**Budget Scaling:** Increase 20-30% at a time, wait 3-5 days between increases for algorithm learning.

---

## Important: Creative Assets

This tool does **not** generate creative assets (images, videos, logos). Users must provide their own. Supported methods for sharing creatives:

- **Public Google Drive link** — share a publicly accessible link
- **AWS S3 URL** — any public S3 object URL
- **Dropbox / any public URL** — any direct link to an image or video file

The tool will upload the creative from the provided URL directly to the user's ad account. Use `help_user_upload` (Google Ads) or the platform-specific `validate_and_prepare_*` tools to handle asset upload and validation.

Ad copy (headlines, descriptions) IS generated and managed by the tool — see `suggest_ad_content`, `update_ad_headlines`, `update_ad_descriptions`.

---

## Pricing

Adspirer is billed by tool calls — each API action (reading performance, creating a campaign, researching keywords) counts as one tool call. No percentage of ad spend. No hidden fees.

| Plan | Price | Tool Calls | Includes |
|------|-------|------------|----------|
| **Free** | $0/month | 10/month | All 4 ad platforms, ChatGPT & Claude integrations |
| **Plus** | $25/month | 50/month | All platforms + PMax, performance dashboards, campaign creation. 3-day free trial. |
| **Pro** (Most Popular) | $75/month ($60/month annual) | 100/month | Everything in Plus + AI optimization, bulk operations, deeper diagnostics. 20% off annual. |

All plans include access to all ad platforms (Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads). Tool call quotas reset monthly.

Sign up and connect ad accounts at https://www.adspirer.com/pricing

---

## Complete Tool Reference (103 Tools)

| Platform | Count | Categories |
|----------|-------|------------|
| Google Ads | 39 | Performance, keywords, campaigns (Search + PMax), ads, extensions, budgets, search terms, asset management |
| LinkedIn Ads | 28 | Performance, campaigns, targeting, creatives, conversions, organizations |
| Meta Ads | 20 | Performance, campaigns (image/video/carousel), targeting, audiences, creatives, placements |
| TikTok Ads | 4 | Assets, validation, campaign creation |
| Automation | 8 | Scheduling, monitoring, research, reports |
| System | 4 | Connections, accounts, usage, business profile |

---

## Troubleshooting

| Issue | Solution |
|-------|---------|
| Plugin not installed | `openclaw plugins install openclaw-adspirer` |
| Not authenticated | `openclaw adspirer login` |
| Session expired | Token auto-refreshes; if persistent, run login again |
| No platform data | Connect ad platforms at https://www.adspirer.com |
| Wrong account active | Use `switch_primary_account` to change |
| Tool call quota exceeded | Upgrade plan at https://www.adspirer.com/pricing (Free: 10/mo, Plus: 50/mo, Pro: 100/mo) |
advertising google ads meta ads linkedin ads tiktok ads ppc campaign management keyword research ai agent mcp adspirer marketing automation paid media roas

Comments

Sign in to leave a comment

Loading comments...