googleadsagent.ai

The Complete 5-Day
AI Agents Crash Course

From Absolute Zero to Deploying Multi-Agent Systems

A Step-by-Step Tutorial for Every Experience Level

FREEOPEN SOURCE28 ACTIONS 6 SUB-AGENTS5 WHITE PAPERSMCP + A2A 5 GAMESAPA 7th42 PAGES ANTHROPIC ACADEMYINTERACTIVE QUIZZESXP + BADGES
Day 1 Day 2 Day 3 Day 4 Day 5

CLICK TO MARK DAYS COMPLETE · PROGRESS SAVED LOCALLY

COURSE COMPLETE

You've finished all 5 days. You now understand AI agents from fundamentals to production multi-agent systems.


Author

John Williams — Senior Paid Media Specialist at Seer Interactive. 15+ years, $48M+ managed. Creator of googleadsagent.ai. Hero Conf speaker. Former WSU football (2002–2005). Casteel HS assistant coach.

Choose Your Path

PathWhoFocusTime/Day
🟢 OBSERVERExecutives, strategistsConcepts only2–3 hrs
🔵 BUILDERMarketers, analystsHands-on + games4–6 hrs
🟣 ARCHITECTDevelopers, engineersDeep theory + prod6–8 hrs

5-Day Curriculum

DayTopicWhite PaperGame
0Environment Setup
1Introduction to AI AgentsIntroduction to Agents🎮 Tetris
2Agent Tools & MCPAgent Tools & MCP🎮 Zelda
3Context EngineeringSessions & Memory🎮 Football
4Agent QualityAgent Quality🎮 Mario
5Production & Multi-AgentPrototype to Production🎮 Duck Hunt + RPG

The googleadsagent.ai Through-Line

🤖 GOOGLEADSAGENT.AI
An open-source AI agent with 28 custom Python API actions and 6 Disney-named sub-agents (🦁 Simba, 🐠 Nemo, ❄️ Elsa, 🧞 Aladdin, 🌊 Moana, 🤖 Baymax) managing Google Ads via live API. Built on Claude. Every course concept maps to a real component.
ConceptImplementationDay
BrainClaude by Anthropic (Opus 4.5 + Sonnet 4.5)1
Tools28 Python API actions with live read/write2
MCPAdapter layer: tool_executor.py2
ContextCEP Protocol + Session State Manager3
QualityTop-Down Reporting + CONFIRM write-safety4
Multi-Agent🦁 Simba · 🐠 Nemo · ❄️ Elsa · 🧞 Aladdin · 🌊 Moana · 🤖 Baymax5
ProductionCLI · REST API · Docker · Python SDK5

Version 5.0 · March 2026 · Free & Open Source · It All Started With A Idea

Preface

Why This Course Exists

In 15+ years of managing over $48 million in digital advertising spend across Google Ads, Meta, Microsoft, and Amazon — at NortonLifeLock, Gen Digital, Avast, and Farmers Insurance — I've watched the industry transform three times. Programmatic buying. ML bidding. And now, the agentic era.

The industry is moving from AI that suggests to AI that acts. Google CEO Sundar Pichai declared at I/O 2025 that agentic capabilities represent "the direction where we are investing the most," and predicted 2026 as "the year people use agentic experiences more broadly" (Alphabet Inc., 2025).

I built googleadsagent.ai — 28 API actions, 6 sub-agents, live Google Ads access, built on Claude — because this future was arriving faster than practitioners realized.

📖 CITATION
"We think of agents as systems that combine the intelligence of advanced AI models with access to tools, so they can take actions on your behalf and under your control."
— Sundar Pichai, Google I/O 2025 · source ↗
📖 CITATION
"Over the last year, we have been investing in developing more agentic models, meaning they can understand more about the world around you, think multiple steps ahead, and take action on your behalf."
— Demis Hassabis, Gemini 2.0 Launch · source ↗

How to Use This Course

Sequential: Section 0 → Day 1 → Day 5. Best for first-time learners.

Reference: Sidebar navigation. Each section is self-contained.

Workshop: Each day has labs, games, and assessments — classroom-ready.

Quick scan: Executive Summary + Glossary + Resource Library.

Acknowledgments

Google's Kaggle team (Wiesinger, Marlow, Vuskovic) for the white paper series. Anthropic's MCP and Claude. Google's A2A team. LangChain, CrewAI, AutoGen communities. Microsoft's AI Agents course. Colleagues at Seer Interactive and Casteel High School coaching staff.

Executive Summary

AI agents — autonomous systems that reason, plan, and execute — are replacing dashboards and manual optimization. Google, Anthropic, OpenAI, and Microsoft are investing billions.

This 5-day course covers: (1) Agent fundamentals and ReAct loops; (2) Tool architecture and MCP; (3) Context engineering and scratchpad patterns; (4) Evaluation, observability, and guardrails; (5) Multi-agent orchestration, A2A, and Google's Universal Commerce Protocol.

Each day: required readings · resource matrix · hands-on labs · screen verification callouts · vibe coding game · learning objectives · key takeaways · self-assessment.

Three paths (🟢 Observer, 🔵 Builder, 🟣 Architect). Free. Open source. 42 pages. APA 7th Edition.

Section 0: Complete Environment Setup

Install and verify all tools before Day 1. Time: 30–45 minutes.

Part A: Claude AI

Primary AI assistant. Powers googleadsagent.ai.

1
Navigate to claude.ai. Any modern browser.
2
Sign Up → Continue with Google (fastest) or email.
3
Email: enter address, retrieve 6-digit code, enter it.
4
Phone verification (SMS). One phone per account; 18+.
5
Accept Terms of Service.
6
Chat interface loads. Ready.
💻 WHAT YOU SHOULD SEE
Clean interface with 'What can I help you with?' input. Left sidebar: New Chat + history. Account icon bottom-left.
FeatureFreePro ($20/mo)
ModelSonnetOpus (most intelligent)
Messages/day~30–455× more
Uploads / Artifacts / Search
💡 PRO TIP
Free tier is sufficient for this entire course. googleadsagent.ai early prototypes were built on free tier.

Verification

You are a Research Agent. Explain what an AI agent is in\n3 sentences as if speaking to a colleague at a coffee shop,\nthen provide one real-world example.

Part B: ChatGPT

1
Go to chatgpt.com. Sign up.
2
Complete verification. Chat loads.

Part C: Cursor IDE

"Vibe coding" — describe what you want, AI writes the code (Karpathy, 2025).

1
cursor.com → Download (auto-detects OS).
2
Install. Launch. Sign in via gear icon.
3
Open AI Chat: Cmd+I (Mac) / Ctrl+I (Win).
💻 WHAT YOU SHOULD SEE
Three panels: Left = File Explorer. Center = editor. Bottom = Terminal. Right = AI Chat.

Part D: Kaggle

1
kaggle.com → Register.
2
Phone verify: Settings → Phone Verification.
⚠️ CRITICAL
Phone verification is MANDATORY for running the interactive Codelabs with the white papers.

Part E: GitHub

1
github.com → Sign Up. Verify email.
2

Part F: Python 3.12+

1
python.org → Download 3.12+.
2
CHECK 'Add Python to PATH' before Install.
3
Verify: python --version → 3.12.x

Pre-Course Checklist

ToolActionVerify
ClaudeAccount at claude.aiTest prompt works
ChatGPTAccount at chatgpt.comTest prompt works
CursorDownloaded + installedEditor visible
KaggleAccount + phone verifiedNotebooks accessible
GitHubAccount created4 repos bookmarked
PythonInstalled with PATHpython --version = 3.12+

All verified? → Day 1.

Day 1: Introduction to AI Agents

