Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

AdLoop

PYPI · ADLOOP · 2 COMPONENTS

Google Ads MCP server with Reddit Ads, GA4 and Tag Manager. Every change is previewed first.

−1 this week 92 Trust /100

Last scanned (16 hours ago)

Scores higher than 93% of PyPI servers

Category Marketing and SEO

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security100
  • No malware found by supply-chain analysis.Pass
  • No known CVEs affecting this package version or its production dependencies.Pass
  • Runs uv_build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
  • 2 of 47 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to kLOsk/adloop). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 5 days ago).Pass
  • Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability75
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 43914 tokens (~296/item across 148 items; 145 tools + 3 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management84
  • Stability check failed: the tool surface changed between 0.33.0 and 0.45.0: 22 tool removals, 0 breaking changes, 29 additions. See how to fix → Fail
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety97
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • 7 of 8 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "run_gaql" implies "execute" and declares readOnlyHint instead, contradicting what its own name says it does. See how to fix → Partial
  • An AI judge read all 147 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
  • Supports UI / widget rendering.Pass
What we tested

Checks we ran (17)

  • Malware scan
  • Known CVEs
  • Install scripts
  • Dependency health
  • Source repository
  • Provenance
  • License
  • Maintenance
  • Security disclosure
  • Schema quality
  • Stability
  • Tool coverage
  • Injection markers
  • Destructive annotations
  • Judged manipulation
  • MCP protocol
  • Capabilities

Does not apply to this package (2)

  • Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
  • Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.

The score does not measure everything. What the score does not measure →

Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 16 Nov 26 −1
    • Stability: fail → unverified ▼ security
    • Tool safety: pass → unverified ▼ security
    • Malware scan: pass → unverified ▼ security
    • Capabilities: pass → unverified ▼ functional
    • Tool coverage: 100 → unverified ▼ functional
    • Schema quality: 100 → unverified ▼ functional
    • Package version: 0.42.0 → 0.45.0 functional
    • Package version: 0.42.0 → 0.44.1 functional
  • 13 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 12 Nov 26 0
    • Package version: 0.41.4 → 0.42.0 functional
  • 11 Nov 26 0
    • Package version: 0.41.2 → 0.41.4 functional
  • 10 Nov 26 +29
    • Stability: unverified → fail ▼ security
    • Malware scan: pass → unverified ▼ security
    • Injection markers: unverified → pass ▲ security
    • Tool coverage: unverified → 100 ▲ functional
    • Schema quality: unverified → 100 ▲ functional
    • MCP protocol: unverified → pass ▲ functional
    • Package version: 0.38.1 → 0.41.2 functional
    • Package version: 0.38.1 → 0.41.1 functional
  • 9 Nov 26 −18
    • Stability: 0.97 → unverified ▼ security
    • Stability: 0.97 → fail ▼ security
    • Injection markers: unverified → pass ▲ security
    • Tool safety: Tool safety not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet. security
    • Stability: 0.97 → pass security
    • Capabilities: pass → unverified ▼ functional
    • Tool coverage: unverified → 100 ▲ functional
    • Schema quality: unverified → 100 ▲ functional
    • Schema quality: Schema quality not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. functional
    • Tool coverage: Tool coverage not yet verified: we do not have a sandbox capture of the tool definitions this version of the package serves yet. functional
    • Package version: 0.38.1 → 0.41.1 functional
    • Package version: 0.38.1 → 0.41.0 functional
  • 8 Nov 26 −28
    • Tool safety: pass → unverified ▼ security
    • Malware scan: pass → unverified ▼ security
    • Tool coverage: 100 → unverified ▼ functional
    • Schema quality: 100 → unverified ▼ functional
    • Stability: fail → 0.97 functional
    • Package version: 0.38.1 → 0.40.1 functional
    • Package version: 0.38.1 → 0.40.0 functional
    • Package version: 0.38.1 → 0.39.2 functional
    • Package version: 0.38.1 → 0.39.1 functional
    • Package version: 0.38.1 → 0.38.4 functional
    • Package version: 0.38.1 → 0.38.2 functional
  • 5 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 22 Nov 2026 · Analysed pypi/adloop@0.45.0

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo kLOsk/adloop
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/kLOsk/adloop/.github/workflows/release.yml@refs/tags/v0.45.0
Rekor log index 3930100630
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:c5ad2dd0aa2bd8ace6e1c9500a5b62ca9902238769d213ecd3eb2d8fd546dada

Background: How many MCP packages publish verified provenance →

Install scripts 1 script
Hook Tier Command
build_backend Known build tool uv_build

Background: Why install scripts are a supply-chain risk →

Dependencies 47 packages
Packages resolved 47
Stale 2
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 145 exposed · ~43,139 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
add_ad_schedule ~232

Draft ad schedule windows for a campaign — returns a PREVIEW. Adds the windows; existing ones stay. The preview lists the current windows (each with the remove_id that remove_entity takes as a campaign_criterion) and the account time zone the hours are in. Overlapping windows and more than six a day are refused. A campaign without any window serves at all hours, so its first windows restrict it to them: that preview needs a double confirmation. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idstringyesNumeric ID of the campaign.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
schedulearrayyesWindows to add, each {day_of_week: MONDAY..SUNDAY, start_hour: 0-23, end_hour: 0-24, start_minute/end_minute: 0, 15, 30 or 45 (default 0)}. Whole numbers only. Hours are in the account time zone.

Structured output declared, but exposes no named fields.

No examples provided.

add_negative_keywords ~167

Draft negative keyword additions — returns a PREVIEW. Negative keywords prevent your ads from showing for irrelevant searches. They are added at campaign level. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idstringyesNumeric ID of the campaign that gets the negatives.
customer_idstring–Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account.
keywordsarrayyesNegative keyword texts; at least one is required. All share the same match_type.
match_typestring–"EXACT" (default), "PHRASE", or "BROAD".

Structured output declared, but exposes no named fields.

No examples provided.

add_negative_locations ~156

Draft negative geo location additions — returns a PREVIEW. Excludes cities/regions from a campaign while keeping broader positive targets such as State of Sao Paulo. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idstringyesNumeric ID of the campaign to add the location exclusions to.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
geo_target_idsarrayyesNumeric Google geo target constant IDs to exclude (e.g. "1001773"). Duplicates are collapsed; non-numeric IDs are rejected.

Structured output declared, but exposes no named fields.

No examples provided.

add_to_brand_list ~171

Append brands to an EXISTING brand list — returns a PREVIEW. For a list that already exists and only needs more brands (propose_brand_list creates a new list instead). The shared_set_id comes from get_brand_lists; get_brand_list_brands shows the brands already in the list, which makes a brand that would be added twice visible. Returns a preview with a plan_id; nothing changes until the returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
brand_idsarrayyesCommercial Knowledge Graph MIDs from suggest_brands.
customer_idstring–Ads account ID. Defaults to the configured account.
shared_set_idstringyesNumeric list ID from get_brand_lists.

Structured output declared, but exposes no named fields.

No examples provided.

add_to_negative_keyword_list ~210

Append keywords to an EXISTING shared negative keyword list — returns a PREVIEW. Adds terms to a list that already exists (propose_negative_keyword_list creates a new list instead); get_negative_keyword_list_keywords shows the terms already in a list. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
keywordsarrayyesKeyword strings to append. Blank entries are dropped and duplicates in the input list are collapsed (case-insensitive).
match_typestring–Match type applied to every keyword: "EXACT" (default), "PHRASE", or "BROAD" (case-insensitive).
shared_set_idstringyesNumeric ID of the list (shared_set.id from get_negative_keyword_lists).

Structured output declared, but exposes no named fields.

No examples provided.

analyze_campaign_conversions ~297

Campaign clicks → GA4 conversions mapping — the real cost-per-conversion. Combines Google Ads campaign metrics with GA4 session/conversion data to reveal click-to-session ratios (GDPR indicator), compare Ads-reported vs GA4-reported conversions, and compute cost-per-GA4-conversion. Also returns non-paid channel conversion rates for comparison context. GA4 conversions are the property's key events (GA4 metric keyEvents). Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_namestring–Optional case-insensitive substring; only campaigns whose name contains it are included. Empty = all campaigns.
customer_idstring–Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id.
date_range_endstring–End date as "YYYY-MM-DD" (inclusive).
date_range_startstring–Start date as "YYYY-MM-DD". Both dates must be set to apply a range; if either is empty, the last 30 days are used.
property_idstring–GA4 property as "properties/123456789" (see get_account_summaries). If empty, uses the default from config.

Structured output declared, but exposes no named fields.

No examples provided.

analyze_page_speed ~232

Run PageSpeed Insights for a landing page — Lighthouse + real-user data. Returns the performance score (0-100), lab Core Web Vitals (LCP, CLS, TBT, FCP), CrUX field data from real Chrome users where available (p75 LCP/INP/CLS/FCP/TTFB + FAST/AVERAGE/SLOW ratings), and the top improvement opportunities with estimated savings. When the page itself has too little traffic for field data, the origin-wide field data is returned instead, marked field.scope="origin". Typical input is an ad final_url: slow landing pages depress Quality Score and waste paid clicks. Takes 10-30s; that is normal for a Lighthouse run. PageSpeed Insights API: https://developers.google.com/speed/docs/insights/v5/about

NameTypeReqDescription
strategystring–"mobile" (default — most paid traffic) or "desktop".
urlstringyesFull URL of the page to analyze, e.g. an ad's final_url ("https://example.com/landing").

Structured output declared, but exposes no named fields.

No examples provided.

attach_brand_list_to_campaigns ~199

Attach an existing brand list to one or more campaigns — returns a PREVIEW. Creates a CampaignCriterion.brand_list per campaign. This is NOT the CampaignSharedSet linkage used for negative keyword lists — brand lists are criteria, and `negative` decides the role. The shared_set_id comes from get_brand_lists; get_brand_list_campaigns lists existing attachments. Returns a preview with a plan_id; nothing changes until the returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idsarrayyesNumeric campaign IDs to attach the list to.
customer_idstring–Ads account ID. Defaults to the configured account.
negativeboolean–True (default) excludes the brands from those campaigns; False restricts targeting to them instead.
shared_set_idstringyesNumeric list ID from get_brand_lists.

Structured output declared, but exposes no named fields.

No examples provided.

attach_shared_set_to_campaigns ~186

Attach an existing shared set to one or more campaigns — returns a PREVIEW. Creates CampaignSharedSet linkages so the campaigns inherit the shared set's criteria (e.g. negative keywords). Most commonly used to attach a shared negative keyword list to newly-built campaigns; get_negative_keyword_list_campaigns lists existing attachments. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idsarrayyesNumeric campaign IDs to attach the set to (at least one). Blank entries are dropped and duplicates collapsed.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
shared_set_idstringyesNumeric ID of the shared set (from get_negative_keyword_lists).

Structured output declared, but exposes no named fields.

No examples provided.

attribution_check ~289

Compare Ads-reported conversions vs GA4 — find tracking discrepancies. Checks whether conversions reported by Google Ads match what GA4 records, diagnoses GDPR consent gaps, attribution model differences, and missing conversion event configuration. Returns both sides' totals with the discrepancy and diagnostic insights. GA4 conversions are the property's key events (GA4 metric keyEvents). Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
conversion_events––Optional list of GA4 event names to specifically check (e.g. ["sign_up", "purchase"]). If omitted, compares aggregate totals only.
customer_idstring–Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id.
date_range_endstring–End date as "YYYY-MM-DD" (inclusive).
date_range_startstring–Start date as "YYYY-MM-DD". Both dates must be set to apply a range; if either is empty, the last 30 days are used.
property_idstring–GA4 property as "properties/123456789" (see get_account_summaries). If empty, uses the default from config.

Structured output declared, but exposes no named fields.

No examples provided.

audit_event_coverage ~520

Three-way audit: codebase events ↔ GTM tags ↔ GA4 actual fires. Fetches the LIVE GTM container, joins it against GA4 event counts for the date range, and returns a per-event matrix with one of these statuses: ok — tag active and event firing ok_auto_collected — GA4 Enhanced Measurement event, no tag needed no_tag_no_fire — codebase event, no GTM tag, never fires tag_paused — GTM tag exists but is paused tag_active_but_not_firing — tag is active but no GA4 hits gtm_only_firing — GA4 event from a tag, not in codebase gtm_paused_but_firing — only paused tag(s), not in codebase, yet GA4 still fires (event comes from elsewhere) gtm_only_not_firing — tag exists, not in codebase, no fires ga4_only — fires in GA4, no tag, no codebase ref ga4_fires_no_tag — codebase event firing without a GTM tag auto_event_only — Enhanced Measurement event with no codebase ref The result also lists dynamic-event tags ({{Event}} variables) and Custom HTML tags that the audit cannot interpret automatically. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2

NameTypeReqDescription
date_range_endstring–End date "YYYY-MM-DD". Empty (or an empty date_range_start) means the last 30 days.
date_range_startstring–Start date "YYYY-MM-DD". Empty (or an empty date_range_end) means the last 30 days.
expected_eventsarrayyesDistinct event names found in the codebase's gtag('event', ...) and dataLayer.push({event: ...}) calls.
gtm_account_idstring–Numeric GTM account ID (Tag Manager UI → Admin → Container Settings, or list_gtm_accounts). Empty uses gtm.account_id from the config.
gtm_container_idstring–Numeric GTM container ID (not the GTM-XXXXXXX public ID; see list_gtm_containers). Empty uses gtm.container_id from the config.
property_idstring–GA4 property as "properties/123456789". Empty uses the default from config.

Structured output declared, but exposes no named fields.

No examples provided.

audit_ga4_property ~272

Audit a GA4 property's setup in one call: the settings that quietly cost data or conversions. Checks data retention (two months is GA4's default and cuts explorations short), the Google Ads link (and whether the configured Ads account is linked), each data stream's activity in the last 7 days, key events that never fired in 28 days or no key events at all, enhanced measurement per web stream, Google signals (and the thresholding they cause), the custom dimension and metric limits, and a property in the trash. Returns checks with status warn, info or ok (warnings first), a summary count, and the warnings as insights[]; a check the user may not read is listed under unavailable. Reads GA4 only (Admin API, part v1alpha, and two small Data API reports); for whether Google Ads imports the key events, run check_key_event_imports. Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1

