Skip to main content
Exact tool sequences for campaign creation, optimization, and analysis. These are the workflows that agent skills enforce automatically.

1. Performance Analysis (Cross-Platform)

Pull metrics from all connected ad platforms and present a unified view.

Tool Sequence

Output Format

Results should be formatted as a table with columns: Platform, Spend, Conversions, CPA, ROAS, CTR.

Deep Analysis Tools (Optional)

  • analyze_wasted_spend (Google), analyze_meta_wasted_spend (Meta), analyze_amazon_wasted_spend (Amazon), analyze_linkedin_wasted_spend (LinkedIn) — Find campaigns wasting spend. Campaigns in learning phase (< 14 days) or with insufficient data (< $20 spend) are excluded from waste totals automatically.
  • detect_meta_creative_fatigue (Meta) — Identify declining ad performance
  • explain_performance_anomaly (any platform) — Diagnose sudden CPA spikes or CTR drops

2. Google Search Campaign Creation

Five-step workflow. Skip a step = campaign creation fails.

Tool Sequence

Key Parameters

  • research_keywords: business_description, seed_keywords, target_location (e.g., “United States”)
  • create_search_campaign: campaign_name, daily_budget (min $10), asset_bundle, targeting

Safety Rules

  • Never skip keyword research (even if user provides keywords — validate CPC data)
  • Always validate assets before campaign creation
  • Campaign is created PAUSED — user reviews before launching

3. Google PMax Campaign Creation

Performance Max campaigns require high-quality assets plus optional search themes and audience signals for targeting.

Tool Sequence

Asset Requirements

  • Minimum 5 images (1200x628px landscape + 1200x1200px square)
  • Minimum 1 video (under 30 seconds recommended)
  • 5 headlines (max 30 chars each)
  • 5 descriptions (max 90 chars each)
  • 1 logo (1200x1200px)

Search Themes (PMax Only)

Search themes are short phrases (max 50 per asset group) that tell Google which search queries your PMax campaign should target. They supplement Google’s automated targeting with explicit intent signals.
  • Derive themes from keyword research, search term reports, and brand context
  • Max 50 themes per asset group
  • Only support add and remove (no update — remove + re-add instead)
  • Tools: add_pmax_search_themes, get_pmax_search_themes, remove_pmax_search_themes

Audience Signals (PMax Only)

Audience signals tell Google which audience segments are most likely to convert. They are signals, not hard targeting — Google uses them as starting points and expands from there.
  • Only one audience signal per asset group (combine multiple segments in one signal)
  • Supported types: in-market audiences, affinity audiences, custom audiences, user lists (remarketing)
  • Use search_audiences to find audience IDs by keyword
  • Tools: add_pmax_audience_signal, get_pmax_audience_signals, remove_pmax_audience_signal

4. Google Display Campaign Creation

Six-step workflow for standard Display (full manual targeting) and Smart Display (Google-managed). See the Display Ads guide for complete details.

Tool Sequence

Targeting Surfaces (Standard Display)

Five independent surfaces that intersect — mix and match:
  • Audiences — in-market, affinity, custom, user lists (use search_audiences)
  • Topics — Google content categories
  • Managed placements — specific websites, apps, YouTube channels/videos
  • Display keywords — contextual (always BROAD match)
  • Demographics — age, gender, parental status, income exclusions
Each surface has GET / ADD / REMOVE tools, plus a unified remove_display_criteria for cleanup.

Smart Display Rules

  • Requires bidding_strategy=TARGET_CPA + target_cpa set
  • Requires 50+ Display conversions in the last 30 days
  • Rejects manual targeting fields — fully Google-managed
  • Set smart_display=true on create_display_campaign

Safety Rules

  • ALWAYS resolve locations + languages before creation — no silent US fallback
  • Never fabricate audience IDs — run search_audiences first
  • Smart Display + manual targeting is rejected; use one or the other
  • Campaign created PAUSED — user reviews before launching

5. Google Shopping Campaign Creation

Standard Shopping campaigns advertise your Merchant Center product feed. See the Google Ads integration for details.

Tool Sequence

Safety Rules

  • A linked Merchant Center feed is required — no feed, no Shopping campaign
  • Build the product partition tree with add_product_group to bid per subdivision
  • Campaign created PAUSED — user reviews before launching

6. Meta Campaign Creation

Six-step workflow for Facebook & Instagram campaigns.

Tool Sequence

Creative Requirements by Type

  • Image: 1080x1080px, JPG/PNG, under 30MB
  • Video: 1080x1080px, MP4/MOV, under 4GB, 1-240 seconds
  • Carousel: 2-10 cards, each 1080x1080px

Ad Copy Tips

  • Use emojis, line breaks (\n), and bullet points (•, ✅, ▸) in primary_text for higher engagement
  • primary_text max 125 characters, headline max 40 characters
  • For location targeting, use search_meta_targeting with search_type='location' to find cities, regions, or zip codes — pass the returned objects directly to campaign creation

Safety Rules

  • Creative assets must be provided as URLs (Google Drive, Dropbox, S3)
  • Validate creative URLs are publicly accessible before campaign creation
  • Minimum $5/day budget per ad set