🤖 GOOGLEADSAGENT.AI
googleadsagent.ai is a production AI agent — not a chatbot. It has a brain (Claude), tools (28 API actions with live Google Ads access), and an orchestration loop (6 Disney-named sub-agents: 🦁 Simba for reporting, 🐠 Nemo for research, ❄️ Elsa for optimization, 🧞 Aladdin for Shopping/PMax, 🌊 Moana for creative, 🤖 Baymax for innovation).

🎯 Learning Objectives

  • Define an AI agent and distinguish it from a chatbot
  • Identify the three components: Brain, Tools, Loop
  • Explain the ReAct loop and autonomous reasoning
  • Compare five agent architecture patterns
  • Build a functional game with vibe coding

What Is an AI Agent?

An AI agent is software that uses a large language model as its reasoning engine to autonomously perceive, decide, and act to accomplish goals (Google, 2025). The key difference from a chatbot is autonomy: agents decompose goals, select tools, execute, evaluate, and iterate.

📖 CITATION
"This combination of reasoning, logic, and access to external information that are all connected to a Generative AI model invokes the concept of an agent."
— Google, 'Introduction to Agents' White Paper · source ↗

Analogy: Ask a chatbot about vacation → it describes beaches. Give an agent the same request → it researches flights, compares prices, books the optimal option, reserves a hotel, adds calendar entries, sends confirmation. The chatbot generates text. The agent generates outcomes.

The Three Components

1. The Brain (Foundation Model)

Claude, GPT-4, or Gemini — the reasoning engine. Interprets intent, formulates plans, selects tools. In googleadsagent.ai: Claude Opus 4.5 for complex reasoning, Sonnet 4.5 for creative tasks.

2. The Tools

Executable functions: APIs, databases, search engines, file systems. Without tools, the model reasons but cannot act. googleadsagent.ai: 28 Python API actions in actions/main-agent/.

CategoryExample ActionsCount
CampaignBudget Manager, RSA Ad Manager, Campaign Creator6
AnalysisSearch Term Manager, Device Performance, Change History5
OptimizationRecommendations, Bidding Strategy, Ad Schedule4
OrganizationLabel Manager, Negative Keywords, Asset Manager3
TargetingAudience Manager, Geo & Location Manager2
InfrastructureAPI Gateway, Session Manager, Package Installer6
CreativeCloudinary Creative Tools1
PMaxPMax Asset Group Manager1

3. The Loop (ReAct Orchestration)

Reason → Act → Observe → Repeat. googleadsagent.ai's "The Loop":

1
User submits a question.
2
CEP Protocol: Agent asks clarifying questions (Account? Date range? Threshold?).
3
Top-Down Reporting: account summary first, then drill-down.
4
Adapter Layer: load action → inject secrets → filter → execute via tool_executor.py.
5
Google Ads API: real data, real mutations, all costs in dollars.
6
Claude analyzes, validates completeness against account totals.
7
Write Safety: Writes require CONFIRM with current-vs-proposed preview.
8
Heavy tasks delegated to Disney-named sub-agents.

Chatbot vs. Agent

DimensionChatbotAI Agent
InteractionReactive (responds)Goal-directed (pursues)
MemorySingle conversationPersistent across sessions
ToolsNone (text only)APIs, databases, search, files
Error Recovery'I don't know'Tries alternatives
OutputText responsesReal-world actions
VerificationNoneCross-validates data
ExampleClaude answering a questiongoogleadsagent.ai auditing $50K/mo

Architecture Patterns

PatternMechanismUse CaseExample
ReAct (Single)Think→Act→Observe loopFocused tasksSearch agent
RouterClassify + delegateMulti-domainCustomer service triage
Parallel Multi-AgentConcurrent executionIndependent tasksMulti-source research
Sequential Multi-AgentPipeline: A→B→CDependent workflowsgoogleadsagent.ai audits
HierarchicalManager → workersEnterprise scaleAutomated campaign mgmt

Required Reading

Primary: Google & Kaggle. (2025). "Introduction to Agents." kaggle.com/whitepaper-agents ↗

Supplementary: Microsoft. AI Agents for Beginners, Lessons 1–3. GitHub ↗

Resource Matrix

ResourceFormatCost
Google/Kaggle: Introduction to AgentsWhite Paper (42 pp.)Free
Anthropic: Claude 101Course + CertificateFree
Anthropic: AI FluencyCourse + CertificateFree
Microsoft: AI Agents for BeginnersCourse (12 lessons)Free
Hugging Face: AI Agents CourseCourse + CertificateFree
DeepLearning.AI: Agents in LangGraphShort CourseFree
Agent AcademyCourse + CertificateFree

Lab 1A: Agent-Style Reasoning

1
Open Claude. New conversation.
2
Enter this prompt:
You are a Google Ads Audit Agent. A client runs 15 Search\ncampaigns at $50,000/month. CPA has increased 40% over 3 months.\n\nCreate a systematic audit plan. For each step, specify:\n(a) The exact data required\n(b) The API endpoint or tool to retrieve it\n(c) Metrics and red flags to evaluate\n(d) Conditional recommendations based on findings
💻 WHAT YOU SHOULD SEE
Claude produces a 6–10 step audit plan with data requirements, API endpoints, metrics, and conditional recommendations — mirroring googleadsagent.ai's Audit Agent workflow.

🎮 Vibe Coding: Tetris

1
Open Claude. New conversation.
2
Enter:
Build a fully playable Tetris game as a single HTML file.\n- Classic rules: 7 tetrominoes, rotation, line clearing\n- Arrow keys to move/rotate, spacebar for hard drop\n- Score, next piece preview, level progression\n- Game over + restart, dark bg, smooth animations\n- Ghost piece showing landing position
💻 WHAT YOU SHOULD SEE
Fully playable Tetris in Claude's Artifact panel. Arrow keys control. Spacebar hard-drops. Lines clear with animation. Ghost piece visible.
💡 PRO TIP
To iterate: 'Add hold-piece (C key)' or 'Add touch controls for mobile.'

AI Agents Across Ad Platforms

The Brain + Tools + Loop pattern applies to every major advertising platform. Each platform has its own API, data structures, and optimization levers — but the agent architecture is identical.

PlatformAPIAgent Use CasesKey Metrics
Google AdsGoogle Ads API + GAQLSearch term mining, bid optimization, RSA generation, negative keyword management, budget reallocationCPA, ROAS, Quality Score, Impression Share
Meta AdsMarketing API + Graph APICreative fatigue detection, audience expansion, Advantage+ optimization, CAPI event managementCPM, CTR, Frequency, Cost per Result
Microsoft AdsBing Ads APIGoogle-to-Microsoft mirroring, LinkedIn audience targeting, Copilot-assisted optimizationCPC, Impression Share, Audience Overlap
Amazon AdsSponsored Ads APIBid optimization, search term harvesting, listing optimization, ACoS managementACoS, TACoS, Organic Rank, BSR

Google Ads: Where Agents Shine

Google Ads is the most agent-ready platform because of its mature API, rich data model (GAQL), and complex optimization surface. googleadsagent.ai demonstrates this with 28 live API actions covering:

Meta Ads: Creative Intelligence

On Meta, the #1 performance lever is creative — and AI agents excel at creative analysis and generation:

PRACTITIONER INSIGHT
"After $48M+ in managed spend across Google, Meta, Microsoft, and Amazon, the highest-ROI use case for AI agents in advertising is automated search query analysis. An agent reviewing 10,000 search terms finds patterns a human would miss — and it does it in seconds, not days."
— John Williams, Senior Paid Media Specialist, Seer Interactive

✅ Key Takeaways

  • Agents differ from chatbots in autonomy, tool access, and iterative reasoning.
  • Every agent: Brain (LLM) + Tools (functions) + Loop (ReAct orchestration).
  • googleadsagent.ai: Claude as Brain, 28 actions as Tools, The Loop as orchestration.
  • Vibe coding — natural-language software development — is the foundational agent skill.
  • The same agent architecture applies to Google Ads, Meta, Microsoft, and Amazon — only the APIs differ.