NameTypeReqDescription
property_idstring–GA4 property as "properties/123456789" or the bare numeric ID. If empty, uses the default from config.

Structured output declared, but exposes no named fields.

No examples provided.

check_brand_names ~212

Check a list of brand names against Google's brand knowledge graph. One SuggestBrands call per name, for the case where a shortlist has to be triaged instead of a single name resolved: which of these brands does Google know at all, and what is the ID of each? Returns checked / matched / no_match counts and one result per name with status "matched" (with a best-match brand plus all candidates) or "no_match" (empty candidate list — a normal answer, not an error). exact_match marks a candidate whose name matches the query apart from case and punctuation; anything else is a Google suggestion, not a guarantee. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
brand_namesarrayyesThe names to triage, at most 25 per call — the API resolves one prefix per request, so longer lists take several calls.
customer_idstring–Ads account ID. Defaults to the configured account.

Structured output declared, but exposes no named fields.

No examples provided.

check_key_event_imports ~314

Check that every GA4 key event reaches Google Ads: imported, used for bidding, and actually receiving conversions. Matches the property's key events with the Google Ads conversion actions that import them (by GA4 property and event name), and compares GA4's key events from Google Ads traffic (google / cpc) with the conversions Google Ads recorded for each import. insights[] names key events no conversion action imports, imports that are only secondary (reported, not bid on), imports that stay at zero while GA4 counts Google Ads conversions (a broken link or auto-tagging), and imports of events that are no longer key events. Imports from other GA4 properties are listed separately. Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
customer_idstring–Google Ads customer ID, digits with or without dashes. Defaults to the configured ads.customer_id.
date_range_endstring–End date as "YYYY-MM-DD" (inclusive).
date_range_startstring–Start date as "YYYY-MM-DD". Both dates must be set to apply a range; if either is empty, the last 30 days are used.
property_idstring–GA4 property as "properties/123456789" or the bare numeric ID. If empty, uses the default from config.

