Adloop

Marketing and SEO

Google Ads MCP server for Claude, ChatGPT and Cursor, with Microsoft Advertising, Reddit Ads, GA4 and Tag Manager. Every change is previewed first.

Your AI app calls the Adloop MCP server, which does the marketing and SEO work and sends the result back to the chat.

About Adloop

Adloop is a community MCP server from kLOsk, filed in our directory under marketing and seo. Google Ads MCP server for Claude, ChatGPT and Cursor, with Microsoft Advertising, Reddit Ads, GA4 and Tag Manager. Every change is previewed first.

At a glance

Publisher
kLOsk (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
306

How to set up Adloop

  1. Follow the install steps in the Adloop README; it is written in Python, so have that toolchain ready.
  2. Check the Adloop README for keys or settings; the registry lists none that Adloop requires.
  3. Add Adloop to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Adloop tools to confirm the connection.
  5. Run one read-only task with Adloop first, and keep your app asking before each tool call until the results look right.

Adloop compared with similar servers

  • Gsc (ahonn) by ahonn has fewer GitHub stars than Adloop (289 against 306); both are community servers, and both run locally.
  • Facebook Ads Library by proxy-intell has more GitHub stars than Adloop (332 against 306); both are community servers, and both run locally.
  • Sendgrid by codespar has fewer GitHub stars than Adloop (278 against 306); both are community servers, and both run locally.

Before you connect Adloop

  • Give Adloop its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Adloop tool call until you trust what it does with them.
  • Treat text that Adloop fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Adloop on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Adloop

How marketing and sales teams put Adloop to work, by company size. Pick the size closest to yours and start Adloop on one use case.

Small business

  • A small business can ask Adloop which pages lost rankings this month and get a short fix list instead of a dashboard to interpret.
  • Owners writing their own content can use Adloop to check keywords and competitors before drafting, so each post targets a search people make.
  • Adloop runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Content teams can connect Adloop to plan briefs from live keyword data, then track which published pages moved after a refresh.
  • Growth teams can use Adloop to compare campaign performance across channels in one question, without exporting three reports.
  • Start Adloop on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise SEO teams can run Adloop across many domains and markets to flag technical issues and cannibalized pages before a quarterly review.
  • Brand and AI search teams can use Adloop to watch how the company shows up in search and AI answers, with findings fed into the content roadmap.
  • Adloop is a community server, so have security review the code and pin a version before Adloop touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Adloop README

From kLOsk/adloop on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

AdLoop

The Google Ads MCP server for Claude, ChatGPT and Cursor.

Plus Microsoft Advertising, Reddit Ads, GA4 and your tracking code, with a preview before every change.

An MCP server that gives your AI assistant read + write access to Google Ads, Microsoft Advertising, Reddit Ads and GA4, with safety guardrails that prevent accidental spend.

☁️ Skip the setup, use AdLoop Cloud (free plan, no card) · or self-host: pip install adloop

[!TIP] AdLoop Cloud is the hosted version of this project, with a free plan that needs no credit card. Connect Google in two clicks and use the full toolset from claude.ai, ChatGPT, Claude Code, Cursor, or Gemini. No Google Cloud project, no API access application, no OAuth verification wait. EU-hosted, GDPR-first, DPA included.

📚 Documentation: docs.getadloop.com, setup guides per AI client, toolsets, the safety model, and troubleshooting for both editions.

📖 New to MCP, or comparing this with Google's own server? Google Ads MCP, explained covers what a Google Ads MCP server does, how Google's official one differs, and how to connect Claude or ChatGPT.

Cloud or Self-Hosted?

Both versions run the same tools with the same safety model. The difference is who handles the plumbing:

☁️ AdLoop Cloud 🛠️ Self-hosted (this repo)
Setup Connect Google in two clicks ~5 min: own Google Cloud project + adloop init
Google Cloud project Not needed Required (free)
Ads API access Not needed Granted to your Cloud project (no developer token, no MCC since Sept 2026)
Works with claude.ai, ChatGPT, Claude Code, Cursor, Gemini Claude Code, Cursor, Claude Desktop, any local MCP client
Where your data flows EU servers (Germany), GDPR-first, DPA included 100% your machine, nothing leaves it
Updates Automatic pip install -U adloop
Price Free plan, no card; paid plans for more accounts and volume Free forever (MIT)

Not sure? Start with Cloud, it's the fastest way to see what AdLoop can do, and it's the only way to use AdLoop from claude.ai or ChatGPT. Self-host when you want everything on your own machine or need to modify the code. And if you're here to hack on AdLoop itself: welcome, keep scrolling.

What It Solves

AdLoop exists because managing Google Ads alongside your code is a mess. These are the specific problems it handles:

  • "My conversions dropped and I don't know why." AdLoop cross-references Ads clicks, GA4 sessions, and conversion events in one query. It detects whether the gap is from GDPR consent rejection, broken tracking, or an actual landing page problem, before you waste hours checking each dashboard separately.

  • "I'm wasting ad spend on irrelevant searches." Pull your search terms report, identify the junk, and add negative keywords, all from a single conversation in your IDE. No context-switching to the Ads UI.

  • "Is my tracking even working?" Compare the event names in your actual codebase against what GA4 is receiving. Find the mismatches: events you fire that GA4 never sees, events GA4 records that you didn't know about.

  • "I need to create ads but the Google Ads UI is hostile." Draft responsive search ads, create campaigns, add keywords, all through natural language. Every change shows a preview first. Nothing goes live without your explicit confirmation: in Claude, ChatGPT and VS Code the preview is an approval card, and only your click on Apply changes the account (the AI cannot press it). New ads and campaigns start paused.

  • "My landing page gets paid traffic but nobody converts." AdLoop joins your ad final URLs with GA4 page-level data. See which pages get clicks but no conversions, which have high bounce rates, and which ones are orphaned from any ad campaign.

  • "Are conversions even being tagged on every page?" AdLoop reads your live Google Tag Manager container, joins it against the events in your codebase and the events firing in GA4, and tells you exactly which conversions are being captured, which tags are paused, which page-scope filters are too narrow, and which codebase events have no tag at all, the kind of three-way audit GTM Preview can't give you in a single view.

  • "I don't know if my EU consent setup is causing data gaps." In Europe, 30-70% of users reject analytics cookies. AdLoop accounts for this automatically, it won't diagnose a normal GDPR consent gap as broken tracking.

Built From Real Usage

Every tool exists because of an actual problem hit while running real Google Ads campaigns. The cross-reference tools exist because we kept manually asking the AI to "get Ads data, then get GA4 data, then compare them", so we automated the join. The Broad Match + Manual CPC safety rule exists because the AI once created that exact combination and wasted budget. The GDPR consent awareness exists because the AI kept diagnosing normal EU cookie rejection as broken tracking.

The best features come from real workflows. If you're using AdLoop and find yourself wishing it could do something it can't, open an issue describing your situation, not just "add feature X" but "I was trying to do Y and couldn't because Z." The context matters more than the request.

All Tools

Quick start: pip install adloop or git clone https://github.com/kLOsk/adloop.git && cd adloop && uv sync && uv run adloop init, or zero setup on AdLoop Cloud

Diagnostics
Tool What It Does
health_check Test OAuth, GA4, and Ads connectivity in one call, actionable error messages if anything is broken. Also reports the pinned Google Ads API version and warns if a newer version is available.
GA4 Read Tools
Tool What It Does
get_account_summaries List GA4 accounts and properties
run_ga4_report Custom reports: sessions, users, key events, page performance. Optional dimension and metric filters, ordering, paging, and a comparison period
run_realtime_report Live data, verify tracking fires after deploys
get_tracking_events All configured events and their volume
list_key_events The property's key events (conversions) with counting method, create time and whether they can be deleted
list_ga4_dimensions_and_metrics Every dimension and metric the property can report on, including custom ones, with search
Google Ads Read Tools
Tool What It Does
list_accounts Discover accessible Ads accounts
get_campaign_performance Campaign metrics: impressions, clicks, cost, conversions, CPA, Search impression share and share lost to budget/rank
get_ad_performance Ad copy analysis: headlines, descriptions, CTR, policy approval status and topics
get_keyword_performance Keywords, quality scores, competitive metrics
get_search_terms What users actually searched before clicking
get_negative_keywords List direct campaign-level negative keywords
get_negative_keyword_lists List all shared negative keyword lists (SharedSets), names, IDs, status, keyword count
get_negative_keyword_list_keywords List the keywords inside a specific shared negative keyword list
get_negative_keyword_list_campaigns List which campaigns a shared negative keyword list is attached to
get_recommendations Google's auto-generated recommendations with type, estimated impact, and campaign context
get_recommendation_subscriptions Which recommendation types Google applies automatically (auto-apply), with status and last change; flags any that are on
get_pmax_performance Performance Max campaign metrics with network breakdown + asset group ad strength
get_pmax_assets Per-asset details for PMax, field type, serving status, content
get_asset_group_signals A PMax asset group's search themes and audience signal, plus the audiences available for it
get_detailed_asset_performance Top-performing asset combinations, which headline+description+image combos Google selects most
get_audience_performance Audience segment performance, remarketing, in-market, affinity, demographics
get_shopping_product_performance Spend, conversions, CPA and ROAS per product across Shopping and Performance Max, plus products that spent without converting
get_change_history What changed before the drop: who changed what and when, through which client (UI, API, scripts, auto-applied recommendations), last 30 days
get_demographic_targeting List demographic criteria (age/gender/parental status/income) on an ad group or campaign
get_audience_lists The account's remarketing and customer lists (size, eligibility, open/closed), custom and combined segments
search_audience_segments Find Google's in-market and affinity segments by name
get_audience_targeting Audiences and audience exclusions on a campaign or ad group, plus the audience mode (observation or targeting)
suggest_brands Resolve a brand name to the brands Google recognizes, brand ID, name, state, URLs
check_brand_names Check a shortlist of brand names against Google's brand knowledge graph (max 25 per call)
get_brand_lists List brand lists (SharedSets of type BRANDS), ID, name, status, member count
get_brand_list_brands List the brands inside a list, with the Commercial KG MID and the criterion ID for removals
get_brand_list_campaigns Which campaigns a brand list is attached to, and whether each attachment excludes or targets
get_ai_max_settings AI Max knobs per campaign and ad group, enable_ai_max, bundling_required, the full asset_automation_settings list and each ad group's disable_search_term_matching
get_campaign_settings One flat record per Search campaign, networks, location option, campaign-level broad match, bidding, budget, URL options and AI Max, with the settings that widen reach flagged
get_custom_conversion_goals Custom conversion goals with their actions, plus one campaign's goal config
run_gaql Arbitrary GAQL queries for anything else

Brand lists, a list is a SharedSet of type BRANDS; attaching it to a campaign is a CampaignCriterion.brand_list (negative=true excludes, false restricts), not a CampaignSharedSet like negative keyword lists. remove_from_brand_list and detach_brand_list_from_campaigns remove for real, SharedCriterion has no status field.

Brand targeting, brand criteria (brand lists, brand exclusions) target a brand's Commercial Knowledge Graph ID, not its display name. Use suggest_brands for a single name or check_brand_names for a shortlist to get the ID; exact_match marks a candidate whose name matches apart from case and punctuation, everything else is a Google suggestion.

AI Max is the container for Search brand exclusions, Google rejects a brand list on a plain Search campaign with "For search advertising channel, brand lists can only be applied to exclusive targeting, broad match campaigns for inclusive targeting or PMax generated campaigns." draft_prepare_brand_exclusions sets the state that makes the exclusion usable without handing Google the automations: AI Max on, search term matching off per ad group, text and final-URL automation opted out. draft_ai_max_settings is the general form when only parts of that state should change, it refuses a plan that would leave an automation on unnoticed, and asks for a second confirmation when that automation was requested explicitly.

Custom conversion goals, a named set of conversion actions that a campaign can be pointed at. get_custom_conversion_goals shows the goals with their actions and a campaign's current goal config; draft_custom_conversion_goal creates a set, draft_update_custom_conversion_goal renames or replaces its actions, draft_assign_custom_conversion_goal points a campaign at it and draft_clear_custom_conversion_goal puts the campaign back on the account-level goals. Only the goal and the campaign's goal config are touched, conversion actions, bidding and budgets stay as they are.

Compact mode, get_campaign_performance, get_keyword_performance, get_search_terms, and get_ad_performance accept compact=true: account totals, breakdowns, top-10 rows, and pre-computed offender lists (zero-conversion spenders, low-QS keywords, negative-keyword candidates, thin RSAs) instead of every row. ~90% smaller responses, built for account audits so raw tables don't flood your AI's context.

Cross-Reference Tools (GA4 + Ads Combined)

These tools call both APIs internally and return unified results with auto-generated insights. They're the core of what makes AdLoop different from having separate GA4 and Ads tools.

Tool What It Does
analyze_campaign_conversions Maps Ads clicks → GA4 sessions → conversions per campaign. Detects GDPR consent gaps, computes real CPA, compares paid vs organic channels.
landing_page_analysis Joins ad final URLs with GA4 page data. Shows conversion rate, bounce rate, and engagement per landing page. Flags pages with paid traffic but zero conversions.
attribution_check Compares Ads-reported conversions vs GA4 events. Diagnoses whether discrepancies are from GDPR consent, attribution windows, or broken tracking.
Tracking Tools
Tool What It Does
validate_tracking Compare event names found in your codebase against what GA4 actually records. Returns matched, missing, and unexpected events with diagnostics.
generate_tracking_code Generate ready-to-paste GA4 gtag JavaScript for any event, with recommended parameters for well-known events (sign_up, purchase, etc.) and optional trigger wrappers.
Google Tag Manager Tools

These tools read the live GTM container and join it with the codebase + GA4 to find tracking gaps that pure GA4 inspection can't catch, page-scoped triggers, paused tags, dynamic event names, brittle CSS selectors, and codebase events with no tag wired up at all.

Tool What It Does
audit_event_coverage The flagship. Three-way join: codebase events ↔ GTM tags ↔ GA4 actual fires. For each event name in expected_events, returns one of 10 statuses (ok, no_tag_no_fire, tag_paused, tag_active_but_not_firing, gtm_only_firing, ga4_only, etc.) plus auto-generated insights for the gaps.
list_gtm_accounts Discover accessible GTM accounts
list_gtm_containers List containers under an account, returns numeric container_id (needed by other tools), public GTM-XXXXXXX ID, and usage context (web/iOS/Android/server)
list_gtm_tags Every tag in the live container with parsed event names and resolved firing/blocking trigger names. Pass workspace_id to read a workspace's unpublished state instead, so a just-drafted tag is visible (also on get_gtm_tag, list_gtm_triggers, get_gtm_trigger, list_gtm_variables)
get_gtm_tag Full raw config for a single tag, every parameter, firing/blocking triggers with filter conditions, priority, pause status, sampling
list_gtm_triggers Every trigger with filter conditions parsed to readable text (e.g. {{Page Path}} contains service-promotions, {{Form ID}} NOT contains wf-form-...). Renders the negate flag explicitly.
get_gtm_trigger Full trigger config + reverse lookup of every tag that uses it. Includes parsed element_visibility block (selector, on-screen ratio, firing frequency) for elementVisibility triggers and group_member_trigger_ids for triggerGroup types
list_gtm_variables Custom variables (data layer, constants, JS) plus enabled built-in variables
list_gtm_workspaces List drafts (workspaces) under a container, workspace IDs are needed by get_gtm_workspace_diff
get_gtm_workspace_diff Drafted-but-not-published changes, common cause of "I edited a tag but nothing happened". Returns is_clean: true when nothing is pending.
list_gtm_versions Version history, newest first, with version IDs and entity counts. The Tag Manager API returns no timestamps or author for versions.
get_gtm_version Name, notes and tag/trigger names for a single historical container version
get_gtm_version_diff What a publish changed: added, removed and changed tags, triggers and variables with the changed fields, plus built-in variables enabled or disabled. Defaults to the live version against the one before it; two or three API calls.
GTM write tools (opt-in)

Off by default. Set gtm.write_enabled: true in ~/.adloop/config.yaml and restart; the next call asks you to re-consent with the Tag Manager edit + publish scopes, which are never part of the default grant. Everything follows the usual draft → preview → confirm_and_apply flow, and tag/trigger edits only touch a workspace until you publish it.

Tool What It Does
draft_gtm_tag Create a tag, or update one by tag_id. Updates are a read-modify-write: parameters merge by key and every field you don't pass (priority, consent settings, firing options, schedule, folder, …) is preserved. Tag types are canonical GTM template IDs (googtag, gaawe, awct, sp, gclidw, …) or cvt_<id> gallery templates.
draft_gtm_trigger Create a trigger, or update one by trigger_id (type is immutable). custom_event_name wires a customEvent trigger to a dataLayer event.
draft_gtm_variable Create or update variables, e.g. Data Layer Variables for GA4 ecommerce values; renaming a referenced variable is refused, Custom JavaScript is gated
draft_delete_gtm_entity Delete a workspace tag, trigger or variable. Triggers and variables still in use are refused up front, with the references listed.
draft_publish_gtm_workspace Publish a workspace live. The preview lists every pending change, including edits other people made in the GTM UI.
draft_rollback_gtm_version Republish an older container version live. The preview is the diff from the live version to the target; the plan pins the live version, so apply refuses if someone publishes in between. Workspaces are left as they are.

Safety gates specific to GTM:

  • Custom HTML runs arbitrary JavaScript on your site, so creating or editing an html tag, or publishing a workspace that adds or changes one, is refused unless gtm.allow_custom_html: true is also set. Pausing or deleting one is always allowed.
  • No stale writes. Updates and deletes pin the entity's fingerprint from the preview, and publish pins the workspace's pending changes; if someone edits the container in between, apply refuses and you re-draft.
  • Publishing stops on merge conflicts or GTM compiler errors. The dry run runs a Tag Manager quick preview first (Tag Manager has no validate-only mode), so compiler errors surface before a version is even created. That preview is a POST and stores a preview version in the container, nothing is published and no live tag changes; the rest of the dry run only reads.
  • The publish and rollback results name the version they replaced (previous_live_version_id), so rolling back is one step: draft_rollback_gtm_version with that id. If the version was created but publishing it failed, the error carries both the created version id and the still-live one.
  • Per-operation names for safety.blocked_operations: gtm_create_tag, gtm_update_tag, gtm_delete_tag, gtm_create_trigger, gtm_update_trigger, gtm_delete_trigger, gtm_publish_workspace, gtm_rollback_version.

The Google account also needs Edit permission on the container (and Publish to publish) under Admin → User Management.

Setup for GTM tools, Enable the Tag Manager API v2 in your GCP project, then add your AdLoop credentials' email (the OAuth user, or the service account email if using a service account) as a Read user on the GTM container under Admin → User Management. Service accounts pick up access on the next call. OAuth users upgrading from an earlier AdLoop version must re-authorize once: the GTM scope is new, so delete ~/.adloop/token.json and run any tool to re-consent, until then GTM tools return a permissions error.

Search Console Tools
Tool What It Does
list_gsc_sites List Search Console properties the connected account can access
run_gsc_report Organic search analytics: clicks, impressions, CTR, position by query/page/country/device/date/searchAppearance/hour. Supports fresh data (data_state="all"), aggregation_type, and paging past 25,000 rows with start_row
Web Performance Tools
Tool What It Does
analyze_page_speed PageSpeed Insights for landing pages: Lighthouse score, Core Web Vitals, real-user CrUX data (falls back to origin-wide data, labelled as such, when the page has too little traffic), top fixes. No OAuth needed (optional API key).
Merchant Center Tools
Tool What It Does
list_merchant_accounts Discover accessible Merchant Center accounts
get_merchant_feed_health Feed health, approved/pending/disapproved counts per reporting context, paid surfaces kept apart from free listings, top product issues with docs, account-level issues. Disapprovals silently starve Shopping/PMax.
get_merchant_product_issues The products behind the feed-health counts: which are disapproved, limited or pending, and each issue with its attribute and affected countries

Setup for Merchant Center tools, Enable the Merchant API in your GCP project (the Content API for Shopping is deprecated). The Merchant API has no read-only scope; AdLoop uses it strictly read-only. Upgrading OAuth users re-authorize once.

Setup for GSC tools, Enable the Search Console API in your GCP project. Upgrading OAuth users must re-authorize once for the new scope (delete ~/.adloop/token.json, run any tool). The killer combo: cross-reference organic queries with get_keyword_performance to find paid/organic cannibalization and untapped keyword opportunities.

Reddit Ads Tools

A second ad platform, same safety model. Reddit is a separate connection: its own developer app, its own OAuth, no developer token and no approval process. Every tool takes ad_account_id (defaults to reddit.ad_account_id).

Tool What It Does
list_reddit_accounts Discover businesses and ad accounts (currency, time zone, approval state)
list_reddit_funding_instruments Billing instruments and posting profiles, prerequisites for creating campaigns and ads
get_reddit_campaigns / get_reddit_ad_groups / get_reddit_ads Structure with configured vs effective status, budgets, bids, pixel, targeting, weekly schedule, rejection reasons; include_copy returns each ad's post (headline, body, destination, media)
get_reddit_performance Spend, clicks, CTR, CPC, conversions, CPA, ROAS per account/campaign/ad group/ad, optional breakdown (date, country, community, keyword, placement, …), compact mode with insights
run_reddit_report Raw reports endpoint for any metric (REACH, video, per-event conversions)
get_reddit_pixels Pixels and when each event last fired, flags ad groups optimizing for events the pixel never sent
get_reddit_audiences Custom and saved audiences with status, size and source, plus the ad groups that target or exclude each
search_reddit_targeting Communities, interests, geolocations, languages, keyword suggestions, and Reddit's related-community suggestions (by seed communities or website)
get_reddit_account_history Who changed what and when: field, before/after, member
estimate_reddit_ad_group Audience size, delivery estimate and suggested bid range for a planned ad group (Reddit's counterpart of estimate_budget)
pause_reddit_entity / enable_reddit_entity / remove_reddit_entity Status changes through the preview gate (remove = ARCHIVE, irreversible, double-confirmed)
update_reddit_campaign / update_reddit_ad_group / update_reddit_ad Budget, bid, run dates, weekly schedule (day names, viewer-local hours), targeting, placements and audiences to target or exclude (validated with Reddit at draft time), landing URL and comment changes with old → new previews, budget cap and bid-increase guards
draft_reddit_campaign / draft_reddit_ad_group / draft_reddit_ad Create campaign → ad group (pixel + targeting required) → post + ad (text, image, video or a 2–6 card carousel, media by URL), or promote an existing post with post_id. Everything is created PAUSED.
draft_reddit_custom_audience Retargeting audiences from website visitors (pixel events) or people who engaged with your campaigns. No customer-list uploads.

Setup for Reddit Ads tools, In Reddit Ads Manager open Business Manager → Developer Application → Create app (business admins only; no approval wait). Register the redirect URL exactly as http://localhost:8765/callback, then run adloop init and complete the Reddit Ads step: it opens Reddit's consent page (scopes adsread + adsedit, permanent grant), stores the refresh token at ~/.adloop/reddit_token.json, and lets you pick the default ad account. Reddit rate-limits per user (reporting: 60 requests/min) and requires a descriptive User-Agent, which AdLoop builds from your app id and Reddit username. Reddit has no validate-only mode, so confirm_and_apply(dry_run=true) re-reads the target and re-checks the safety caps instead.

Microsoft Advertising Tools

Microsoft Advertising (Bing, Yahoo, AOL and DuckDuckGo search ads) through the REST API v13, with the same safety model. customer_id is the manager account and ad_account_id the default ad account; every tool takes ad_account_id to pick another.

Tool What It Does
list_microsoft_ads_accounts The signed-in user, manager accounts and ad accounts (id, number, currency, time zone, status)
get_microsoft_campaigns / get_microsoft_ad_groups / get_microsoft_keywords / get_microsoft_ads Structure with the status of every parent level, budgets (own or shared), bidding, languages, included and excluded locations and location intent, bids, networks, Audience Network exposure, match types, RSA copy with pins, editorial review
get_microsoft_performance Spend, clicks, CTR, CPC, conversions, CPA, revenue, impression share and share lost to budget and rank per account/campaign/ad group/keyword/ad, optional date or device breakdown, compact mode with insights
get_microsoft_search_terms What people searched, the keyword and match type it matched, and waste candidates
get_microsoft_location_performance Where clicks came from, split into people physically in a place and people searching about it
get_microsoft_conversion_setup Audit of UET tags, conversion goals (tracking status, excluded from bidding), campaign goals and clicks without conversions
get_microsoft_negative_keywords / get_microsoft_ad_extensions Direct negatives, shared negative lists with their items and attachments, and sitelinks, callouts, snippets and call extensions per campaign and account, each with a remove_id
search_microsoft_locations Location ids (country, state, metro, city, postal code) by name from Microsoft's location file, cached
update_microsoft_campaign_budget / update_microsoft_campaign / update_microsoft_campaign_targeting Daily budget (capped by max_daily_budget), name, bid strategy, tracking template and final URL suffix, included and excluded locations, location intent, ad schedule
pause_microsoft_entity / enable_microsoft_entity / remove_microsoft_entity Status changes through the preview gate; removal is irreversible and double-confirmed
draft_microsoft_campaign / draft_microsoft_ad_group / update_microsoft_ad_group New Search campaigns (created paused, with languages and locations required) and ad groups with keywords; ad group name, default bid, network and Audience Network adjustment
draft_microsoft_keywords / update_microsoft_keyword_bids Add keywords (duplicates skipped) and change keyword bids, capped by max_bid_increase_pct including bids inherited from the ad group
add_microsoft_negative_keywords / propose_microsoft_negative_keyword_list / add_to_microsoft_negative_keyword_list / attach_microsoft_negative_keyword_list / detach_microsoft_negative_keyword_list Negatives on a campaign or ad group, or in shared lists; every draft names the active keywords a negative would block
draft_microsoft_responsive_search_ad / update_microsoft_responsive_search_ad New RSAs (created paused) and copy, URL and path changes
draft_microsoft_sitelinks / draft_microsoft_callouts / draft_microsoft_structured_snippet / draft_microsoft_call_extension Create extensions and link them to a campaign or the account

The same management rules as Google Ads apply: broad match is refused unless the campaign uses conversion-based bidding (at the draft and again at apply; Maximize Clicks does not count), moving to any other strategy is refused while active broad keywords exist, and a campaign's first ad schedule needs a double confirmation. MaxConversions is refused while the account has no active conversion goal, because Microsoft refuses such a campaign.

Setup for Microsoft Advertising tools, You need a developer token (Microsoft Advertising → Settings → Developer settings, or developers.ads.microsoft.com) and an app registration in Microsoft Entra ID: allow public client flows, add the delegated msads.manage permission of Microsoft Advertising, and add http://localhost/callback as a mobile and desktop redirect URI (the sign-in listens on a free port; Entra ignores the port of localhost redirects). Put the token and the app's client id under microsoft_ads in ~/.adloop/config.yaml, then run adloop microsoft-login and sign in with the user that has access to the ad accounts. It stores the refresh token at ~/.adloop/microsoft_token.json. Directories with security defaults block the device-code flow (sign-in error 530035), so adloop microsoft-login --device-code is only a fallback. Signing in with a Google identity is not supported yet: if the account's users sign in to Microsoft Advertising with Google, invite a Microsoft account or work (Entra) user to the ad account and sign in as that user. Microsoft has no validate-only mode, so confirm_and_apply(dry_run=true) re-reads the target, refuses one that changed since the draft and re-checks the caps; the real apply runs the same checks again first.

Image Uploads

An image on your computer, or one you attached in the chat, has no public URL, and an AI app cannot hand the file to a tool. upload_images gives it a way in.

Tool What It Does
upload_images Shows an upload card in apps with MCP Apps (drop PNG, JPEG or GIF up to 5 MB); on AdLoop Cloud in other apps it returns a one-time upload link, which a coding agent can also use with curl -T
list_uploads The uploads that have not expired yet (kept 24 hours), with id, dimensions and size

The upload ids go into draft_image_assets(upload_ids=[...]), or as upload:<id> into the image fields of draft_reddit_ad on AdLoop Cloud.

Planning Tools
Tool What It Does
discover_keywords Discover new keyword ideas from seed keywords and/or a URL, with optional per-month search history + seasonality insights (include_monthly_volumes) using Google Ads Keyword Planner. Returns avg monthly searches, competition level, and top-of-page bid range.
estimate_budget Forecast clicks, cost, and conversions for a set of keywords using Google Ads Keyword Planner. Supports geo/language targeting. Essential for budget planning before launching campaigns.

Read the rest of the Adloop README on GitHub

Questions about Adloop

What is the Adloop MCP server?

Google Ads MCP server for Claude, ChatGPT and Cursor, with Microsoft Advertising, Reddit Ads, GA4 and Tag Manager. Every change is previewed first. Adloop is maintained by kLOsk on GitHub at kLOsk/adloop, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Adloop MCP server?

Adloop doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (kLOsk/adloop). Like most servers, Adloop ends with a command or URL you paste into your AI app's MCP config.

Does Adloop need an API key?

The registry lists no required keys for Adloop. Check the Adloop README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Adloop an official MCP server?

No. Adloop is a community server maintained by kLOsk. Community servers can be excellent; read the code and the open issues before you give Adloop access to company data.

What license is Adloop under?

Adloop is released under the MIT license, according to its GitHub repository. The license covers the code of Adloop; the service it connects to has its own terms.