🧪 Day 1 Quiz — 5 Questions · 50 XP

Score: / 5

1. What is the core loop pattern agents use for autonomous reasoning?

2. What are the three components every AI agent has?

3. Which sub-agent handles Reporting in googleadsagent.ai?

4. What makes an AI agent different from a chatbot?

5. When is using an AI agent unnecessarily complex?

EXPLORE ON GOOGLEADSAGENT.AI
See the agent in action: The concepts from Day 1 power every tool on the live site.
Audit Engine — 250-point Google Ads audit using agent architecture
Google Ads Builder — AI-powered RSA ad copy generation
The AI Playbook Blog — 42 articles on AI-powered advertising
Tutorial: Building Your First AI Agent
✓ MARK DAY 1 COMPLETE

Day 2: Agent Tools & MCP

🤖 GOOGLEADSAGENT.AI
Each of googleadsagent.ai's 28 API actions is a tool. The adapter layer (tool_executor.py) loads actions, injects credentials, filters parameters, and executes — standardized interface between brain and Google Ads API. MCP formalizes this as an industry standard.

🎯 Learning Objectives

  • Explain how agents use tools to interact with external systems
  • Trace the six-step tool-use execution cycle
  • Define MCP and its three architectural components
  • Analyze implications of universal tool interoperability
  • Design a tool schema for an MCP server

The Tool-Use Cycle

1
Goal Reception: User provides objective ('Find wasted spend').
2
Reasoning: LLM determines tool needed ('Search Term Manager').
3
Structured Call: LLM outputs formatted request: {{ action: 'search_term_manager', params: {{ date_range: '30d' }} }}
4
Execution: Infrastructure processes request. tool_executor.py loads action, injects credentials, calls API.
5
Result Injection: Raw API data returned to LLM context.
6
Synthesis: LLM interprets: 'You're spending $3,200/month on irrelevant terms. Here are 15 negative keyword recommendations.'

Tool Categories in googleadsagent.ai

CategoryActionsCount
CampaignBudget, Campaign Creator, RSA Ad Manager, Bid & Keyword, Mutate, Campaign & Ad Group6
AnalysisSearch Term, Query Planner, Device Performance, Change History, Conversion Tracking5
OptimizationRecommendations, Bidding Strategy, Experiments, Ad Schedule4
OrganizationLabel Manager, Negative Keywords, Asset Manager3
TargetingAudience Manager, Geo & Location Manager2
InfrastructureAPI Gateway, Session Manager, Package Installer, Scripts, Account Access, Check User6
Creative / PMaxCloudinary Creative Tools, PMax Asset Group Manager2

Model Context Protocol (MCP)

MCP is an open standard by Anthropic (Nov 2024) providing a universal interface for connecting AI to tools. Analogy: USB-C — before it, every device needed a unique cable. Before MCP, every AI app needed custom integration code. MCP standardizes the connection.

📖 CITATION
"We're excited to announce that our Gemini API and SDK are now compatible with MCP tools."
— Sundar Pichai, Google I/O 2025 · source ↗

MCP Architecture

Host: The AI application (Claude Desktop, Cursor). User-facing interface.

Client: Embedded in the host. Manages connections to MCP servers.

Server: Lightweight service exposing: Tools (functions), Resources (data), Prompts (templates).

💡 PRO TIP
If googleadsagent.ai's 28 actions were an MCP server, ANY compatible app — Claude, ChatGPT, Cursor — could instantly manage Google Ads without custom code.

Resource Matrix

ResourceFormatCost
Google/Kaggle: Agent Tools & MCPWhite PaperFree
Anthropic: Intro to MCPCourse + CertificateFree
Anthropic: MCP Advanced TopicsCourse + CertificateFree
Anthropic: Claude Code in ActionCourse + CertificateFree
MCP Official DocsTechnicalFree — modelcontextprotocol.io
MCP GitHub SDKsOpen SourceFree — GitHub
MCP Server DirectoryDirectoryFree — mcp.so

Lab 2A: Observing Tool Use

Search the web for the latest MCP announcements from the past\n30 days. Summarize the top 3 developments and analyze\nimplications for digital advertising.
💻 WHAT YOU SHOULD SEE
Claude activates web search — 'Searching…' indicator appears. Results return with citations. This is the same pattern as googleadsagent.ai's 28 tool calls.

Lab 2B: Design a Tool Schema

Design a tool schema for a Google Ads Search Term Analyzer.\nSpecify: (1) tool name + description, (2) typed input parameters,\n(3) structured output format, (4) error cases.\nFormat as JSON for an MCP server definition.

🎮 Vibe Coding: Zelda Adventure

Build a Zelda-style top-down adventure game as a single HTML file.\n- Arrow keys/WASD movement, spacebar sword attack\n- Overworld: grass, trees, water, paths\n- 3+ enemy types with patterns and damage\n- 3 hearts, rupees, health pickups\n- Multiple connected rooms with edge transitions\n- Mini-map showing explored rooms\n- SNES pixel-art aesthetic

Tools Across Advertising Platforms

Each advertising platform exposes tools through its API. Here's how agents interact with the major platforms:

Google Ads API — GAQL in Practice

Google Ads Query Language (GAQL) is how agents retrieve data. Instead of clicking through the UI, an agent writes structured queries:

SELECT campaign.name, metrics.cost_micros, metrics.conversions,
       metrics.cost_per_conversion
FROM campaign
WHERE segments.date DURING LAST_30_DAYS
  AND metrics.cost_micros > 0
ORDER BY metrics.cost_per_conversion DESC
LIMIT 10

googleadsagent.ai's Search Term Manager uses GAQL to pull thousands of search queries, then Claude analyzes intent patterns and recommends negatives. This is the same pattern any MCP-connected agent could use.

Meta Marketing API — Creative Analysis

Meta's API enables agents to monitor creative performance and detect fatigue:

# Meta Marketing API — Ad creative insights
GET /act_{ad_account_id}/insights
  ?fields=ad_name,impressions,clicks,spend,
          actions,cost_per_action_type,
          frequency,video_avg_time_watched_actions
  &date_preset=last_30d
  &level=ad
  &filtering=[{"field":"impressions","operator":"GREATER_THAN","value":1000}]

An agent monitors frequency (>3.0 signals fatigue), CTR decay (>20% drop week-over-week), and cost per result trends to automatically flag creatives that need refreshing.

Google Ads Scripts — Accessible Automation

For practitioners who aren't developers, Google Ads Scripts offer the most accessible automation entry point. Scripts run directly in the Google Ads UI:

// Pause keywords with high CPA and no conversions (30 days)
function main() {
  var keywords = AdsApp.keywords()
    .withCondition("Conversions = 0")
    .withCondition("Cost > 50")
    .forDateRange("LAST_30_DAYS")
    .get();
  while (keywords.hasNext()) {
    var kw = keywords.next();
    kw.pause();
    Logger.log("Paused: " + kw.getText() + " ($" + kw.getStatsFor("LAST_30_DAYS").getCost() + ")");
  }
}

AI-Powered Tool Frameworks

FrameworkBest ForAdvertising Use Case
Claude ProjectsNo-code custom assistantsAccount strategist with brand guidelines as knowledge base
LangChain / LangGraphStateful agent workflowsMulti-step campaign audit with memory between steps
CrewAIRole-based multi-agentAnalyst + Strategist + Creative agent teams
n8n / MakeNo-code workflow automationSlack alerts when CPA exceeds threshold
OpenAI Agents SDKProduction agent deploymentClient-facing reporting bots
Google ADKGoogle ecosystem agentsVertex AI + Google Ads integration