Structured output declared, but exposes no named fields.

No examples provided.

confirm_and_apply ~867

Execute a previously previewed change. IMPORTANT: Defaults to dry_run=True (validate only). Only an explicit dry_run=false applies the change to the ad account (Google Ads or Reddit Ads — the plan knows which platform it targets). Forced dry runs: when real changes are switched off (live changes off for the workspace in AdLoop Cloud, or safety.require_dry_run in a self-hosted config), dry_run=false is IGNORED and the result is still DRY_RUN_SUCCESS, with 'dry_run_forced_by' and 'remediation' fields. 'remediation' says how the user switches that setting; until it is changed, repeated calls with dry_run=false change nothing. Two-phase apply: if 'safety.two_phase_apply: true' is set (always on for AdLoop Cloud tenants), dry_run=false is REFUSED with status DRY_RUN_REQUIRED until this plan_id has completed one dry_run=true pass. The sequence is: dry run, review of its result, then the real apply. Google Ads plans: the dry run sends the exact mutates to Google with validate_only=True, so Google checks the change and executes nothing (`checks` counts the validated calls). Steps that build on an object an earlier step would create cannot be validated and are counted as skipped. Reddit plans: Reddit has no validate-only mode, so the dry run re-reads the target entity and re-checks the safety caps (returned as `checks`). A DRY_RUN_FAILED result means the change does not go through as previewed. The real apply fails the same way, unless Google rejected only part of the request: then it carries out the rest and reports those operations again. Returns a status with the plan_id and operation: DRY_RUN_SUCCESS, DRY_RUN_FAILED, DRY_RUN_REQUIRED, BLOCKED, APPLIED, PARTIAL_UPLOAD, PARTIAL_APPLY, UNKNOWN_OUTCOME or APPLY_IN_PROGRESS. BLOCKED means the operation was added to safety.blocked_operations after the draft: nothing ran and the plan stays pending. APPLIED results carry the created or changed resource names under 'result'. PARTIAL_UPLOAD belongs to the upload tools: the…

NameTypeReqDescription
dry_runboolean–True (default) validates without changing anything; false applies the change for real.
plan_idstringyesThe plan_id returned by a prior draft_*, update_*, add_*, pause/enable/remove or other preview tool call. An unknown or expired plan_id returns an error.

Structured output declared, but exposes no named fields.

No examples provided.

detach_brand_list_from_campaigns ~178

Detach a brand list from one or more campaigns — returns a PREVIEW. Removes the CampaignCriterion rows linking the list to those campaigns; the list itself and its brands are unchanged. get_brand_list_campaigns lists the existing attachments. Returns a preview with a plan_id; nothing changes until the returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idsarrayyesNumeric campaign IDs to detach the list from. Campaigns that do not carry the list are reported as `not_attached` in the apply result instead of failing the batch.
customer_idstring–Ads account ID. Defaults to the configured account.
shared_set_idstringyesNumeric list ID from get_brand_lists.

Structured output declared, but exposes no named fields.

No examples provided.

detach_shared_set_from_campaigns ~186

Detach a shared set from one or more campaigns — returns a PREVIEW. Removes CampaignSharedSet linkages so the campaigns no longer inherit the shared set's criteria. The shared set itself is unchanged; only the per-campaign attachment is removed. get_negative_keyword_list_campaigns lists the existing attachments. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idsarrayyesNumeric campaign IDs to detach the set from (at least one). Blank entries are dropped and duplicates collapsed.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
shared_set_idstringyesNumeric ID of the shared set (from get_negative_keyword_lists).

Structured output declared, but exposes no named fields.

No examples provided.

discover_keywords ~342

Discover new keyword ideas using Google Ads Keyword Planner. Mirrors the "Discover new keywords" UI in Keyword Planner: start with keywords (seed_keywords), start with a website (url), or both together for more targeted ideas. At least one of seed_keywords or url is required. Returns keyword ideas sorted by avg monthly search volume, with competition level (LOW/MEDIUM/HIGH) and top-of-page bid range, plus the seeds used and insights. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
customer_idstring–Google Ads customer ID (digits, dashes allowed). Defaults to the configured account.
geo_target_idstring–Geo target constant ID (2276=Germany, 2840=USA, 2826=UK). Defaults to 2276.
include_monthly_volumesboolean–true adds per-month search history (last 24 months, top-20 ideas) plus a seasonality insight — relevant to questions about demand trends, seasonality, or "when should I ramp budget".
language_idstring–Language constant ID (1000=English, 1001=German, 1002=French). Defaults to 1000.
page_sizeinteger–Max keyword ideas to return (default 50, clamped to 1-1000).
seed_keywordsarray–Seed terms, e.g. ["running shoes", "trail running"].
urlstring–A landing page or site URL to extract ideas from, e.g. "https://example.com/products".

Structured output declared, but exposes no named fields.

No examples provided.

draft_ad_group ~305

