kLOsk/adloop
Google Ads MCP server for Claude, ChatGPT and Cursor, with Reddit Ads, GA4 and Tag Manager. Every change is previewed first.
What it solves
Managing Google Ads alongside code means constantly switching between the Ads UI, GA4 dashboards, and tracking code. AdLoop tackles specific recurring problems: diagnosing why conversions dropped by cross-referencing ad clicks, GA4 sessions, and conversion events in a single query; finding wasted spend in search terms and adding negative keywords without leaving your IDE; checking whether tracking actually works by comparing events in your codebase against what GA4 receives; creating ads and campaigns through natural language instead of the Ads UI; identifying landing pages that get paid traffic but no conversions; and auditing Google Tag Manager containers to find tracking gaps like paused tags or too-narrow page-scope filters. It also accounts for GDPR consent rejection (30-70% of EU users reject analytics cookies), so a normal consent gap isn't misdiagnosed as broken tracking.
How it works
AdLoop is an MCP (Model Context Protocol) server that plugs into AI assistants like Claude, ChatGPT, and Cursor. It provides a large set of read tools that pull data from the Google Ads API, GA4 Data API, and Tag Manager API — campaign performance, search terms, keyword quality scores, audience segments, PMax asset details, GA4 reports, GTM tag/trigger/workspace states, and more. A second set of write tools (drafts) follows a draft → preview → confirm flow: every change shows a preview first, and in Claude, ChatGPT, and VS Code the preview appears as an approval card that only a human can click — the AI cannot press Apply. New ads and campaigns start paused. Cross-reference tools call both Ads and GA4 APIs internally and return unified results with auto-generated insights. GTM write tools are off by default; enabling them requires a separate opt-in config change and re-consent with the Tag Manager edit and publish scopes. There is also a cloud-hosted version (AdLoop Cloud) that runs the same tools with the same safety model, needing no Google Cloud project or API access application.
Who it's for
Marketers, performance analysts, and developers who run Google Ads or Reddit Ads campaigns and want to manage them from an AI assistant or within their IDE, rather than switching to the Ads UI. Also for anyone troubleshooting tracking issues across Ads, GA4, their codebase, and Google Tag Manager — whether they want a zero-setup hosted service or a self-hosted, MIT-licensed local installation.
Highlights
- Cross-reference tools join Ads clicks, GA4 sessions, and conversion events to diagnose conversion drops, verify attribution, and analyze landing pages in one query
- Safety model: every write is a draft requiring explicit human confirmation — the AI cannot apply changes itself — and new ads/campaigns start paused
- Google Tag Manager audits do a three-way join of codebase events, GTM tags, and GA4 fires, flagging ten distinct coverage statuses with auto-generated insights
- Broad Google Ads coverage: Search, Performance Max, Shopping, audience segments, brand lists, AI Max settings, recommendation subscriptions, and change history with "who changed what" details
- Compact mode shrinks large reports ~90% so account audits don't flood the AI's context
- Cloud (free plan, no credit card, EU-hosted) or self-hosted (pip install adloop, MIT license, data stays on your machine)
Related
- Project
- Project
- Project
- Project