✅ Key Takeaways

  • Tools transform an LLM from text generator into an agent that acts.
  • MCP standardizes AI-tool connections, eliminating custom integration.
  • Tool-use cycle: goal → reasoning → structured call → execution → result → synthesis.
  • MCP adoption by Google, OpenAI, Microsoft signals industry convergence.
  • GAQL, Meta Marketing API, and Google Ads Scripts are the three most important tool interfaces for advertising agents.
  • Frameworks like LangChain, CrewAI, and n8n make it accessible to build agents without deep engineering.

🧪 Day 2 Quiz — 4 Questions · 40 XP

Score: / 4

1. What is MCP (Model Context Protocol)?

2. What are the three MCP architectural components?

3. How many Python API actions does googleadsagent.ai have?

4. What is the correct order of the tool-use execution cycle?

EXPLORE TOOLS ON GOOGLEADSAGENT.AI
Day 2's tool concepts power these live tools — try them free:
Keyword Analyzer — AI-powered keyword intelligence with 3 analysis modes
Social Media Ad Builder — Generate copy for 8 platforms
250-Point Audit Engine — Full Google Ads audit in seconds
GitHub: All 28 API Actions
✓ MARK DAY 2 COMPLETE

Day 3: Context Engineering

🤖 GOOGLEADSAGENT.AI
googleadsagent.ai's CEP Protocol (Clarifying Exchange Protocol) is context engineering in action: before any API call, the agent asks qualifying questions (Which account? ENABLED only? Date range? Spend threshold?). The Session & State Manager (Action #17) maintains state. Sub-agents write findings to shared context.

🎯 Learning Objectives

  • Define context engineering vs. prompt engineering
  • Identify the six layers of agent context
  • Explain the scratchpad pattern for multi-step workflows
  • Describe RAG and its role in grounding responses
  • Compare five memory management strategies

What Is Context Engineering?

The discipline of designing the complete information payload that flows into an agent's prompt at each step. It determines what the agent knows, remembers, and how it personalizes behavior.

📖 CITATION
"Context Engineering is concerned with the entire payload, dynamically constructing a state-aware prompt based on the user, conversation, and external data… transforming an agent from an expert on facts to an expert on the user."
— Google, 'Context Engineering' White Paper · source ↗

Six Layers of Context

LayerContentsgoogleadsagent.ai
1. System InstructionsIdentity, rules, capabilitiesMain agent system prompt (The Loop)
2. User ProfileIdentity, preferences, accessAccount ID, credential pattern, permissions
3. Short-Term MemoryCurrent conversationActive thread with Q&A
4. Long-Term MemoryPersistent cross-sessionPrevious audits, baselines
5. RAGDocuments pulled on demandGoogle Ads docs, best practices
6. Tool ResultsData from tool executionLive metrics, search terms, budgets

The Scratchpad Pattern

Instead of raw conversation history (noisy, overflows context), the agent maintains a structured working document. In googleadsagent.ai: 🦁 Simba writes to Reporting section, ❄️ Elsa to Optimization, 🐠 Nemo to Research. Final synthesis reads the complete scratchpad.

RAG: Retrieval-Augmented Generation

Query a vector database, retrieve only semantically relevant chunks. Grounds responses in source material rather than potentially outdated training data. Scales to massive knowledge bases.

Memory Strategies

StrategyMechanismProCon
Full HistoryEvery message in each callMaximum accuracyContext overflow
Sliding WindowKeep recent N messagesBounded memoryLoses early context
SummarizationCondense older messagesPreserves key factsInfo loss risk
ScratchpadStructured findings docBest balanceRequires schema design
RAGVector DB retrievalScales massivelyInfrastructure needed

🎮 Vibe Coding: Football (Tecmo Bowl)

Build an American football arcade game (Tecmo Bowl style)\nas a single HTML file.\n- Top-down field with yard lines and end zones\n- Arrow keys control QB/ball carrier\n- 5 offense vs 5 defense players\n- Play selection screen (4 plays)\n- Spacebar to pass, arrows to aim\n- Tackle detection, scoring, downs system\n- Touchdown celebration, 8-bit aesthetic

Context Engineering for Advertising

Advertising agents need specialized context that general-purpose agents don't. Here's what makes ad context engineering unique:

Prompt Engineering for Ads

Before context engineering, you need solid prompts. The four essential patterns for advertising agents:

PatternHow It WorksAd Example
System PromptSets identity, rules, constraints"You are a Google Ads audit agent. Always validate data sums against account totals. Never recommend budget changes >20% without CONFIRM."
Few-ShotProvide examples of desired behaviorShow 3 examples of good vs. bad negative keyword recommendations with reasoning
Chain-of-ThoughtStep-by-step reasoning"First calculate CPA by campaign, then identify outliers >2x average, then check search terms for those campaigns..."
Role PromptingAssign a persona with expertise"You are a senior PPC strategist with 15 years managing $48M+ in spend. Analyze this account like you would for a client paying $500/month."

RAG for Advertising Knowledge

RAG (Retrieval-Augmented Generation) is critical for grounding ad agents in current, accurate data:

RAG IMPLEMENTATION
A practical RAG setup for ad agents: Embed your Google Ads best practices, client SOPs, and industry benchmarks into a vector database (Pinecone, ChromaDB, or Qdrant). When the agent needs to make a recommendation, it retrieves the 5 most relevant chunks and includes them in context. This prevents hallucinated benchmarks and ensures recommendations align with your methodology.

Context Across Platforms

PlatformUnique Context NeededData Volume
Google AdsSearch terms, Quality Scores, auction insights, ad extensions, GAQL schema10K+ search terms/month typical
Meta AdsCreative performance, audience overlap, frequency curves, pixel events, attribution windowsHundreds of ad variations
Microsoft AdsImport mapping from Google, LinkedIn audience data, competitive metricsMirrors Google + unique MSN data
Amazon AdsProduct catalog, BSR, organic rank, review sentiment, FBA feesThousands of ASINs

✅ Key Takeaways

  • Context engineering is complete information management — broader than prompt engineering.
  • Six layers: system, user, short-term, long-term, RAG, tool results.
  • Scratchpad pattern: optimal efficiency-accuracy balance for multi-step agents.
  • CEP Protocol: qualifying questions before any API execution.
  • RAG is essential for grounding ad agents in current benchmarks, policies, and account history.
  • Each ad platform requires unique context — search terms for Google, creative data for Meta, catalog data for Amazon.

🧪 Day 3 Quiz — 4 Questions · 40 XP

Score: / 4

1. How many layers of context does an agent use?

2. What is the scratchpad pattern?

3. What does CEP stand for in googleadsagent.ai?

4. What is RAG (Retrieval-Augmented Generation)?

CONTEXT IN PRACTICE
See context engineering in action on the live platform:
Reporting Dashboard — OAuth-connected session state management
Audit Engine — Multi-step workflows with structured findings
18 Tutorials — Step-by-step implementations of agent context patterns
✓ MARK DAY 3 COMPLETE

Day 4: Agent Quality

🤖 GOOGLEADSAGENT.AI
Quality mechanisms: (1) Top-Down Reporting validates details sum to account totals; (2) CONFIRM protocol requires user approval before mutations with current-vs-proposed preview; (3) Sub-agent principles: 🦁 'Summarize, don't dump' · ❄️ 'Preview before execute' · 🐠 'Insight over information.'

🎯 Learning Objectives

  • Name the three pillars of agent quality
  • Explain LLM-as-a-Judge evaluation
  • Describe input, output, and action guardrails
  • Analyze why hallucination is dangerous in advertising
  • Identify key observability metrics

The Quality Problem

A model hallucinating 5% of the time in casual conversation = minor annoyance. Hallucinating 5% while managing $50,000/month in ad spend = financial liability. Agent quality engineering closes this gap.

Three Pillars

Pillar 1: Evaluation