Draft a new ad group within an existing campaign — returns a PREVIEW, does NOT create. Creates an ad group (ENABLED, type SEARCH_STANDARD) in the specified campaign, optionally with keywords in the same atomic operation. Only SEARCH campaigns are supported. Ads are not included, so the ad group cannot serve until one of its ads is created and enabled. Returns a preview with a plan_id plus warnings (BROAD keywords on a non-Smart-Bidding campaign, a duplicate ad group name, a CPC bid that Smart Bidding ignores); nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ad_group_namestringyesName for the new ad group.
campaign_idstringyesThe campaign to add the ad group to (numeric ID as returned by get_campaign_performance).
cpc_bid_microsinteger–Optional ad group CPC bid in micros (1,000,000 = one unit of the account's currency); only used by MANUAL_CPC campaigns. 0 means no ad-group bid; must not be negative.
customer_idstring–Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account.
keywords––Optional list of {"text": "keyword", "match_type": "EXACT|PHRASE|BROAD"}.

Structured output declared, but exposes no named fields.

No examples provided.

draft_ai_max_settings ~478

Draft AI Max controls for a Search campaign — returns a PREVIEW. AI Max is the container that makes brand exclusions usable in Search: Google rejects a brand list on a plain Search campaign ("For search advertising channel, brand lists can only be applied to exclusive targeting, broad match campaigns for inclusive targeting or PMax generated campaigns"). Turning AI Max on while leaving its automations running is the trap, so both belong to the same plan. An automation the caller never mentioned is refused outright (the plan says which switch to pass); one named explicitly (disable_search_term_matching=False, text_asset_automation="OPTED_IN") is planned with requires_double_confirm=True, because switching to AI Max with its automations is a real configuration some accounts want. Reads the campaign and its ad groups first, so the preview names concrete ad groups and shows current values per knob. Returns a preview with a plan_id; nothing is written until confirm_and_apply runs. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ad_group_idsarray–Explicit ad group IDs. Empty means every non-removed ad group of the campaign.
campaign_idstringyesNumeric ID of the Search campaign to prepare.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
disable_search_term_matching––Value for ad_group.ai_max_ad_group_setting.disable_search_term_matching on the selected ad groups. When omitted, they stay untouched.
enable_ai_max––Value for campaign.ai_max_setting.enable_ai_max. When omitted, it stays untouched.
final_url_expansionstring–OPTED_IN, OPTED_OUT or UNCHANGED (default) for FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION (the v25 field name for final URL expansion).
include_paused_ad_groupsboolean–Default true — paused groups are set as well, so re-enabling one later cannot silently restore search term matching. REMOVED ad groups are never touched.
text_asset_automationstring–OPTED_IN, OPTED_OUT or UNCHANGED (default) for TEXT_ASSET_AUTOMATION.

Structured output declared, but exposes no named fields.

No examples provided.

draft_asset_group_assets ~460

Draft adding and/or removing assets of a Performance Max asset group — returns a PREVIEW. Adds new text, image and YouTube assets and unlinks existing ones in one atomic request, so an asset is replaced without the group dropping below Google's minimums (3 headlines, 1 long headline, 2 descriptions, one of them at most 60 characters). Texts already in the group are skipped. Images are checked and sorted by aspect ratio; removed assets stay in the account's asset library. The preview lists the asset counts per type after the change. Nothing changes until confirm_and_apply applies the plan_id; a dry run has Google validate it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
asset_group_idstringyesNumeric asset group id (from get_pmax_performance or get_pmax_assets).
business_namestring–Business name to add, at most 25 characters (one per group).
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
descriptionsarray–Descriptions to add, at most 90 characters (up to 5).
headlinesarray–Headlines to add, at most 30 characters each (up to 15 in the group).
imagesarray–Images to add, each {"url": "..."} or {"upload_id": "up_..."} with an optional "role": "marketing" (default; landscape 1.91:1, square 1:1 or portrait 4:5 by aspect ratio), "logo" (1:1) or "landscape_…
long_headlinesarray–Long headlines to add, at most 90 characters (up to 5).
remove_asset_idsarray–Asset ids to unlink from the group (from get_pmax_assets).
youtube_video_idsarray–YouTube video ids to add (the 11 characters after "v=" in the URL), up to 5 per group.

Structured output declared, but exposes no named fields.

No examples provided.

draft_asset_group_signals ~243

Draft adding search themes or an audience signal to a Performance Max asset group, or removing signals — PREVIEW. Signals are hints that steer Performance Max, not targeting. A group has at most one audience signal and up to 50 search themes; replacing the audience means removing the current one in the same draft. Themes already on the group are skipped. Nothing changes until confirm_and_apply applies the plan_id; a dry run has Google validate it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
add_search_themesarray–Search themes to add, short phrases people search for (at most 80 characters each).
asset_group_idstringyesNumeric asset group id (from get_pmax_performance).
audience_idstring–Audience to set as the group's audience signal (from get_asset_group_signals available_audiences).
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
remove_signal_idsarray–Signals to remove (signal_id from get_asset_group_signals).

Structured output declared, but exposes no named fields.

No examples provided.

draft_assign_custom_conversion_goal ~239

Point a campaign at a custom conversion goal — returns a PREVIEW. Sets goal_config_level=CAMPAIGN and the goal on that campaign's conversion goal config. Nothing else changes: conversion actions, bidding, budgets and the account-level goals stay as they are. A campaign must have at least one goal configured when it switches to campaign level — Google answers EMPTY_CONVERSION_GOALS otherwise. That is why this tool assigns a goal instead of clearing goals; draft_clear_custom_conversion_goal goes back to the account level. If the campaign already uses exactly this goal, nothing is planned and the result says `already_configured`. The preview carries a note that changing what a campaign optimises for restarts its Smart Bidding learning period. The returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idstringyesNumeric campaign ID to configure.
custom_conversion_goal_idstringyesNumeric goal ID from get_custom_conversion_goals.
customer_idstring–Ads account ID. Defaults to the configured account.

Structured output declared, but exposes no named fields.

No examples provided.

draft_audience_attachment ~367

Draft attaching audiences to a campaign or ad group as observation, targeting or exclusion: returns a PREVIEW. Observation (the default) keeps the reach: the audiences adjust bids and show up in reports. Targeting narrows delivery to the audiences and needs a double confirmation. Exclusions keep the people out and leave the mode alone. The draft refuses combinations Google does not allow (custom segments on Search, combined segments outside Search, audiences at both campaign and ad group level) and lists that cannot serve; Performance Max is refused with a pointer to draft_asset_group_signals. Nothing changes until confirm_and_apply applies the plan_id; a dry run has Google validate it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ad_group_idstring–Numeric ad group id. Pass this or campaign_id.
campaign_idstring–Numeric campaign id. Pass this or ad_group_id.
combined_audience_idsarray–Combined segments (combined_audience_id from get_audience_lists); Search only.
custom_audience_idsarray–Custom segments (custom_audience_id from get_audience_lists); Display and Video only.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
excludeboolean–True to exclude the audiences instead of adding them.
modestring–"observation" (default) or "targeting". Ignored for exclusions.
segment_idsarray–In-market or affinity segments (segment_id from search_audience_segments).
user_list_idsarray–Remarketing or customer lists (user_list_id from get_audience_lists).

Structured output declared, but exposes no named fields.

No examples provided.

draft_business_name_asset ~171

Draft a business name asset for a campaign or the account — returns a PREVIEW. Creates a text asset and links it as the business name shown with the ads. Google links business names at campaign or account level only. Account-wide needs scope="account" and no campaign_id. Returns a preview with a plan_id. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
business_namestringyesThe name, at most 25 characters.
campaign_idstring–Numeric ID of the campaign to link it to.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
scopestring–Empty (campaign, from campaign_id), "campaign" or "account".

Structured output declared, but exposes no named fields.

No examples provided.

draft_call_asset ~393

Draft a call asset (a phone number shown with the ads) — returns a PREVIEW. Creates the call asset and links it where the id points: ad_group_id links to that ad group, campaign_id to that campaign. Account-wide linking needs scope="account" and no id. Google reviews the number before it serves. Returns a preview with a plan_id. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ad_group_idstring–Numeric ID of the ad group to link it to, instead of a campaign.
ad_schedulearray–Optional windows when the number shows, each {day_of_week: MONDAY..SUNDAY, start_hour: 0-23, end_hour: 0-24, start_minute/end_minute: 0, 15, 30 or 45}. Hours are in the account time zone.
call_conversion_action_idstring–Numeric ID of the conversion action that counts calls from this number. Empty keeps the account's call conversion setting.
campaign_idstring–Numeric ID of the campaign to link the number to.
country_codestringyesISO 3166-1 alpha-2 country of the number ("DE", "US"). Required; it decides how a national number is read and must match the country code of an international one.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
phone_numberstringyesThe number, national ("030 1234567", "(916) 555-0142") or international ("+49 30 1234567"). Normalised to E.164.
scopestring–Empty (follows the id), "campaign", "ad_group" or "account".

Structured output declared, but exposes no named fields.

No examples provided.

draft_callouts ~293

Draft callout assets for an ad group, a campaign or the account — returns a PREVIEW. Creates callout assets and links them where the id points: ad_group_id links to that ad group, campaign_id to that campaign. Account-wide linking (every campaign without callouts of its own) needs scope="account" and no id. Returns a preview with a plan_id; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ad_group_idstring–Numeric ID of the ad group to link them to, instead of a campaign.
calloutsarrayyesCallout texts (at least one), each non-empty and at most 25 characters after trimming.
campaign_idstring–Numeric ID of the campaign to link the callouts to.
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
end_datestring–Last day the callouts show, YYYY-MM-DD, so seasonal callouts switch off by themselves. Empty: no end.
scopestring–Empty (follows the id), "campaign", "ad_group" or "account".
start_datestring–First day the callouts show, YYYY-MM-DD. Empty: from now.

Structured output declared, but exposes no named fields.

No examples provided.

draft_campaign ~1,191

Draft a full campaign structure — returns a PREVIEW, does NOT create anything. Creates: CampaignBudget + Campaign (PAUSED) + AdGroup + optional Keywords + geo targeting + language targeting + optional geo exclusions and ad schedule, all in one atomic request. Ads are NOT included — draft_responsive_search_ad adds them once the campaign exists. Only SEARCH campaigns can be created: Performance Max needs an asset group with all its assets in one request, and DISPLAY, SHOPPING and VIDEO need channel-specific settings and ad group types, so the draft refuses them. Returns a preview with a plan_id plus any warnings (e.g. a daily budget below 5x target CPA, MANUAL_CPC); nothing changes until confirm_and_apply applies the returned plan_id. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ad_group_namestring–Name of the initial ad group. Empty uses campaign_name.
ad_schedule––Windows the campaign serves in: list of {day_of_week (MONDAY..SUNDAY), start_hour 0-23, end_hour 0-24, start_minute, end_minute (0, 15, 30 or 45)}, whole numbers, in the account time zone. No overlap…
bidding_strategystringyesMAXIMIZE_CONVERSIONS | TARGET_CPA | TARGET_ROAS | MAXIMIZE_CONVERSION_VALUE | TARGET_SPEND | MANUAL_CPC. BROAD keywords require a Smart Bidding strategy (MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VAL…
campaign_namestringyesName of the new campaign.
channel_typestring–SEARCH (default). DISPLAY, SHOPPING, VIDEO and PERFORMANCE_MAX are refused with the reason (see above).
customer_idstring–Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account.
daily_budgetnumberyesDaily budget in the account's currency (not micros); must be greater than 0 and at most the config's max_daily_budget.
display_expansion_enabled––Alias for display_network_enabled; both must match when both are given.
display_network_enabled––Enable Search campaign display expansion (SEARCH campaigns only). Defaults to off.
final_url_suffix––Parameters appended to the landing page URL, e.g. "utm_medium=cpc". Omitted leaves it unset.
geo_exclude_ids––Geo target constant IDs to exclude (negative location criteria), e.g. a city inside a targeted state. May not overlap geo_target_ids.
geo_target_idsarrayyesREQUIRED list of geo target constant IDs. Common: "2276" Germany, "2040" Austria, "2756" Switzerland, "2840" USA, "2826" UK, "2250" France. Full list: Google Ads API geo target constants.
keywords––Optional list of {"text": "keyword", "match_type": "EXACT|PHRASE|BROAD"} added to the initial ad group.
language_idsarrayyesREQUIRED list of language constant IDs. Common: "1001" German, "1000" English, "1002" French, "1003" Spanish, "1004" Italian, "1014" Portuguese. Full list: Google Ads API language constants.
location_optionstring–Who the geo targets reach. PRESENCE (people in or regularly in the locations), PRESENCE_OR_INTEREST (also people elsewhere who show interest in them) or SEARCH_INTEREST (people searching for them). E…
max_cpcnumber–In the account's currency: the manual CPC bid for the initial ad group when bidding_strategy is MANUAL_CPC, or the Maximize Clicks CPC cap when bidding_strategy is TARGET_SPEND. Not allowed with othe…
negative_location_optionstring–Who the location exclusions exclude. PRESENCE or PRESENCE_OR_INTEREST; empty leaves Google's default, PRESENCE_OR_INTEREST. PRESENCE excludes fewer people (only those physically there), so it widens…
search_partners_enabledboolean–Include ads on Search partners (SEARCH campaigns only).
target_cpanumber–Target cost per acquisition in the account's currency; required if bidding_strategy is TARGET_CPA, optional target for MAXIMIZE_CONVERSIONS. 0 means none.
target_roasnumber–Target return on ad spend as a ratio (e.g. 4.0 = 400%); required if bidding_strategy is TARGET_ROAS, optional target for MAXIMIZE_CONVERSION_VALUE. 0 means none.
tracking_url_template––Campaign tracking template, e.g. "{lpurl}?utm_source=google&utm_campaign={campaignid}". Must contain {lpurl} or a variant ({lpurl+2}, {unescapedlpurl}, {escapedlpurl+3}, ...). Omitted leaves it unset.
url_custom_parameters––List of {"key": "grp", "value": "b2c"}, used as {_grp} in the template. Keys alphanumeric, max 8 characters; values up to 250.

Structured output declared, but exposes no named fields.

No examples provided.

draft_clear_custom_conversion_goal ~116

Put a campaign back on the account-level goals — returns a PREVIEW. Sets goal_config_level=CUSTOMER and clears the custom goal: the rollback for draft_assign_custom_conversion_goal. The account-level goals themselves are not touched. The returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idstringyesNumeric campaign ID to reset.
customer_idstring–Ads account ID. Defaults to the configured account.

Structured output declared, but exposes no named fields.

No examples provided.

draft_conversion_tracking_setup ~577

Set up conversion tracking from GA4 into Google Ads in one approved plan, returning a PREVIEW of only the missing steps. Use it when the user wants their conversions (sign-ups, purchases, leads) tracked and used for bidding, or after audit_ga4_property or check_key_event_imports found a gap. It reads both products and plans what is missing, in order: link the GA4 property to the Google Ads account, mark the events as GA4 key events, turn on auto-tagging, import the conversion actions Google Ads created for the key events (they start hidden and record nothing), make them primary, and use their goal for bidding. Steps already in place are listed under already_done. Google Ads creates the conversion action for a newly linked property or new key event by itself, not instantly: such events come back as "After this" warnings, and running the tool again later imports them. NO_CHANGE when everything is set up. The website must send the events; this tool cannot add tracking code (see generate_tracking_code). Nothing changes until confirm_and_apply applies it: the dry run validates the Google Ads steps with validate_only and re-reads the GA4 ones, and every step skips itself if already done, so confirming again after a failed step continues where it stopped. Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ads_personalizationboolean–Only for a new link. False (default) keeps personalized advertising off, so GA4 shares no audiences or remarketing data with Google Ads.
customer_idstring–Google Ads customer ID, digits with or without dashes. Defaults to the configured ads.customer_id.
data_retentionstring–Optional, e.g. 14: also lengthen GA4 event data retention (months). Only lengthens; empty leaves it.
events––GA4 event names to track as conversions, e.g. ["sign_up"], or objects {"event": "generate_lead", "counting_method": "ONCE_PER_SESSION"} (counting applies when the event is not a key event yet; defaul…
primaryboolean–True (default) makes the imports primary conversions that Smart Bidding optimizes toward; False imports them as secondary (reported only).
property_idstring–GA4 property as "properties/123456789" or the bare numeric ID. If empty, uses the default from config.

Structured output declared, but exposes no named fields.

No examples provided.

draft_create_conversion_action ~576

Draft a new Google Ads ConversionAction — returns a PREVIEW. Returns a preview with a plan_id (plus warnings where relevant); nothing changes until confirm_and_apply applies it. SMART_CAMPAIGN_* and GOOGLE_HOSTED types are auto-managed by Google and rejected with MUTATE_NOT_ALLOWED. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
always_use_default_valueboolean–True ignores transaction values from the tag/import and always uses default_value; False uses default_value only as a fallback when no value is supplied.
attribution_modelstring–AttributionModel enum value, e.g. GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN. Empty leaves Google's default.
categorystring–ConversionActionCategory enum value, e.g. PHONE_CALL_LEAD, SUBMIT_LEAD_FORM, PURCHASE, ... (default DEFAULT).
click_through_window_daysinteger–Click-through attribution window in days, 1-90. 0 leaves Google's default.
counting_typestring–ONE_PER_CLICK (default; one conversion per click, typical for lead gen) or MANY_PER_CLICK (every conversion counts, typical for ecommerce).
currency_codestring–3-letter ISO 4217 currency code for default_value (default USD).
customer_idstring–Google Ads customer ID (digits, dashes allowed). Defaults to the configured account.
default_valuenumber–Value attributed to each conversion, in currency_code units (not micros). Must be >= 0. A positive default_value with always_use_default_value=False is a legal "fallback" config: the preview warns bu…
include_in_conversions_metricboolean–IMMUTABLE — Google derives it from primary_for_goal and the category's goal, so this value is not sent.
namestringyesConversion action name as it appears in Google Ads. Required.
phone_call_duration_secondsinteger–Minimum call length in seconds for a call to count; only meaningful for call conversions (PHONE_CALL_LEAD category). 0 leaves Google's default.
primary_for_goalboolean–True (default) makes it a Primary action that Smart Bidding optimizes toward; False makes it Secondary (recorded only).
type_stringyesConversionActionType enum value, e.g. AD_CALL, WEBSITE_CALL, WEBPAGE, WEBPAGE_CODELESS, GOOGLE_ANALYTICS_4_CUSTOM, GOOGLE_ANALYTICS_4_PURCHASE, UPLOAD_CALLS, UPLOAD_CLICKS.
view_through_window_daysinteger–View-through attribution window in days, 1-30. 0 leaves Google's default.

Structured output declared, but exposes no named fields.

No examples provided.

draft_custom_conversion_goal ~249

Create a custom conversion goal — returns a PREVIEW. The goal bundles conversion actions into a named set that campaigns can then be pointed at with draft_assign_custom_conversion_goal. Only the goal is created: conversion actions are read for validation and never modified. It is always created ENABLED — a goal created as REMOVED would be invisible to every other tool, so there is nothing to plan. If a goal with the same name and exactly the same conversion actions already exists, nothing is planned and the result says `already_exists` with that goal's ID (REMOVED goals do not count). A name that exists with different actions is changed with draft_update_custom_conversion_goal. The returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
conversion_action_idsarrayyesNumeric conversion action IDs. Duplicates are collapsed; unknown or REMOVED actions are refused.
customer_idstring–Ads account ID. Defaults to the configured account.
namestringyesName for the new goal, e.g. "OHL | Kauf + qualifizierte Anrufe".

Structured output declared, but exposes no named fields.

No examples provided.

draft_delete_gtm_entity ~271

Draft deleting a Tag Manager tag, trigger or variable — returns a PREVIEW. The entity is removed from a workspace and stays on the site until the workspace is published. A trigger that any tag still references, or a variable that a tag, trigger or other variable uses as {{name}}, is refused up front, with the references named. Refused unless gtm.write_enabled is set. Returns the entity that would be deleted, the resolved workspace and a plan_id. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2

NameTypeReqDescription
entity_idstringyesNumeric ID of the entity (see list_gtm_tags, list_gtm_triggers and list_gtm_variables).
entity_typestringyes"tag", "trigger" or "variable".
gtm_account_idstring–Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config.
gtm_container_idstring–Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config.
workspace_idstring–Workspace to edit (see list_gtm_workspaces). Empty uses the Default Workspace, or the only workspace there is.

Structured output declared, but exposes no named fields.

No examples provided.

draft_delete_key_event ~254

Draft removing a GA4 key event so the event no longer counts as a conversion, returning a PREVIEW. The event itself keeps firing and stays in event reports; only its key-event status goes, for future data (key events already recorded are not reclassified). The draft resolves the event name against the property's key events (keyEvents.list), so the preview names the exact key event, its counting method and create time; an unknown name returns the existing key events, and one GA4 marks as not deletable is refused. Returns a preview with a plan_id and warnings; nothing changes until confirm_and_apply applies it (GA4 Admin API keyEvents.delete). Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1

NameTypeReqDescription
event_namestringyesEvent name of the key event to remove, exactly as listed by list_key_events (e.g. "sign_up"). Required.
property_idstring–Numeric GA4 property ID, with or without the "properties/" prefix. If empty, uses the default from config.

Structured output declared, but exposes no named fields.

No examples provided.

draft_demographic_targeting ~456

Draft demographic targeting (age/gender/parental status/income) — returns a PREVIEW. By default, Google Ads serves to all demographic segments. This tool adds criteria that EXCLUDE a segment (negative=True, default) or NARROW targeting to it (negative=False — uncommon). Takes exactly one of ad_group_id or campaign_id, and at least one of the four demographic lists must contain a value. Returns a preview with a plan_id, plus warnings when the change narrows targeting, excludes 'undetermined' users, or excludes nearly a whole dimension; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
ad_group_idstring–Numeric ad group ID to add the criteria to. Mutually exclusive with campaign_id.
age_rangesarray–Age buckets '18-24', '25-34', '35-44', '45-54', '55-64', '65+', 'undetermined' (or canonical names such as AGE_RANGE_18_24). Google's buckets are FIXED — 'Exclude 23-35' has no exact mapping and need…
campaign_idstring–Numeric campaign ID to add the criteria to. Mutually exclusive with ad_group_id; campaign-level criteria can only be exclusions (negative=True).
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
gendersarray–'female', 'male', 'undetermined'.
income_rangesarray–PERCENTILES (not currency): 'top-10', '11-20', '21-30', '31-40', '41-50', 'lower-50', 'undetermined'. Available in select countries only (US, AU, JP, etc.).
negativeboolean–True (default) excludes the listed segments; False adds positive criteria that narrow an ad group's targeting to them.
parental_statusesarray–'parent', 'not_a_parent', 'undetermined'.

Structured output declared, but exposes no named fields.

No examples provided.

draft_dismiss_recommendations ~249

Dismiss Google Ads recommendations — returns a PREVIEW. Turns down recommendations you will not take (e.g. "add broad match" on a deliberately narrow account) so they stop reappearing in get_recommendations. Nothing in the account changes, and Google can show a dismissed recommendation again later, so a single confirmation is enough. Each ID must be an active recommendation: unknown or already dismissed IDs are refused by name. The preview lists each one's type, campaign and estimated improvement, so the user sees what they are turning down. DismissRecommendation has no validate-only mode: the dry run re-reads the account and checks every recommendation is still active instead of sending the call to Google. The returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
customer_idstring–Ads account ID. Defaults to the configured account.
recommendation_idsarrayyes`recommendation.id` values from get_recommendations, or full resource names (customers/{customer_id}/recommendations/{id}). Duplicates are collapsed.

Structured output declared, but exposes no named fields.

No examples provided.

draft_ga4_annotation ~388

Draft creating, changing or deleting a GA4 annotation (a note on a date or date range in GA4's charts), returning a PREVIEW. Use it to mark what explains a change in the data: a site relaunch, a price change, a campaign start, a tracking fix. Create needs title and date; update and delete need the annotation's ID from list_ga4_annotations, and an update changes only the fields passed (the preview shows before and after). Annotations Google created itself cannot be changed. Nothing changes until confirm_and_apply applies it; the dry run re-reads the annotation and refuses if it was changed in GA4 after the preview. GA4 Admin API v1alpha (reportingDataAnnotations). Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1

NameTypeReqDescription
actionstring–"create" (default), "update" or "delete".
annotationstring–ID or resource name of the annotation to update or delete (list_ga4_annotations).
colorstring–BLUE (default on create), GREEN, RED, PURPLE, BROWN or CYAN.
datestring–The day as YYYY-MM-DD, or the first day of a range together with end_date. Required for create.
description––Up to 150 characters. On update, "" clears it.
end_datestring–Last day of a range (YYYY-MM-DD); leave empty for one day.
property_idstring–Numeric GA4 property ID, with or without the "properties/" prefix. If empty, uses the default from config.
titlestring–Up to 60 characters. Required for create.

Structured output declared, but exposes no named fields.

No examples provided.

draft_ga4_audience ~727

Draft creating, renaming or archiving a GA4 audience — returns a PREVIEW. An audience is the users who sent certain events, viewed certain pages, or did a sequence of both in order. A linked Google Ads account receives it as a remarketing list within one to two days, to attach to campaigns with draft_audience_attachment: this is how to build a list of site visitors, of buyers, of visitors who did not buy, or of people who saw the pricing page without signing up. GA4 fixes the conditions and the membership duration at creation; afterwards only the name and description can change, and archiving is permanent (it needs a double confirmation). The draft refuses a taken name and a full property, and the preview warns when the property's audiences would not reach Google Ads (see list_ga4_audiences). Nothing changes until confirm_and_apply applies the plan_id. Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1

NameTypeReqDescription
actionstring–"create" (default), "update" (name and description only) or "archive".
audiencestring–For update and archive: the audience's display name or resource name from list_ga4_audiences.
description––Optional for create (one is written from the events); the new description for update.
display_namestring–Name of the audience; required for create, the new name for update.
exclude_eventsarray–Create only. Users who sent any of these are kept out, e.g. include ["session_start"] and exclude ["purchase"] for visitors who did not buy.
exclude_pagesarray–Create only. Users who viewed such a page are kept out, e.g. ["/thank-you"].
exclude_permanentlyboolean–Create only. True keeps users out for good once they sent an excluded event; False (default) only while they keep meeting the exclusion within the membership window.
include_eventsarray–Create only. Users who sent ANY of these events join, e.g. ["session_start"] for every visitor, ["purchase"] for buyers, ["sign_up", "generate_lead"] for leads. Together with include_pages it is stil…
include_pagesarray–Create only. Users who viewed a page whose full URL contains ANY of these texts join, e.g. ["/pricing"] (also matches /pricing/enterprise and /en/pricing). Not case sensitive.
membership_duration_daysinteger–Create only. Days a user stays after last meeting the conditions, 1 to 540 (default 30).
property_idstring–GA4 property as "properties/123456789" or the bare numeric ID. If empty, uses the default from config.
sequence––Create only, instead of include_events / include_pages. 2 to 10 steps the user must do in this order. Each is an event name ("begin_checkout") or an object: {"event": "..."} or {"page": "/pricing"},…

Structured output declared, but exposes no named fields.

No examples provided.

draft_ga4_custom_dimension ~397

Draft registering, changing or archiving a GA4 custom dimension, returning a PREVIEW. Registering makes an event parameter (EVENT scope), a user property (USER) or an ecommerce item parameter (ITEM) reportable as a dimension. Before anything reaches Google the draft refuses a parameter that is already registered, a taken display name and a full property (see list_ga4_custom_definitions), and the preview warns that GA4 fills the dimension only from now on and that parameter_name and scope cannot change later. Update changes display_name, description or (USER scope) disallow_ads_personalization; archive removes it from reports and frees the slot, cannot be undone and needs a double confirmation. Nothing changes until confirm_and_apply applies it. GA4 Admin API (customDimensions). Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1

NameTypeReqDescription
actionstring–"create" (default), "update" or "archive".
custom_dimensionstring–Resource name, instead of parameter_name, for update or archive.
description––Up to 150 characters. On update, "" clears it.
disallow_ads_personalization––USER scope only: keep this dimension out of ads personalization.
display_namestring–Name shown in GA4; defaults to parameter_name on create.
parameter_namestring–The event parameter or user property name exactly as sent, e.g. "plan_type". Required for create; identifies the dimension for update and archive.
property_idstring–Numeric GA4 property ID, with or without the "properties/" prefix. If empty, uses the default from config.
scopestring–EVENT (default), USER or ITEM.

Structured output declared, but exposes no named fields.

No examples provided.

draft_ga4_custom_metric ~390

Draft registering, changing or archiving a GA4 custom metric, returning a PREVIEW. Registering makes a numeric event parameter reportable as a metric. The draft refuses a parameter that is already registered, a taken display name and a full property (see list_ga4_custom_definitions), and the preview warns that GA4 fills the metric only from now on. Update changes display_name, description, measurement_unit or restricted_metric_type; archive removes it from reports, cannot be undone and needs a double confirmation. Nothing changes until confirm_and_apply applies it. GA4 Admin API (customMetrics). Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1

NameTypeReqDescription
actionstring–"create" (default), "update" or "archive".
custom_metricstring–Resource name, instead of parameter_name, for update or archive.
description––Up to 150 characters. On update, "" clears it.
display_namestring–Name shown in GA4; defaults to parameter_name on create.
measurement_unitstring–STANDARD (default on create), CURRENCY, FEET, METERS, KILOMETERS, MILES, MILLISECONDS, SECONDS, MINUTES or HOURS.
parameter_namestring–The numeric event parameter exactly as sent, e.g. "discount_amount". Required for create; identifies the metric for update and archive.
property_idstring–Numeric GA4 property ID, with or without the "properties/" prefix. If empty, uses the default from config.
restricted_metric_type––For CURRENCY metrics, required: ["COST_DATA"] or ["REVENUE_DATA"] (or both).

Structured output declared, but exposes no named fields.

No examples provided.

draft_ga4_data_retention ~344

Draft a change to how long GA4 keeps event- and user-level data, returning a PREVIEW. GA4 defaults to 2 months, which cuts explorations, funnels and other user-level reports short; standard properties allow 14 months, GA4 360 up to 50. Standard reports are aggregated and not affected. Lengthening applies from now on (data already deleted does not come back); shortening deletes older data for good and needs a double confirmation. The preview shows before and after and reminds the user that a privacy policy naming a retention period must match. NO_CHANGE when the settings already match. Nothing changes until confirm_and_apply applies it; the dry run re-reads the settings and refuses if they changed in GA4 after the preview. Google Analytics Data API: https://developers.google.com/analytics/devguides/reporting/data/v1 and Admin API: https://developers.google.com/analytics/devguides/config/admin/v1

NameTypeReqDescription
event_data_retentionstring–Months to keep event-level data: 2, 14, 26, 38 or 50 (or TWO_MONTHS, FOURTEEN_MONTHS, ...). Empty leaves it.
property_idstring–Numeric GA4 property ID, with or without the "properties/" prefix. If empty, uses the default from config.
reset_user_data_on_new_activity––True restarts a user's retention period with each new event from that user. Empty leaves it.
user_data_retentionstring–Months to keep user-level data, same values. Empty leaves it.

Structured output declared, but exposes no named fields.

No examples provided.

draft_gtm_tag ~561

Draft creating or updating a Tag Manager tag — returns a PREVIEW. Without tag_id this creates a tag in a workspace; with tag_id it updates the existing tag. The edit lands in the workspace and changes nothing on the site until the workspace is published. Refused unless gtm.write_enabled is set, and Custom HTML (html) is refused as well unless gtm.allow_custom_html is set. Returns the resolved workspace, the tag type, the fields that would change and a plan_id. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2

NameTypeReqDescription
blocking_trigger_ids––Trigger IDs that must not fire the tag.
firing_trigger_ids––Trigger IDs that fire the tag (see list_gtm_triggers). The built-in All Pages trigger is "2147479553".
gtm_account_idstring–Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config.
gtm_container_idstring–Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config.
namestring–Tag name, 1-200 characters. Required when creating a tag.
notes––Free-form note stored on the tag. None keeps the current note.
parameters––GTM parameter dicts with at least "type" and "key", for example gaawe [{"type": "TEMPLATE", "key": "eventName", "value": "form_submit"}] or awct [{"type": "TEMPLATE", "key": "conversionId", "value":…
paused––True stores the tag paused instead of deleting it. None keeps the current state.
tag_idstring–Existing tag ID to update (see list_gtm_tags). Empty creates a new tag.
tag_typestring–Tag type, required when creating a tag because GTM cannot change a tag's type later: googtag, gaawe (GA4 event), awct (Ads conversion), awcc, awud, sp (Ads remarketing), gclidw, flc, fls, img, html (…
workspace_idstring–Workspace to edit (see list_gtm_workspaces). Empty uses the Default Workspace, or the only workspace there is.

Structured output declared, but exposes no named fields.

No examples provided.

draft_gtm_trigger ~598

Draft creating or updating a Tag Manager trigger — returns a PREVIEW. Without trigger_id this creates a trigger in a workspace; with trigger_id it updates the existing one. The edit lands in the workspace and changes nothing on the site until the workspace is published. Refused unless gtm.write_enabled is set. Returns the resolved workspace, the trigger fields that would change and a plan_id. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2

NameTypeReqDescription
auto_event_filters––Conditions on automatic event parameters, same shape as filters. On update the list replaces the existing one.
custom_event_filters––Conditions on custom event parameters, same shape as filters. On update the list replaces the existing one.
custom_event_namestring–The dataLayer event name. Required for trigger type customEvent, rejected for every other type, and rejected on an existing trigger, where the event name sits in its custom event filter.
filters––GTM conditions, each a dict with "type" (EQUALS, CONTAINS, MATCH_REGEX, ...) and "parameter" (arg0 = variable, arg1 = value), for example clicks on tel: links [{"type": "CONTAINS", "parameter": [{"ty…
gtm_account_idstring–Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config.
gtm_container_idstring–Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config.
namestring–Trigger name, 1-200 characters. Required when creating a trigger.
notes––Free-form note stored on the trigger. None keeps the current note.
parameters––GTM parameter dicts with at least "type" and "key". On update they merge by key: passed keys replace, other keys stay.
trigger_idstring–Existing trigger ID to update (see list_gtm_triggers). Empty creates a new trigger.
trigger_typestring–Trigger type, required when creating a trigger and rejected on an existing one, because GTM cannot change it later: pageview, domReady, windowLoaded, click, linkClick, formSubmission, customEvent, el…
workspace_idstring–Workspace to edit (see list_gtm_workspaces). Empty uses the Default Workspace, or the only workspace there is.

Structured output declared, but exposes no named fields.

No examples provided.

draft_gtm_variable ~570

Draft creating or updating a Tag Manager variable: returns a PREVIEW. Without variable_id this creates a variable in a workspace; with variable_id it updates the existing one. Data Layer Variables, the usual source for GA4 ecommerce values, take data_layer_key (e.g. "ecommerce.value") instead of raw parameters. Tags and triggers use a variable as {{name}}; renaming one they reference is refused, because the references would break (the GTM UI renames safely). Custom JavaScript variables run code on the site and are refused unless gtm.allow_custom_html is set. The edit lands in the workspace and changes nothing on the site until the workspace is published. Refused unless gtm.write_enabled is set. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2

NameTypeReqDescription
data_layer_keystring–For Data Layer Variables: the dataLayer key to read, dot notation for nested values, e.g. "ecommerce.transaction_id".
default_value––For Data Layer Variables: the value when the key is missing. None sets no default.
gtm_account_idstring–Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config.
gtm_container_idstring–Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config.
namestring–Variable name, 1-200 characters without curly braces. Required when creating a variable.
notes––Free-form note stored on the variable. None keeps the current note.
parameters––GTM parameter dicts with at least "type" and "key" for the other types, e.g. a Constant's [{"type": "TEMPLATE", "key": "value", "value": "G-ABC123"}]. On update they merge by key.
variable_idstring–Existing variable ID to update (see list_gtm_variables). Empty creates a new variable.
variable_typestring–Required when creating, fixed afterwards: v (Data Layer Variable), c (Constant), u (URL), k (1st-party cookie), j (JavaScript Variable, reads a global), aev (Auto-Event Variable), d (DOM element), f…
workspace_idstring–Workspace to edit (see list_gtm_workspaces). Empty uses the Default Workspace, or the only workspace there is.

Structured output declared, but exposes no named fields.

No examples provided.

draft_image_assets ~406

Draft image assets from local files, public image URLs or uploads — returns a PREVIEW. At least one image in total is required across image_paths, image_urls and upload_ids. Images must be PNG, JPEG or GIF and at most 5120 KB (Google's limit). URL images are downloaded now and checked; applying re-downloads them and refuses if the image changed since the preview. Returns a preview with a plan_id and a per-image summary; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start

NameTypeReqDescription
campaign_idstring–Numeric ID of the campaign to attach the images to. Leave empty with scope="account".
customer_idstring–Google Ads customer ID (digits, dashes optional). Defaults to the configured account.
field_types––One per image, in the order upload_ids, image_paths, image_urls: AD_IMAGE (campaign links; the default) or BUSINESS_LOGO (campaign or account links). Required with scope="account".
image_pathsarray–Local PNG/JPEG/GIF file paths on the machine running AdLoop. Not available on a hosted server, where image_urls applies instead.
image_urlsarray–Public http(s) URLs of PNG/JPEG/GIF images. Links to private, local or internal addresses are refused.
scopestring–Empty follows campaign_id. "account" links the images account-wide, which Google allows for BUSINESS_LOGO only and which is never inferred from an empty campaign_id. An account takes one business log…
upload_idsarray–Ids of images the user uploaded (up_..., from upload_images or list_uploads). The way to use an image that has no public URL.

Structured output declared, but exposes no named fields.

No examples provided.

Install

How do I install the AdLoop MCP server?

AdLoop runs locally as a PyPI package, launched with uvx adloop. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · adloop

# add to Claude Code
claude mcp add com-getadloop-adloop -- uvx adloop
Common questions

What is the AdLoop MCP server?

AdLoop is an MCP server listed in the public MCP registry as com.getadloop/adloop. Google Ads MCP server with Reddit Ads, GA4 and Tag Manager. Every change is previewed first. This page covers its PyPI package (adloop).

Is the AdLoop MCP server safe to use?

AdLoop scores 92 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 22 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the AdLoop MCP server expose?

AdLoop exposes 145 tools: health_check, get_account_summaries, run_ga4_report, run_realtime_report, get_ga4_property, and 140 more. Their descriptions and schemas cost roughly 43,139 tokens of context every time the server is loaded.

Is the AdLoop MCP server still maintained?

AdLoop is still listed as active in the MCP registry. We last reached this channel on 22 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the AdLoop MCP server under?

AdLoop declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

What did VerifyMCP test on the AdLoop MCP server?

VerifyMCP ran 17 checks on AdLoop, covering Malware scan, Known CVEs, Install scripts, Dependency health and 13 more. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.