7. Meta Advantage+ Catalog (Dynamic Product Ads)

Advantage+ Catalog campaigns show the exact SKUs from your product feed to the right shopper automatically. See the Meta Ads integration for details.

Tool Sequence

Safety Rules

  • Run validate_catalog_readiness before creating — retargeting needs recent pixel events
  • Campaign created PAUSED — user reviews before launching

8. Amazon Sponsored Products Campaign Creation

Sponsored Products campaigns advertise your ASINs in Amazon search results and on product pages. Amazon also supports Sponsored Brands and Sponsored Display. See the Amazon Ads integration for details.

Tool Sequence

Key Metrics

Amazon campaigns are optimized toward ACOS (ad spend ÷ attributed sales, lower is better) and ROAS (attributed sales ÷ ad spend, higher is better) — tied to real retail revenue.

Safety Rules

  • Select an advertiser profile first (multi-region: NA, EU, FE) — no profile, no campaign
  • Campaign created PAUSED — user reviews before launching

9. ChatGPT Ads Campaign Creation

Pay-per-click “chat-card” ads that appear inside ChatGPT responses. launch_chatgpt_ad is a one-shot orchestrator that builds the whole paused ad in one step. See the ChatGPT Ads integration for details.

Tool Sequence

Safety Rules

  • Minimum budget $1/day — the agent speaks in dollars, not micros
  • Every object is created PAUSED — nothing serves until you resume it
  • The agent reports OpenAI review status honestly — no false “live” claims while review is pending

10. LinkedIn Campaign Creation

Five-step workflow for B2B sponsored content.

Tool Sequence

Targeting Best Practices

  • Combine job titles + industries (e.g., “Marketing Manager” + “Computer Software”)
  • Add seniority filter for decision-makers (Director, VP, C-level)
  • Use company size to match your ICP (Ideal Customer Profile)
  • Minimum audience size: 300 members (LinkedIn requirement)

Safety Rules

  • Must select organization first (no org = campaign creation fails)
  • Minimum $10/day budget
  • Image dimensions: 1200x627px or 1200x1200px

11. TikTok Campaign Creation

Three-step workflow (simpler than other platforms).

Tool Sequence

Creative Requirements

  • Vertical video: 9:16 aspect ratio (1080x1920px)
  • Duration: 5-60 seconds (9-15 seconds performs best)
  • Format: MP4 or MOV
  • File size: Under 500MB

12. Budget Optimization Workflow

Reallocate spend based on performance data.

Tool Sequence

Optimization Logic

  • Shift budget from low-ROAS campaigns to high-ROAS campaigns
  • Increase spend on campaigns with CPA below target
  • Decrease or pause campaigns with CPA 2x+ above target
  • Maintain minimum budgets per platform (10Google/LinkedIn,10 Google/LinkedIn, 5 Meta, 1Amazon/ChatGPT,1 Amazon/ChatGPT, 20 TikTok)

13. Account Management Workflow

Managing multiple ad accounts and checking system status.

Tool Sequence

When to Use

  • At the start of every session (verify correct account is active)
  • Before creating campaigns (confirm you’re in the right ad account)
  • When switching between client accounts (agencies managing multiple advertisers)

14. Automation & Proactive Monitoring

Schedule recurring tasks, set alerts, and use the Watch Agent for proactive campaign monitoring.

Watch Agent (Proactive Signal)

The Watch Agent runs automatically in the background every 15 minutes, scanning your connected ad accounts for issues. When it finds something actionable, it emails you a copy-paste prompt to act on it immediately. Tool Sequence — on-demand scan:
Managing staged actions:

Monitors & Alerts

Tool Sequence — create a metric alert:

Scheduled Briefs

Example: Daily Performance Brief

Daily Performance Brief

Example: CPA Spike Monitor

CPA Spike Alert

Example: On-Demand Watch Agent Scan

Workflow Principles

These rules apply to ALL workflows:
  1. Always start with connections check: Run get_connections_status before platform-specific tools
  2. Read before write: Research/validate before creating campaigns
  3. User confirmation required: Ask before any action that affects spend
  4. Campaigns created PAUSED: User reviews before launching live
  5. Never retry on error: Report failures, don’t auto-retry campaign creation
  6. Format results as tables: Make data scannable (columns: metric name, value, change vs. previous period)

Input Format Rules

  • IDs must be strings: Pass all IDs (campaign_id, video_id, ad_account_id, etc.) as quoted strings, never bare integers
  • Never modify IDs: Copy IDs exactly as returned by list/discover tools — do not round or change digits
  • Respect text limits: Google headline max 30 chars, description max 90, Meta primary_text max 125. Meta primary_text supports emojis and line breaks
  • Enum casing: The server auto-normalizes, but prefer uppercase for status/objective/match_type and lowercase for date_range/campaign_type
  • Budgets are numbers: Pass as numbers in account’s local currency (not cents, not strings)
  • Keywords as objects: add_negative_keywords expects [{"text": "free", "match_type": "BROAD"}], not ["free"]
See Tool Catalog — Input Format Requirements for full details.
Last modified on July 8, 2026