Unit: Test individual tool calls. Does Search Term Manager return accurate data?
Trajectory: Test reasoning path. Did it select the right tools in the right order?
Final Response: Is the audit report accurate and actionable?

Pillar 2: Observability

Logging: Timestamped records of every tool call and decision (flight recorder).
Tracing: End-to-end path from input through all tool calls to output.
Metrics: Latency, token usage, tool success rate, accuracy.

Pillar 3: Guardrails

Input: Validate requests fall within authorized scope.
Output: Verify responses for accuracy before delivery.
Action: Require human approval for high-impact operations. googleadsagent.ai's CONFIRM protocol: displays current vs. proposed, explains rationale, waits for confirmation before executing.

LLM-as-a-Judge

A separate LLM scores agent outputs against rubrics (accuracy, completeness, relevance, safety). Returns structured scores with justification. High correlation with human evaluators at dramatically lower cost.

Resource Matrix

PlatformFunctionCost
LangSmithLLM monitoring & tracingFree tier
BraintrustEvaluation platformFree tier
Arize PhoenixOpen source tracingFree (OSS)
RAGASRAG evaluation frameworkFree (OSS)

🎮 Vibe Coding: Super Mario Bros

Build a Super Mario Bros-style platformer as a single HTML file.\n- Side-scrolling, arrow keys + spacebar jump\n- Platforms, pipes, bricks, question-mark blocks\n- Breakable blocks yield coins from below\n- 2+ enemy types, jump to defeat\n- Coin counter, score, pit death, 3 lives\n- Flag pole to complete level\n- NES-era physics: momentum, gravity, acceleration

Quality for Advertising AI

Advertising introduces unique quality challenges that general AI applications don't face:

AI Safety in Ad Management

RiskImpactGuardrail
Budget HallucinationAgent recommends $50K budget when client cap is $5KHard budget limits in system prompt + API-level validation
Policy ViolationAI-generated ad copy violates Google editorial policiesOutput filtering against policy regex + human review queue
Prompt InjectionMalicious search term data manipulates agent reasoningInput sanitization + sandboxed data processing
Metric MisreportingAgent confuses impressions with clicks in analysisTop-Down Reporting: totals must match account summary
Unauthorized MutationsAgent pauses profitable campaigns without approvalCONFIRM protocol with current-vs-proposed preview

Creative Quality with AI

AI-generated ad creative needs specialized quality checks:

Search Query Quality System

One of the highest-value quality applications is automated search query analysis — the system googleadsagent.ai calls SQOS (Search Query Optimization System):

1
Extract — Pull all search terms with spend from the Google Ads API (GAQL)
2
Classify — LLM categorizes each query by intent: branded, high-intent, informational, irrelevant, competitor
3
Score — Calculate relevance score based on conversion rate, CPA, and intent match
4
Recommend — Generate negative keyword list (exact + phrase) for irrelevant queries; expansion keywords for high-performers
5
Validate — Human reviews recommendations; CONFIRM protocol before applying changes

Conversion Tracking Quality

Agents can also audit measurement infrastructure — the Marketing Analytics Auditor on googleadsagent.ai demonstrates this:

✅ Key Takeaways

  • Quality = Evaluation + Observability + Guardrails.
  • LLM-as-a-Judge: scalable, cost-effective evaluation against rubrics.
  • Hallucination in advertising = direct financial loss. Non-negotiable quality.
  • CONFIRM protocol: human checkpoints before data mutations.
  • SQOS (Search Query Optimization System) is the highest-ROI agent quality application for search advertisers.
  • Creative quality checks must cover editorial compliance, brand voice, character limits, and image policies across platforms.
  • Measurement quality (GA4, GTM, CAPI) is the foundation — agents are only as good as the data they analyze.

🧪 Day 4 Quiz — 4 Questions · 40 XP

Score: / 4

1. What are the three pillars of agent quality?

2. What does the CONFIRM protocol do?

3. Why is hallucination uniquely dangerous in advertising?

4. What is LLM-as-a-Judge?

QUALITY IN ACTION
Every tool on googleadsagent.ai uses the quality guardrails from Day 4:
Audit Engine — 250 checkpoints with top-down validation
Google Ads Builder — Output guardrails ensure ad copy meets editorial policies
Expert Articles — 14 deep-dives into agent quality and optimization
✓ MARK DAY 4 COMPLETE

Day 5: Production & Multi-Agent Systems

🤖 GOOGLEADSAGENT.AI
6 Disney-named sub-agents:
🦁 Simba (Opus 4.5, 8 actions): Reporting — 'Summarize, don't dump.'
🐠 Nemo (Opus 4.5, 4 actions): Research — 'Insight over information.'
❄️ Elsa (Opus 4.5, 8 actions): Optimization — 'Preview before execute.'
🧞 Aladdin (Opus 4.5, 7 actions): Shopping/PMax — 'ROAS is king.'
🌊 Moana (Opus 4.5, 2 actions): Creative — 'Visual first.'
🤖 Baymax (Sonnet 4.5, 2 actions): Innovation — 'Receive → Process → Return.'

🎯 Learning Objectives

  • Contrast prototype vs. production requirements
  • Define A2A and how it complements MCP
  • Trace a multi-agent audit through 6 sub-agents
  • Explain Google's Universal Commerce Protocol
  • Architect a complete multi-agent system

The Prototype-to-Production Gap

Building a demo = cooking for friends. Deploying production = opening a restaurant.

DimensionPrototypeProduction
Error HandlingCrash + debugGraceful fallbacks, retry, alerting
AuthHardcoded keysOAuth 2.0, rotation, least-privilege
MonitoringManual logsReal-time dashboards, anomaly detection
ScalingSingle userQueue management, rate limiting
TestingManualAutomated suites, CI/CD
PrivacyTest dataPII handling, encryption, GDPR/CCPA
CostUnboundedToken budgets, model routing, alerts
Human OversightNoneCONFIRM protocol for critical actions

Agent-to-Agent Protocol (A2A)

Google's open standard (April 2025) enabling agents to communicate regardless of framework or vendor. If MCP = USB-C for tools, A2A = telephone network for agents.

📖 CITATION
"A2A focuses on enabling agents to collaborate in their natural, unstructured modalities, even when they don't share memory, tools and context."
— Google Developers Blog, April 2025 · source ↗

MCP vs. A2A

MCPA2A
PurposeConnect AI → ToolsConnect Agent → Agent
AnalogyUSB-CTelephone network
RelationshipClient → ServerPeer → Peer
CreatorAnthropic (Nov 2024)Google (Apr 2025)
In googleadsagent.ai28 tool actionsSub-agent collaboration

Architecture Walkthrough: "Audit my Google Ads account"

1
User → Orchestrator: CEP Protocol activates. 'Which account? Date range? Threshold?'
2
→ 🦁 Simba (Reporting): Pulls account-level data. 'Summarize, don't dump.' → '3 campaigns with 0 conversions, $2,400 spend.'
3
→ 🐠 Nemo (Research): Analyzes search terms + competitive landscape. → '62% irrelevant queries. "free" in 28%.'
4
→ ❄️ Elsa (Optimization): Evaluates bids, budgets, recommendations. → 'Reallocate $3,200/mo for +28% ROAS.'
5
→ 🌊 Moana (Creative): Reviews ad assets. → '8 ads Poor/Average strength. 4 campaigns missing RSAs.'
6
Orchestrator Synthesizes: Reads scratchpad, cross-validates totals, resolves contradictions, compiles unified report with prioritized recommendations.

Google's Agentic Commerce Vision

📖 CITATION
"Announced Universal Commerce Protocol (UCP) for agentic commerce — compatible with A2A, Agent Payments Protocol, MCP. Built with Shopify, Etsy, Wayfair, Target, Walmart."
— Sundar Pichai, NRF 2026 (Jan 12, 2026) · source ↗

🎮 Vibe Coding: Duck Hunt

Build a Duck Hunt-style shooting gallery as a single HTML file.\n- Click to shoot flying ducks\n- Randomized flight patterns, crosshair cursor\n- Gunshot sound + muzzle flash (Web Audio API)\n- Hit ducks tumble, dog retrieves\n- 10 ducks/round, 3 rounds, increasing difficulty\n- 3 shots per duck, score + accuracy %\n- Classic NES aesthetic

🎮 Capstone: AI Game Master RPG

Build an AI-powered text RPG Game Master as a single HTML file.\n- Character creation: name, class (Warrior/Mage/Rogue)\n- Stats: HP, Attack, Defense, Magic, Level, XP\n- Inventory with equippable items + consumables\n- Turn-based combat with enemy AI\n- Adaptive narrative (3+ branching points)\n- Shop between encounters\n- Boss encounter, HP bars, dark-fantasy styling, save/load
🤖 WHY THIS IS AGENTIC
Brain (game AI) + Tools (combat calc, inventory, story engine) + Memory (character state, story progress) + Orchestration (all systems simultaneously) = the same architecture as googleadsagent.ai, applied to games.

Multi-Platform Agent Architecture

Production advertising agents don't manage just one platform. The real power emerges when agents orchestrate across Google, Meta, Microsoft, and Amazon simultaneously.

Cross-Platform Budget Orchestration

The most valuable production use case is AI-driven budget allocation across platforms:

SignalAgent ActionPlatforms Affected
Google CPA up 30% week-over-weekShift 15% budget to Meta prospectingGoogle Ads, Meta
Meta frequency >4.0 on core audienceExpand to Microsoft Audience NetworkMeta, Microsoft
Amazon ACoS below target by 40%Increase Amazon Sponsored Brand spend; reduce Google ShoppingAmazon, Google
Black Friday approaching (7 days)Pre-load budgets across all platforms; shift to conversion campaignsAll platforms

Automated Reporting Across Platforms

The highest-value, most immediately adoptable AI use case for agencies is automated cross-platform reporting:

Building AI Ad Tools as Products

The journey from script → tool → product is how googleadsagent.ai was built. Key production considerations:

StageWhat You BuildExample
ScriptOne-off automation for yourselfGoogle Ads Script that pauses low-QS keywords
ToolReusable, parameterized, shareable250-Point Audit Engine with UI
ProductMulti-tenant, authenticated, monetizablegoogleadsagent.ai — full SaaS with 28 actions and 6 sub-agents

AI Tools You Can Use Today

TOOLS ON GOOGLEADSAGENT.AI
250-Point Audit Engine — Full Google Ads account audit. MCP-connectable. Auto-strategy generation.
Google Ads Builder — AI-powered RSA headline/description generation. Claude, GPT, or Gemini.
Keyword Analyzer — 3 analysis modes: seed expansion, competitor mining, SERP intelligence.
Social Media Ad Builder — Generate copy for Google, Meta, LinkedIn, TikTok, X, Pinterest, Reddit, Amazon.
Marketing Analytics Auditor — GA4 + GTM + pixel auditor with auto-remediation code.
Business Discovery Engine — Lead discovery from public data: 65 categories, 4 sources, 9 email methods.

✅ Key Takeaways

  • Production = error handling, auth, monitoring, scaling, testing, privacy, cost, human oversight.
  • MCP connects agents to tools. A2A connects agents to each other. Complementary.
  • Multi-agent systems: specialized sub-agents coordinated by orchestrator.
  • Google's UCP: agents as direct participants in commerce transactions.
  • Cross-platform budget orchestration is the highest-value multi-agent use case.
  • Automated reporting across Google + Meta + Microsoft is the most immediately adoptable AI for agencies.
  • The script → tool → product pipeline is how you go from automation to SaaS.

🧪 Day 5 Quiz — 4 Questions · 40 XP

Score: / 4

1. What is A2A (Agent-to-Agent Protocol)?

2. How does MCP differ from A2A?

3. What is Simba's governing principle?

4. What was announced at NRF 2026 for agentic commerce?

PRODUCTION MULTI-AGENT SYSTEMS
Day 5's production patterns are live on googleadsagent.ai right now:
googleadsagent.ai — The production multi-agent system managing live Google Ads
Reporting Dashboard — Multi-agent audit results in real-time
All Free Tools — 15+ production tools powered by the architecture you just learned
12-Week Advanced Learning Curriculum
✓ MARK DAY 5 COMPLETE

Appendix A: Complete Resource Library

Google/Kaggle White Papers

#TitleAccess
1Introduction to Agentskaggle.com ↗
2Agent Tools & MCPGoogle Agents Intensive
3Context EngineeringKaggle ↗
4Agent QualityGoogle Agents Intensive
5Prototype to ProductionGoogle Agents Intensive

All 5 compiled: github.com/sameeerjadhav/google-agents-resources ↗

Free Courses

ProviderCourseCertificate
AnthropicClaude Code in ActionYes
AnthropicClaude 101Yes
AnthropicAI Fluency: Framework & FoundationsYes
AnthropicBuilding with the Claude APIYes
AnthropicIntro to MCP + MCP AdvancedYes
AnthropicIntro to Agent SkillsYes
MicrosoftAI Agents for Beginners (12 lessons)No
Hugging FaceAI Agents CourseYes
DeepLearning.AIAgents in LangGraphYes
Agent AcademyUnderstanding Agentic AIYes
NEW: ANTHROPIC ACADEMY
Anthropic now offers 13 free courses with certificates on their Skilljar platform. See the full breakdown in the Anthropic Academy section.

Protocols

ProtocolCreatorDateDocs
MCPAnthropicNov 2024modelcontextprotocol.io ↗
A2AGoogleApr 2025google.github.io/A2A ↗
UCPGoogleJan 2026Announced at NRF 2026

Frameworks

FrameworkLanguageURL
Google ADKPythonGitHub ↗
LangGraphPython/JSlangchain.com ↗
CrewAIPythoncrewai.com ↗
AutoGenPythonGitHub ↗

Observability

PlatformTypeURL
LangSmithMonitoringlangsmith.com ↗
BraintrustEvaluationbraintrust.dev ↗
Arize PhoenixTracing (OSS)GitHub ↗
RAGASRAG Eval (OSS)ragas.io ↗

Appendix B: Glossary

22 key terms.

TermDefinition
A2AGoogle's open standard for agent-to-agent communication regardless of framework.
AgentSoftware using an LLM to autonomously perceive, reason, decide, and act.
CEP ProtocolClarifying Exchange Protocol — googleadsagent.ai's pre-execution qualifying questions.
CONFIRM ProtocolWrite-safety requiring user approval before mutations, with current-vs-proposed preview.
Context EngineeringDesigning the complete information payload flowing into an agent's prompt.
Context WindowMaximum text (tokens) an LLM processes in one interaction.
Foundation ModelThe LLM serving as an agent's reasoning engine (Claude, GPT-4, Gemini).
GuardrailsSafety mechanisms (input, output, action) constraining agent behavior.
HallucinationWhen AI confidently produces incorrect or fabricated information.
LLM-as-a-JudgeUsing a separate LLM to evaluate agent outputs against rubrics.
MCPAnthropic's standard for universally connecting AI to tools and data.
Multi-Agent SystemMultiple specialized agents collaborating on complex tasks.
OrchestratorCoordinating agent that delegates to sub-agents and synthesizes outputs.
RAGRetrieval-Augmented Generation — searching vector DBs for relevant context.
ReAct LoopReason → Act → Observe → Repeat. Core agent orchestration pattern.
ScratchpadStructured working document of categorized findings during multi-step tasks.
Sub-AgentSpecialized agent for one domain (e.g., 🦁 Simba for Reporting).
The Loopgoogleadsagent.ai's architecture: ask → clarify → execute → validate → loop.
ToolExecutable function extending agent capabilities beyond text generation.
Top-Down ReportingValidation: account summary first, details must sum to totals.
UCPUniversal Commerce Protocol — Google's standard for agentic commerce.
Vibe CodingBuilding software through natural-language description (Karpathy, 2025).

Appendix C: googleadsagent.ai Technical Reference

ComponentSpecification
Foundation ModelClaude by Anthropic (Opus 4.5 + Sonnet 4.5)
Tools28 Python API actions with live Google Ads read/write
Sub-Agents6 Disney-named specialists
Credential PatternsA (5-key, 12 actions) · B (4-key, 13) · C (Cloudinary, 1) · D (none, 2)
SafetyCONFIRM protocol with current-vs-proposed + rollback labeling
ContextCEP Protocol + Session State Manager (Action #17)
ValidationTop-Down Reporting: details cross-validated against totals
DeploymentCLI · REST API · Docker · Python SDK
Repository66 files, 12 directories
LicenseOpen source
URLgoogleadsagent.ai

Sub-Agent Specifications

NameModelActionsDomainPrinciple
🦁SimbaOpus 4.58Reporting'Summarize, don't dump.'
🐠NemoOpus 4.54Research'Insight over information.'
❄️ElsaOpus 4.58Optimization'Preview before execute.'
🧞AladdinOpus 4.57Shopping/PMax'ROAS is king.'
🌊MoanaOpus 4.52Creative'Visual first.'
🤖BaymaxSonnet 4.52Innovation'Receive → Process → Return.'

All 28 Actions

#ActionCategoryCred
01Label ManagerOrganizationA
02Conversion TrackingAnalysisA
03Audience ManagerTargetingB
04Asset ManagerOrganizationB
05Budget ManagerCampaignB
06RSA Ad ManagerCampaignB
07Bid & Keyword ManagerCampaignB
08Negative KeywordsOrganizationB
09Campaign & Ad Group MgrCampaignB
10Google Ads MutateCampaignB
11Account Access CheckerInfrastructureB
12Scripts ManagerInfrastructureA
13Experiments ManagerOptimizationA
14Package InstallerInfrastructureD
15Check User AccessInfrastructureB
16API GatewayInfrastructureB
17Session & State ManagerInfrastructureD
18Cloudinary CreativeCreativeC
19Query PlannerAnalysisA
20Recommendations ManagerOptimizationA
21Search Term ManagerAnalysisB
22Geo & Location ManagerTargetingB
23Device PerformanceAnalysisA
24Change History ManagerAnalysisA
25Campaign CreatorCampaignA
26Ad Schedule ManagerOptimizationA
27Bidding Strategy ManagerOptimizationA
28PMax Asset Group MgrPMaxA

References (APA 7th Edition)

Alphabet Inc. (2025, July 23). Q2 2025 earnings call transcript. https://abc.xyz/investor/

Anthropic. (2024, November). Introducing the Model Context Protocol. https://anthropic.com/news/model-context-protocol

Google. (2025). Introduction to agents [White paper]. Kaggle. https://kaggle.com/whitepaper-agents

Google. (2025). Agent tools and interoperability with MCP [White paper]. Kaggle Agents Intensive.

Google. (2025). Context engineering: Sessions and memory [White paper]. Kaggle.

Google. (2025). Agent quality [White paper]. Kaggle Agents Intensive.

Google. (2025). Prototype to production [White paper]. Kaggle Agents Intensive.

Google. (2025, April 9). Announcing the Agent2Agent Protocol. Google Developers Blog. developers.googleblog.com

Google. (2025, April 9). Cloud Next 2025 announcements. Google Blog. blog.google

Google DeepMind. (2025, March 6). Gemini 2.0: Built for the agentic era. Google Blog.

Karpathy, A. (2025, February). Vibe coding [Post]. X. https://x.com/karpathy

Microsoft. (2025). AI agents for beginners [Course]. GitHub. github.com

Pichai, S. (2025, May 20). Google I/O 2025 keynote. Google Blog. blog.google

Pichai, S. (2026, January 12). NRF 2026 remarks. Google Blog. blog.google

Yao, S., et al. (2022). ReAct: Synergizing reasoning and acting in language models. arXiv. arxiv.org/abs/2210.03629

About the Author

AUTHOR E-E-A-T CREDENTIALS
Experience: 15+ years managing $48M+ in digital advertising spend across Google Ads, Meta, Microsoft, Amazon
Expertise: Senior Paid Media Specialist at Seer Interactive · 28 custom API actions · 6 sub-agent architecture
Authority: Hero Conf 2025 speaker · 19+ open-source tools on GitHub · NortonLifeLock 192% YoY growth
Trust: Open-source under MIT license · APA 7th citations · Verifiable data and references throughout

John Williams is a Senior Paid Media Specialist at Seer Interactive with 15+ years managing $48M+ in digital advertising spend across Google Ads, Meta, Microsoft, Amazon, and other platforms. Previous: NortonLifeLock (192% YoY paid search growth), Gen Digital, Avast, Farmers Insurance.

Creator of googleadsagent.ai — open-source AI agent with 28 API actions and 6 sub-agents. Operates "It All Started With A Idea," his consultancy and product studio. Speaker at Hero Conf 2025. 19+ open-source marketing automation tools on GitHub.

Assistant football coach at Casteel High School (WR, DB, special teams). Former Washington State University football player (2002–2005).


This course is free and open source. Share it. Teach it. Fork it.
The future of AI agents belongs to everyone.

LAST UPDATED:

↗ GITHUB ↗ LINKEDIN ↗ AGENT ↗ PROFILE ↗ AI PLAYBOOK ↗ FREE TOOLS

Anthropic Academy — Free Courses & Certificates

Anthropic's official learning platform offers 13 free courses with certificates. These complement the crash course — take them alongside or after to deepen specific skills.

ALL COURSES ARE FREE
Every course below is free on Anthropic Academy (Skilljar). No Anthropic account required — just create a free Skilljar login. Certificates of completion are issued for all courses.

Featured Courses

AI Fluency

Anthropic's framework for effective human-AI collaboration. The Four Ds: Delegation (when to use AI), Description (how to communicate), Discernment (evaluating outputs), Diligence (responsible use).

Developer & Technical

Cloud Deployment

New Products to Know

ProductWhat It IsLaunched
Claude CodeAI coding assistant with agentic architecture for multi-step programming tasks. IDE integration, GitHub, MCP.2025
Claude CoworkAgentic AI workspace for file-based tasks — organizing, spreadsheets, reports, documents. Sub-agent coordination.Jan 2026
SkillsReusable SKILL.md workflows. Extend Claude Code and Cowork. Claude applies them automatically.2026
MCPOpen protocol connecting LLMs to external data, tools, and systems. Now supported by Google, Microsoft, OpenAI.Nov 2024

🧪 Anthropic Academy Quiz — 3 Questions · 30 XP

Score: / 3

1. What are the Four Ds of AI Fluency?

2. What are the three MCP primitives?

3. What is Claude Cowork?

Course Roadmap & Expansion Plan

The 5-day core course covers AI agent fundamentals through production multi-agent systems. This roadmap identifies 8 categories and 30+ modules that will expand the curriculum into a comprehensive AI-for-advertising education platform.

GUIDING PRINCIPLE
Every module ties back to googleadsagent.ai as the reference implementation. Theory is taught through practice. Concepts map to live tools and real campaign data.
PHASE 1 — ADDITIONS TO CORE COURSE (IN PROGRESS)

Quick wins that strengthen the existing 5-day structure without breaking its flow.

Module 1.1

Prompt Engineering Deep Dive

System prompts, few-shot, chain-of-thought, tree-of-thought. Role prompting and persona design. Prompt testing and evaluation frameworks.

COMING SOON
Module 1.2

RAG (Retrieval-Augmented Generation)

Vector databases, embedding models, chunking strategies, hybrid search. The #1 production pattern for grounding agents in real data.

COMING SOON
Module 1.3

Fine-Tuning & Model Customization

When to fine-tune vs. prompt vs. RAG. LoRA/QLoRA for open-source models. Distillation for brand voice and compliance.

PLANNED
Module 1.4

AI Safety, Ethics & Guardrails

Prompt injection defense, output filtering, Constitutional AI, Guardrails frameworks. Responsible AI in advertising.

COMING SOON
Module 1.5

Evaluation & Benchmarking

LLM-as-judge, human eval frameworks, A/B testing AI outputs. Cost/latency/quality tradeoff analysis for ad use cases.

PLANNED
Module 1.6

Reasoning Models & Chain-of-Thought

o1/o3, Claude thinking mode, Gemini thinking. When to use reasoning models for complex advertising analysis.

PLANNED
Module 1.7

Computer Use / Browser Agents

Claude Computer Use, OpenAI Operator. Browser automation for ad platform management with Stagehand and Playwright.

PLANNED
Module 1.8

Voice & Multimodal AI

Voice agents, vision models for creative analysis, video understanding for video ad review, audio transcription.

PLANNED
PHASE 2 — PLATFORM-SPECIFIC TRACKS (NEW COURSES)

Deep-dive courses for each major advertising platform, taught through the agent lens.

Google Ads Track (6 Modules)

Module 2.1

Google Ads API Deep Dive

OAuth2, service accounts, GAQL mastery, campaign CRUD operations, change history. The API foundation behind googleadsagent.ai's 28 actions.

COMING SOON
Module 2.2

Google Ads Scripts

Apps Script environment, automated rules, bulk operations, MCC-level scripts. The most accessible automation entry point.

COMING SOON
Module 2.3

AI-Powered Optimization

Automated bidding selection, RSA generation with AI, search query analysis, Quality Score optimization, landing page analysis.

PLANNED
Module 2.4

Performance Max & AI Campaigns

PMax asset group strategy, AI-generated assets, insights interpretation, audience signal optimization.

PLANNED
Module 2.5

Reporting & Analytics with AI

Natural language to GAQL, anomaly detection, AI-generated campaign narratives, cross-campaign attribution.

PLANNED
Module 2.6

Google Merchant Center & Shopping

Product feed optimization with AI, title/description generation, competitive pricing, campaign structure.

PLANNED

Microsoft Ads Track (3 Modules)

Module 3.1

Microsoft Ads API & Automation

Bing Ads API, Microsoft Advertising Scripts, bulk service, Google Ads import automation.

PLANNED
Module 3.2

Microsoft Copilot Integration

Copilot for Microsoft Advertising, AI recommendations, Microsoft Audience Network, LinkedIn targeting.

PLANNED
Module 3.3

Cross-Platform Search Management

Google-to-Microsoft mirroring agents, unified reporting, budget allocation between platforms.

PLANNED

Meta Ads Track (4 Modules)

Module 4.1

Meta Marketing API

Graph API fundamentals, campaign management, Conversions API (CAPI), Custom Audiences and Lookalike automation.

PLANNED
Module 4.2

AI Creative Generation for Meta

Copy + image + video generation, Dynamic Creative Optimization, A/B testing AI creatives, Advantage+ Creative.

PLANNED
Module 4.3

Advantage+ AI Campaigns

Advantage+ Shopping, AI audience targeting, budget optimization across placements, automated rules.

PLANNED
Module 4.4

Meta Reporting & Analysis

Automated insights, creative fatigue detection, audience overlap analysis, attribution modeling.

PLANNED

Amazon Ads Track (2 Modules)

Module 5.1

Amazon Ads API

Sponsored Products, Brands, Display API. Amazon DSP automation, bid optimization agents, negative targeting.

PLANNED
Module 5.2

Amazon Listing Optimization

AI-powered title/bullet generation, A+ Content, review sentiment analysis, competitive pricing intelligence.

PLANNED
PHASE 3 — CROSS-PLATFORM AI (ADVANCED)

Advanced modules for senior strategists and technical practitioners.

Cross-Platform AI for Advertising (7 Modules)

Module 6.1

Creative Asset Validation

Image analysis for compliance, video ad scene detection, brand consistency, accessibility analysis. Live in the Builder tool.

LIVE ON SITE
Module 6.2

Competitive Intelligence

Competitor ad monitoring, Ad Library analysis, competitive positioning, market trend detection.

PLANNED
Module 6.3

Budget Orchestration & Media Mix

Cross-platform budget allocation, media mix modeling, incrementality testing, forecasting.

PLANNED
Module 6.4

Audience Intelligence

First-party data activation, predictive modeling, customer segmentation with LLMs, cookieless targeting.

PLANNED
Module 6.5

Conversion Tracking & Measurement

GA4 + AI, server-side tracking, cross-platform attribution, anomaly detection, consent management. Live in the Auditor tool.

LIVE ON SITE
Module 6.6

Automated Reporting & Client Comms

Natural language reports, automated insights, Slack/email alerts, AI executive summaries from raw data.

COMING SOON
Module 6.7

Search Query Optimization System

Automated SQ analysis, intent classification, negative keyword engines, query-to-keyword mapping.

COMING SOON

AI Tools & Frameworks (6 Modules)

Module 7.1

LangChain / LangGraph

Agent frameworks, stateful workflows, LangSmith tracing. The most popular open-source agent framework.

PLANNED
Module 7.2

CrewAI / AutoGen / OpenAI Agents SDK

Multi-agent framework comparison, role-based teams, Google ADK. The frameworks practitioners actually use.

PLANNED
Module 7.3

n8n / Make / Zapier AI Automation

No-code/low-code AI workflows, connecting agents to business tools, webhook-driven triggers.

PLANNED
Module 7.4

Claude Projects, Custom GPTs & Gems

Building custom AI assistants for ad workflows, knowledge base config, instruction tuning.

PLANNED
Module 7.5

MCP Server Development

Building custom MCP servers for Google Ads, Meta, Microsoft. Publishing and sharing MCP servers.

COMING SOON
Module 7.6

AI Coding Assistants for Advertisers

Claude Code, GitHub Copilot, Cursor for ad tool development. Deep vibe coding treatment.

PLANNED

Emerging & Advanced (4 Modules)

Module 8.1

Agentic Ad Operations

Campaign launch checklists automated by agents, QA automation, pacing alerts, approval workflows.

PLANNED
Module 8.2

AI for SEO + Paid Search

Content gap analysis, SERP feature optimization, paid + organic alignment, technical SEO auditing.

COMING SOON
Module 8.3

Data Engineering for AI Advertising

BigQuery, ETL pipelines, data modeling, Looker Studio / Tableau AI visualization.

PLANNED
Module 8.4

Deploying AI Tools as Products

SaaS architecture, multi-tenant design, pricing and packaging. From script to tool to product — the It All Started With A Idea journey.

COMING SOON

Summary

PhaseModulesStatus
Phase 1 — AI Foundations8 modules (Prompt Engineering, RAG, Safety, Reasoning, etc.)In Progress
Phase 2 — Platform Tracks15 modules (Google Ads 6, Meta 4, Microsoft 3, Amazon 2)Planned
Phase 3 — Advanced17 modules (Cross-Platform 7, Frameworks 6, Emerging 4)Planned

Modules marked LIVE ON SITE are already available as tools on googleadsagent.ai. Modules marked COMING SOON are actively in development.

WANT A MODULE PRIORITIZED?
This roadmap is shaped by practitioner feedback. Connect on LinkedIn or open an issue on GitHub to vote for the modules you need most.
🔰 Novice
0 XP
🔥 0 streak
📝 0/6 quizzes
🎯💯🏆🔥🎓