AdLoop
PYPI · ADLOOP · 2 COMPONENTS
Google Ads MCP server with Reddit Ads, GA4 and Tag Manager. Every change is previewed first.
Available components
Last scanned (16 hours ago)
Scores higher than 93% of PyPI servers
Category Marketing and SEO
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
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 →
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
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 →
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 →
draft_key_event Draft an Analytics key event ~330
Draft marking a GA4 event as a key event (conversion), or changing an existing one — returns a PREVIEW. The fix for "the event fires but isn't tracked as a conversion": attribution_check / validate_tracking diagnose it, this closes the loop. When the event already is a key event, the plan changes its counting method or default value instead and the preview shows before and after; nothing to change returns NO_CHANGE. Applies to future data only. Returns a preview with a plan_id and warnings; nothing changes until confirm_and_apply applies it. 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
| Name | Type | Req | Description |
|---|---|---|---|
| counting_method | string | – | ONCE_PER_EVENT (counts every occurrence, e.g. purchases) or ONCE_PER_SESSION (counts once per session, e.g. sign-ups). Defaults to ONCE_PER_EVENT. |
| currency_code | string | – | Three-letter currency of default_value, e.g. "EUR". |
| default_value | – | – | Value GA4 gives each key event when the event sends no value parameter, e.g. 20 for a lead. Needs currency_code. |
| event_name | string | yes | Name of the GA4 event to mark as a key event, exactly as it fires (e.g. "sign_up", "purchase"). Required. |
| property_id | string | – | 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_keywords Draft keywords ~164
Draft keyword additions — returns a PREVIEW, does NOT add keywords. Returns a preview with a plan_id, plus a warning when BROAD keywords go into a campaign without Smart Bidding; nothing changes until confirm_and_apply applies the returned plan_id. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_id | string | yes | Numeric ID of the ad group that gets the keywords. |
| customer_id | string | – | Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account. |
| keywords | array | yes | List of {"text": "keyword phrase", "match_type": "EXACT|PHRASE|BROAD"}; at least one is required. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_pmax_product_exclusions Draft Performance Max product exclusions ~278
Draft which products a retail Performance Max asset group excludes — returns a PREVIEW. Sets the full list of excluded values on one product dimension (item id, brand or a custom label); everything else stays included. Pass the complete list each time: values left out are included again, and an empty list includes all products. Works on asset groups that advertise all products or are already split on that one dimension; more complex product filters are refused and stay a job for Google Ads. The filter is rebuilt in one atomic request. 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
| Name | Type | Req | Description |
|---|---|---|---|
| asset_group_id | string | yes | Numeric asset group id of a Performance Max campaign with a Merchant Center feed (from get_pmax_performance). |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| dimension | string | – | "item_id" (default), "brand", or "custom_label_0" to "custom_label_4". |
| exclude_values | array | yes | Every value to exclude, e.g. item ids from the feed, brand names or custom label values. [] removes all exclusions. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_prepare_brand_exclusions Prepare a campaign for brand exclusions ~242
Draft the safe standard state for brand exclusions — returns a PREVIEW. Exactly one combination, nothing else: enable_ai_max = true, disable_search_term_matching = true (all non-removed ad groups), TEXT_ASSET_AUTOMATION = OPTED_OUT and FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION = OPTED_OUT. No bidding, keyword, match type, ad, URL or budget change, and no brand list is attached — attaching stays a separate step with propose_brand_list / attach_brand_list_to_campaigns once this state is verified in the account. Returns a preview with a plan_id (purpose brand_exclusions); nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | yes | Numeric ID of the Search campaign to prepare. |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| include_paused_ad_groups | boolean | – | Default true — paused ad groups are set too, so re-enabling one later cannot silently restore search term matching. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_price_asset Draft a price asset ~401
Draft a price asset (the row of prices under an ad) — returns a PREVIEW. Creates a price asset with 3-8 offerings 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. Every offering URL is checked for reachability. Google disapproves prices that differ from the landing page. Returns a preview with a plan_id. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_id | string | – | Numeric ID of the ad group to link them to, instead of a campaign. |
| campaign_id | string | – | Numeric ID of the campaign to link the prices to. |
| currency_code | string | – | ISO 4217 code of the prices. Empty uses the account currency (shown in the preview). |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| language_code | string | yes | Language of the offerings' text ("de", "en"). Required. |
| offerings | array | yes | 3-8 dicts, each with header and description (at most 25 characters each, headers unique), price (greater than 0), final_url, and optional final_mobile_url and unit (PER_HOUR, PER_DAY, PER_WEEK, PER_M… |
| price_qualifier | string | – | FROM ("From 49 EUR"), UP_TO or AVERAGE; empty for none. |
| price_type | string | yes | SERVICES, BRANDS, EVENTS, LOCATIONS, NEIGHBORHOODS, PRODUCT_CATEGORIES, PRODUCT_TIERS, SERVICE_CATEGORIES or SERVICE_TIERS. |
| scope | string | – | Empty (follows the id), "campaign", "ad_group" or "account". |
Structured output declared, but exposes no named fields.
No examples provided.
draft_promotion Draft a promotion asset ~593
Draft a promotion asset ("20% off winter tyres") — returns a PREVIEW. Creates the promotion 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. The final_url is checked for reachability. Returns a preview with a plan_id. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_id | string | – | Numeric ID of the ad group to link it to, instead of a campaign. |
| ad_schedule | array | – | Optional windows when the promotion 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. |
| campaign_id | string | – | Numeric ID of the campaign to link the promotion to. |
| currency_code | string | – | ISO 4217 code for money_off and orders_over_amount. Empty uses the account currency (shown in the preview). |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| discount_modifier | string | – | "UP_TO" shows "Up to 20% off"; empty for none. |
| end_date | string | – | Last day the promotion shows, YYYY-MM-DD. |
| final_url | string | yes | Landing page of the promotion. |
| language_code | string | yes | Language of the promotion's text ("de", "en"). Required: Google shows the promotion in that language. |
| money_off | number | – | Fixed discount, in the account currency unless currency_code says otherwise. Pass this or percent_off. |
| occasion | string | – | Optional occasion such as BLACK_FRIDAY, CHRISTMAS or SUMMER_SALE. |
| orders_over_amount | number | – | Optional minimum order value that unlocks the promotion. |
| percent_off | number | – | Percentage discount, greater than 0 and at most 100 (15.5 for 15.5%). Pass this or money_off. |
| promotion_code | string | – | Optional coupon code (at most 15 characters). Pass this or orders_over_amount, not both. |
| promotion_target | string | yes | What the promotion is for, shown in the ad (at most 20 characters). |
| redemption_end_date | string | – | Last day the offer can be redeemed, YYYY-MM-DD. |
| redemption_start_date | string | – | First day the offer can be redeemed, YYYY-MM-DD. |
| scope | string | – | Empty (follows the id), "campaign", "ad_group" or "account". |
| start_date | string | – | First day the promotion shows, YYYY-MM-DD. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_publish_gtm_workspace Draft publishing a Tag Manager workspace ~344
Draft publishing a Tag Manager workspace LIVE — returns a PREVIEW. Every pending change in the workspace goes live, including changes other people made in the GTM UI; the preview lists them all. Apply refuses when the workspace changed after the preview, has merge conflicts, or reports compiler errors in a quick preview, and it refuses a Custom HTML tag being added or changed while gtm.allow_custom_html is off. Refused unless gtm.write_enabled is set. Returns the pending changes, the version that is live now (for a one-step rollback), the version name that would be created and a plan_id. That gate matches the tag type html; a Custom JavaScript variable or a custom template tag (cvt_…), which can inject a script, is not covered and needs review in the GTM UI. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
| Name | Type | Req | Description |
|---|---|---|---|
| gtm_account_id | string | – | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. |
| gtm_container_id | string | – | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. |
| version_name | string | – | Name of the container version created by the publish. Empty uses "AdLoop publish <UTC timestamp>". |
| version_notes | string | – | Notes stored on the created version. Empty leaves them out. |
| workspace_id | string | – | Workspace to publish (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_recommendation_subscriptions Draft pausing auto-apply recommendations ~242
Pause auto-apply for recommendation types — returns a PREVIEW. Pausing is the only change this tool can make: it sets each type's subscription to PAUSED, so Google stops applying those recommendations on its own. Their recommendations still appear in get_recommendations. Re-enabling auto-apply is deliberately not supported; it lets Google change the account without a preview, so it stays a decision for the Google Ads UI. Pausing reduces automation, so a single confirmation is enough. Each type must have an ENABLED subscription (see get_recommendation_subscriptions); a type with none, or one already paused, is refused by name. The dry run sends the request to Google with validate_only. The returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Ads account ID. Defaults to the configured account. |
| recommendation_types | array | yes | RecommendationType names with an ENABLED subscription, e.g. ["KEYWORD", "USE_BROAD_MATCH_KEYWORD"]. Duplicates are collapsed. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_remove_conversion_action Draft removing a conversion action ~156
Draft a REMOVAL of a ConversionAction — returns a PREVIEW. Removal stops counting and drops the action from goal lists; historical data is preserved but the action is irreversible. SMART_CAMPAIGN_* and GOOGLE_HOSTED types reject removal with MUTATE_NOT_ALLOWED. 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
| Name | Type | Req | Description |
|---|---|---|---|
| conversion_action_id | string | yes | Numeric ConversionAction ID, e.g. from SELECT conversion_action.id, conversion_action.name FROM conversion_action. |
| customer_id | string | – | Google Ads customer ID (digits, dashes allowed). Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_responsive_search_ad Draft a responsive search ad ~448
Draft a Responsive Search Ad — returns a PREVIEW, does NOT create the ad. The preview shows exactly what will be created; confirm_and_apply executes the returned plan_id. The ad is created PAUSED. final_url is checked for reachability first and an unreachable URL is refused. Several headlines may pin to the same position (Google rotates them there) as long as every position stays fillable, by an asset pinned to it or by a distinct unpinned one. Mixed plain-string and dict entries are allowed within a single call (e.g. brand pinned to HEADLINE_1, the rest unpinned). Warnings note fewer than 8 headlines or 3 descriptions. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_id | string | yes | Numeric ID of the ad group that gets the ad. |
| customer_id | string | – | Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account. |
| descriptions | array | yes | 2-4 descriptions, max 90 chars each. Each entry is a plain string (unpinned) or {"text": "...", "pinned_field": "DESCRIPTION_1"}; valid pins are DESCRIPTION_1, DESCRIPTION_2. Insertion tags count as… |
| final_url | string | yes | Landing page URL the ad links to; must be reachable. |
| headlines | array | yes | 3-15 headlines, max 30 chars each. Each entry is a plain string (unpinned) or {"text": "...", "pinned_field": "HEADLINE_1"}; valid pins are HEADLINE_1, HEADLINE_2, HEADLINE_3. Keyword or location ins… |
| path1 | string | – | Optional first display-URL path segment (Google allows up to 15 chars). |
| path2 | string | – | Optional second display-URL path segment (Google allows up to 15 chars). |
Structured output declared, but exposes no named fields.
No examples provided.
draft_rollback_gtm_version Draft rolling back Tag Manager to a version ~267
Draft republishing an older Tag Manager version LIVE; returns a PREVIEW. A rollback publishes an existing container version again. The preview diffs the live version against the target, so it lists every tag, trigger and variable that changes on the site, and it pins the live version: apply refuses when another version went live after the preview, or when the target was modified or archived. Workspaces are not changed. Refused unless gtm.write_enabled is set, and refused when the target adds or changes a Custom HTML tag while gtm.allow_custom_html is off. Returns the diff, previous_live_version_id (the version that restores today's state), the target version and a plan_id. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
| Name | Type | Req | Description |
|---|---|---|---|
| gtm_account_id | string | – | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. |
| gtm_container_id | string | – | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. |
| version_id | string | yes | Container version ID to make live again (see list_gtm_versions and get_gtm_version_diff). |
Structured output declared, but exposes no named fields.
No examples provided.
draft_shopping_campaign Draft a Shopping campaign ~451
Draft a Standard Shopping campaign that advertises a Merchant Center feed — returns a PREVIEW. Creates the budget, the campaign (PAUSED), a product ad group with its Shopping ad, and one "All products" product group, in one atomic request. The Merchant Center account must be linked to the Google Ads account; the draft checks that. Shopping campaigns take no keywords and no language targeting (the feed's language applies). 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
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_name | string | – | Optional ad group name; defaults to "<campaign> - All products". |
| bidding_strategy | string | – | MANUAL_CPC (default), TARGET_SPEND (Maximize clicks) or TARGET_ROAS. |
| campaign_name | string | yes | Name of the new campaign. |
| campaign_priority | string | – | LOW (default), MEDIUM or HIGH. With several Shopping campaigns on the same products, the higher priority serves first. |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| daily_budget | number | yes | Daily budget in account currency, checked against the max_daily_budget safety cap. |
| feed_label | string | – | Optional feed label to limit the campaign to one feed of the Merchant Center account. |
| geo_target_ids | array | yes | Countries or regions as geo target constant ids, e.g. ["2276"] for Germany. Required. |
| max_cpc | number | – | Optional CPC ceiling for TARGET_SPEND, in account currency. |
| merchant_id | string | yes | Numeric Merchant Center id (from list_merchant_accounts) whose products the campaign advertises. |
| product_bid | number | yes | CPC bid of the "All products" group in account currency. Google requires it even when the bid strategy sets bids. |
| search_partners_enabled | boolean | – | Also serve on Google search partners. |
| target_roas | number | – | Target return on ad spend for TARGET_ROAS, e.g. 4.0 for 400%. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_sitelinks Draft sitelinks ~352
Draft sitelink extensions for a campaign or the account — returns a PREVIEW. Sitelinks appear as additional links below your ad, increasing click area and directing users to specific pages. Every final_url is fetched and an unreachable URL (HTTP 4xx/5xx) blocks the draft. Google recommends at least 4 sitelinks per campaign; fewer than 2 may not show. Returns a preview with a plan_id and any warnings; nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Numeric ID of the campaign to attach sitelinks to. Leave empty with scope="account". |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| scope | string | – | Empty follows campaign_id. "account" links the sitelinks account-wide; they serve on every eligible campaign without sitelinks of its own. It is never inferred from an empty campaign_id. |
| sitelinks | array | yes | List of dicts (at least one), each with link_text (str, required, max 25 chars) — the clickable text shown; final_url (str, required) — destination URL for this sitelink; description1 (str, optional,… |
Structured output declared, but exposes no named fields.
No examples provided.
draft_structured_snippets Draft structured snippets ~311
Draft structured snippet assets for an ad group, a campaign or the account — returns a PREVIEW. Creates structured snippet assets and links them 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. 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
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_id | string | – | Numeric ID of the ad group to link them to, instead of a campaign. |
| campaign_id | string | – | Numeric ID of the campaign to link the snippets to. |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| scope | string | – | Empty (follows the id), "campaign", "ad_group" or "account". |
| snippets | array | yes | At least one dict with "header" and "values". header is one of Google's snippet headers, in the language of the values: Amenities, Brands, Courses, Degree programs, Destinations, Featured Hotels, Ins… |
Structured output declared, but exposes no named fields.
No examples provided.
draft_update_conversion_action Draft conversion action changes ~600
Draft a partial UPDATE of an existing ConversionAction — returns PREVIEW. Only parameters passed non-empty/non-default are sent to the API. Covers renaming, demoting a Primary to Secondary, changing value, adjusting the call-duration threshold, changing attribution, or moving the action to another goal with category. SMART_CAMPAIGN_* and GOOGLE_HOSTED types reject mutations with MUTATE_NOT_ALLOWED at apply time. Returns a preview with a plan_id (plus warnings where relevant); nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| always_use_default_value | – | – | True always uses default_value; False uses it only as a fallback when the tag/import supplies no value (the preview warns when combined with a positive default_value). Omit to leave unchanged. |
| attribution_model | string | – | AttributionModel enum value, e.g. GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN. Empty leaves it unchanged. |
| category | string | – | ConversionActionCategory to move the action to, e.g. PHONE_CALL_LEAD; that decides which goal it belongs to. The preview pins the current one (current_category); if the category is changed in Google… |
| click_through_window_days | integer | – | Click-through attribution window in days, 1-90. 0 leaves it unchanged. |
| conversion_action_id | string | yes | Numeric ConversionAction ID. It comes from: SELECT conversion_action.id, conversion_action.name FROM conversion_action. |
| counting_type | string | – | ONE_PER_CLICK or MANY_PER_CLICK. Empty leaves it unchanged. |
| currency_code | string | – | New 3-letter ISO 4217 currency code. Empty leaves it unchanged. |
| customer_id | string | – | Google Ads customer ID (digits, dashes allowed). Defaults to the configured account. |
| default_value | number | – | New default value in the action's currency (not micros), >= 0. 0 leaves it unchanged. |
| include_in_conversions_metric | – | – | Refused when passed: Google answers IMMUTABLE_FIELD at apply, and a dry run does not catch it. It derives the value from primary_for_goal and whether the goal of the action's category is biddable; us… |
| name | string | – | New name. Empty keeps the current name. |
| phone_call_duration_seconds | integer | – | Minimum call length in seconds for a call to count. 0 leaves it unchanged. |
| primary_for_goal | – | – | True makes it Primary (Smart Bidding optimizes toward it); False demotes it to Secondary. Omit to leave unchanged. |
| view_through_window_days | integer | – | View-through attribution window in days, 1-30. 0 leaves it unchanged. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_update_custom_conversion_goal Draft changes to a custom conversion goal ~158
Rename and/or re-scope an existing custom conversion goal — PREVIEW. conversion_action_ids REPLACES the whole action list, it does not append. An empty parameter stays unchanged. The preview shows the action list before and after. The returned plan_id is applied with confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| conversion_action_ids | array | – | The complete new action list. Empty leaves the actions unchanged. |
| custom_conversion_goal_id | string | yes | Numeric goal ID from get_custom_conversion_goals. |
| customer_id | string | – | Ads account ID. Defaults to the configured account. |
| name | string | – | New name. Empty leaves the name unchanged. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_upload_call_conversions Draft call conversion upload ~666
Draft an offline CALL-conversion upload from a CSV — returns a PREVIEW. Uploads call conversions via ConversionUploadService.UploadCallConversions, matching the call against the ad click by the caller's phone number. The CSV must have columns: Caller's Phone Number, Call Start Time, Conversion Name, Conversion Time, Conversion Value, Conversion Currency. The Conversion Name must match an existing UPLOAD_CALLS-type conversion action — verified against the account while drafting, so a typo fails here rather than after the upload. Optional `Ad User Data` and `Ad Personalization` columns carry consent per row. The CSV comes from csv_path (a file on the machine running AdLoop) or from upload_id (a file uploaded with upload_conversion_csv, the only way on AdLoop Cloud). An uploaded file is deleted once the draft has read it. PII: the caller phone number is required RAW by Google (it cannot be hashed), so it lives in the plan's apply-only payload — the preview shows redacted ids and counts, the audit log and `plan.changes` show neither. Apply uploads exactly what you previewed (no CSV re-read). Phone numbers are normalized with libphonenumber semantics: a number carries no country code needs ``default_region``, an extension is dropped, and the German trunk marker in "+49 (0)89 …" is handled. Rows whose number stays unusable are skipped and reported in `skipped_rows` instead of being uploaded to no effect. Rows that repeat inside one file are named in `dedup_warnings`. A call upload has no dedup key at Google, so each of them still goes out as its own conversion — the warning is the only place that says so. Returns a preview with a plan_id, the row counts, the consent the rows actually carry (`consent_summary`) and the skipped rows; nothing is uploaded until that preview is confirmed. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| consent | – | – | Consent signals for GDPR/EEA, as an object with "ad_user_data" and/or "ad_personalization", each "GRANTED", "DENIED" or "UNSPECIFIED". None sends UNSPECIFIED. A row whose own "Ad User Data" / "Ad Per… |
| csv_path | string | – | Path of the CSV file holding the upload rows, read on the machine that runs AdLoop. Refused on the hosted server; use upload_id there. |
| customer_id | string | – | Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account. |
| default_region | string | – | ISO 3166-1 alpha-2 country assumed for phone numbers that carry no country code, e.g. "DE" for "0151 12345678". Empty leaves such numbers unusable and the row is skipped. |
| upload_id | string | – | Id of a CSV uploaded with upload_conversion_csv (up_...), instead of csv_path. |
Structured output declared, but exposes no named fields.
No examples provided.
draft_upload_enhanced_conversions_for_leads Draft enhanced conversions upload ~618
Draft an Enhanced Conversions for LEADS upload from a CSV — PREVIEW. Uploads lead conversions via ConversionUploadService.UploadClickConversions with user_identifiers, matching hashed customer PII back to the Google users who clicked the ads. The CSV holds RAW PII in columns: Email, Phone Number, First Name, Last Name (plus Conversion Name, Conversion Time, Conversion Value, Conversion Currency; optional Order ID dedup key, and optional `Ad User Data` / `Ad Personalization` consent columns). PII is normalized and SHA-256-hashed AT PREVIEW TIME — only the hashes are stored in the plan. Raw email/phone/name never land in the plan or the audit log. A cell that already is a SHA-256 hex digest (a CRM export that hashes before writing) is used as it is. The target conversion action must be UPLOAD_CLICKS-type. An Order ID column makes re-uploads dedup instead of double-counting. Rows that repeat inside one file are named in `dedup_warnings`. Rows sharing an Order ID count once at Google; two rows with different Order IDs are two real orders and are not reported. The CSV comes from csv_path (a file on the machine running AdLoop) or from upload_id (a file uploaded with upload_conversion_csv, the only way on AdLoop Cloud). An uploaded file is deleted once the draft has read it. Returns a preview with a plan_id, the row counts, the consent the rows actually carry (`consent_summary`) and the skipped rows; nothing is uploaded until that preview is confirmed. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| consent | – | – | Consent signals for GDPR/EEA, as an object with "ad_user_data" and/or "ad_personalization", each "GRANTED", "DENIED" or "UNSPECIFIED". None sends UNSPECIFIED. A row whose own "Ad User Data" / "Ad Per… |
| csv_path | string | – | Path of the CSV file holding the upload rows, read on the machine that runs AdLoop. Refused on the hosted server; use upload_id there. |
| customer_id | string | – | Google Ads customer ID (digits, e.g. "1234567890"). Empty uses the configured default account. |
| default_region | string | – | ISO 3166-1 alpha-2 country assumed for phone numbers that carry no country code, e.g. "DE" for "0151 12345678". Empty leaves such numbers unusable; the row still uploads when its email or its complet… |
| upload_id | string | – | Id of a CSV uploaded with upload_conversion_csv (up_...), instead of csv_path. |
Structured output declared, but exposes no named fields.
No examples provided.
enable_entity Draft enabling an entity ~222
Draft enabling a paused campaign, ad group, ad, or keyword — returns a PREVIEW. Returns a preview with a plan_id (target status ENABLED); nothing changes until confirm_and_apply applies it. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
| entity_id | string | yes | ID in the format for its type. campaign: campaign ID (e.g. "12345678"); ad_group: ad group ID (e.g. "12345678"); ad: "adGroupId~adId" (e.g. "12345678~987654"; a bare ad ID is resolved to its ad group… |
| entity_type | string | yes | "campaign", "ad_group", "ad", "keyword" or "asset_group" (Performance Max). |
Structured output declared, but exposes no named fields.
No examples provided.
estimate_budget Budget forecast ~352
Forecast clicks, cost, and conversions for a set of keywords. Uses Google Ads Keyword Planner to estimate campaign performance without creating anything. Essential for budget planning before launching campaigns. Per-keyword max_cpc values are collapsed to a campaign-level manual CPC cap (the highest one) — the Ads API forecast takes no per-keyword bids. Returns estimated clicks, cost, avg CPC, conversions and avg CPA for the forecast period, daily estimates, and insights. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Google Ads customer ID (digits, dashes allowed). Defaults to the configured account. |
| daily_budget | number | – | Daily budget in account currency. If provided, insights will show what % of traffic the budget captures. 0 = no budget comparison. |
| forecast_days | integer | – | Forecast horizon in days, starting tomorrow (default 30). |
| geo_target_id | string | – | Geo target constant ID (2276=Germany, 2840=USA, 2826=UK, 2250=France). Defaults to 2276. |
| keywords | array | yes | List of {"text": "keyword", "match_type": "EXACT|PHRASE|BROAD", "max_cpc": 1.50}. match_type defaults to BROAD; max_cpc is optional (defaults to 1.00 in account currency, not micros). At least one ke… |
| language_id | string | – | Language constant ID (1000=English, 1001=German, 1002=French, 1003=Spanish). Defaults to 1000. |
Structured output declared, but exposes no named fields.
No examples provided.
generate_tracking_code Generate tracking code ~315
Generate a GA4 event tracking JavaScript snippet. Produces ready-to-paste gtag code for the specified event. Includes recommended parameters for well-known GA4 events (sign_up, purchase, etc.). Optionally checks GA4 to warn if the event already fires. Returns the javascript snippet, already_exists / existing_count from GA4, and notes (duplicates, marking it as a key event, GDPR consent). 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
| Name | Type | Req | Description |
|---|---|---|---|
| check_existing | boolean | – | When true (default), looks up the last 28 days of GA4 events to report whether this event already fires. |
| event_name | string | yes | GA4 event name for the snippet, e.g. "sign_up" or "generate_lead". |
| event_params | – | – | Event parameters as a name-to-value object, e.g. {"method": "email"}. Missing recommended parameters for well-known events are added as typed placeholders. |
| property_id | string | – | GA4 property as "properties/123456789" used for the existing-event check. If empty, uses the default from config. |
| trigger | string | – | "form_submit", "button_click", or "page_load" — wraps the gtag call in an appropriate event listener (with a YOUR_SELECTOR placeholder for forms and buttons). Empty = bare gtag call. |
Structured output declared, but exposes no named fields.
No examples provided.
get_account_summaries List Analytics properties ~88
List all GA4 accounts and properties accessible by the authenticated user. Serves as the discovery step for which GA4 properties are available. Returns account names, property names, and property IDs. 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
Input schema present but exposes no named parameters.
Structured output declared, but exposes no named fields.
No examples provided.
get_ad_performance Ad performance ~251
Get ad-level performance data including headlines, descriptions, and metrics. Returns ad type, headlines, descriptions, final URL, impressions, clicks, CTR, conversions, cost for each ad, plus its policy approval status, review status and policy topic names. Disapproved and limited-by-policy ads are listed under policy_issues with their spend. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| compact | boolean | – | When true (for audits/overviews), returns totals, the top-10 ads with headline/description COUNTS instead of full asset lists, plus incomplete-RSA, single-ad ad-group and policy findings with approva… |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
| date_range_end | string | – | End date as "YYYY-MM-DD" (inclusive). |
| date_range_start | string | – | 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. |
Structured output declared, but exposes no named fields.
No examples provided.
get_ai_max_settings AI Max settings ~188
Read the AI Max controls of Search campaigns, per campaign and ad group. Returns for every campaign: id, name, status, advertising channel type, campaign.ai_max_setting.enable_ai_max, campaign.ai_max_setting.bundling_required (output only) and the full campaign.asset_automation_settings list. Each campaign also carries its non-REMOVED ad groups with ad_group.ai_max_ad_group_setting.disable_search_term_matching. Shows the current state ahead of draft_ai_max_settings, and what the account actually looks like after confirm_and_apply. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Numeric campaign ID. When omitted, every non-removed Search campaign in the account is listed. |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_asset_group_signals Asset group signals ~141
Search themes and the audience signal of a Performance Max asset group, plus the account's audiences. Returns each search theme and audience signal with its signal_id and approval status, the enabled audiences of the account that can become the group's audience signal (audience_id, name), and insights when a group has no themes or no audience signal. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| asset_group_id | string | yes | Numeric asset group id (from get_pmax_performance). |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_audience_lists Audience lists ~144
The account's own audiences: remarketing and customer lists, custom segments, combined segments. Each user list comes with its type, membership status (OPEN or CLOSED), size for Search and Display, eligibility and membership duration; custom and combined segments with their id and description. Insights flag lists below the 100 active users Search needs and closed lists. Use the ids with draft_audience_attachment; for Google's in-market and affinity segments use search_audience_segments. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_audience_performance Audience performance ~226
Get audience segment performance metrics. Returns performance by audience type — remarketing lists (USER_LIST), in-market segments (USER_INTEREST), affinity, demographics (AGE_RANGE, GENDER), etc. Shows display_name, impressions, clicks, cost, conversions, CTR, and CPC for each audience. Works for campaigns with explicit audience targeting (Search, Display). PMax audience targeting is automatic and may not appear in this report. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Optional numeric ID to filter to a single campaign. |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
| date_range_end | string | – | End date as "YYYY-MM-DD" (inclusive). |
| date_range_start | string | – | 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. |
Structured output declared, but exposes no named fields.
No examples provided.
get_audience_targeting Audience targeting ~167
Audiences attached to one campaign or ad group, its exclusions, and the audience mode. audience_mode is "observation" (audiences only adjust bids and report), "targeting" (ads only reach the audiences) or "not set". Every audience and exclusion carries a remove_id for remove_entity (entity_type "campaign_criterion" or "ad_group_criterion"). Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_id | string | – | Numeric ad group id. Pass this or campaign_id. |
| campaign_id | string | – | Numeric campaign id. Pass this or ad_group_id. |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_brand_list_brands Brands in a brand list ~123
List the brands inside a brand list. Returns the brands and their total. Each entry carries brand.entity_id (the Commercial KG MID that suggest_brands returns as id), the display name, primary URL, status and a criterion_id — the latter is what remove_from_brand_list needs. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Ads account ID. Defaults to the configured account. |
| shared_set_id | string | yes | Numeric list ID from get_brand_lists (shared_set.id). |
Structured output declared, but exposes no named fields.
No examples provided.
get_brand_list_campaigns Campaigns using a brand list ~149
List which campaigns a brand list is attached to. Brand lists attach as CampaignCriterion rows of type BRAND_LIST (not as CampaignSharedSet like negative keyword lists). Returns each attachment's campaign ID, name and status, the criterion, and `role`: "excluded" when the criterion is negative, "targeted" when it restricts targeting to the list. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Ads account ID. Defaults to the configured account. |
| shared_set_id | string | – | Numeric list ID from get_brand_lists. When omitted, all brand-list attachments in the account are returned. |
Structured output declared, but exposes no named fields.
No examples provided.
get_brand_lists List brand lists ~100
List all brand lists (SharedSets of type BRANDS) in the account. Returns each list's ID, name, status, and member count, plus the total — the basis for reusing an existing list with add_to_brand_list instead of duplicating it with propose_brand_list. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Ads account ID. Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_campaign_performance Campaign performance ~269
Get campaign-level performance metrics for a date range. Returns campaign name, status, type, impressions, clicks, cost, conversions, CPA, ROAS, CTR for each campaign, plus Search impression share and the share lost to budget and to ad rank (fractions with matching *_pct percentages; null for campaigns that do not serve on Search or had no impressions). Insights flag converting campaigns that lose a significant share of impressions to budget. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| compact | boolean | – | When true (for audits/overviews on large accounts), returns account totals, status/type breakdowns, the top-10 spenders, zero-conversion offenders and budget-limited converters instead of every row (… |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
| date_range_end | string | – | End date as "YYYY-MM-DD" (inclusive). |
| date_range_start | string | – | 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. |
Structured output declared, but exposes no named fields.
No examples provided.
get_campaign_settings Campaign settings ~269
Read every setting that decides how far a Search campaign reaches, in one call. Returns one flat record per campaign: status, bidding strategy and its target or CPC ceiling, daily budget and whether it is shared, the Google Search / search partner / Display network flags, the location option (positive_geo_target_type) and its negative counterpart, campaign-level broad match (keyword_match_type), the tracking template, final URL suffix and custom parameters, and the AI Max state get_ai_max_settings reports (enable_ai_max, asset automation per type). Money is in the account currency (`currency`). Each campaign lists its `widening_settings`: search partners or Display on, a presence-or-interest location option, broad match on, AI Max on, an automation opted in. `insights[]` names the campaigns that have any. Made for recurring audits: the same call every week diffs cleanly. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Numeric campaign ID of a Search campaign. When omitted, every non-removed Search campaign in the account is listed. |
| customer_id | string | – | Google Ads customer ID (digits, dashes optional). Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_change_history Change history ~376
List recent account changes: who changed what, when, and through which tool. Answers "what changed before the drop?". Returns each change newest first with its time, the user's email, the client it came through (Google Ads UI, API, Google Ads scripts, Editor, automated rules, auto-applied recommendations, ...), the changed resource type, the operation (CREATE, UPDATE, REMOVE), the changed field paths, and the campaign and ad group names. Also returns counts by resource type, client, user and day, plus insights on auto-applied recommendations and budget or bidding changes. Google Ads keeps change history for 30 days, so older start dates are moved to the earliest available day. Reads the change_event resource: https://developers.google.com/google-ads/api/docs/change-event
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Optional numeric campaign ID; only changes attributed to that campaign are returned. |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
| date_range_end | string | – | End date as "YYYY-MM-DD" (inclusive). Empty means today. |
| date_range_start | string | – | Start date as "YYYY-MM-DD", at most 30 days back. Empty starts at the oldest day Google Ads still keeps. |
| limit | integer | – | Maximum number of changes returned, newest first (1 to 10000; default 1000). The response is marked truncated when the limit is reached. |
| resource_types | – | – | Optional filter of ChangeEventResourceType names, e.g. ["CAMPAIGN", "CAMPAIGN_BUDGET", "AD_GROUP_AD", "AD_GROUP_CRITERION"]. Empty = all types. |
Structured output declared, but exposes no named fields.
No examples provided.
get_custom_conversion_goals Custom conversion goals ~161
Read the custom conversion goals and the campaign goal configuration. Returns every custom goal with its name, status and conversion actions, plus — optionally for one campaign — the goal config the campaign uses (`goal_config_level` CUSTOMER or CAMPAIGN and the assigned custom goal). A custom conversion goal bundles conversion actions into a named set that a campaign can be pointed at. Ahead of drafting, this shows which goals exist, which actions they contain and what a campaign currently uses. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Numeric campaign ID. When omitted, the campaign config is skipped. |
| customer_id | string | – | Ads account ID. Defaults to the configured account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_demographic_targeting Demographic targeting ~216
List demographic targeting criteria (age, gender, parental status, income). Takes exactly one of ad_group_id or campaign_id. Returns each criterion's value, whether it's negative (excluded) or positive (narrowing), status, and a remove_id (composite resource ID) that can be passed directly to remove_entity with entity_type='ad_group_criterion' or 'campaign_criterion'. By default, Google Ads serves ads to ALL demographic segments — a criterion only appears here once a segment has been actively excluded or narrowed. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| ad_group_id | string | – | Numeric ad group ID. Mutually exclusive with campaign_id. |
| campaign_id | string | – | Numeric campaign ID. Mutually exclusive with ad_group_id. |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
Structured output declared, but exposes no named fields.
No examples provided.
get_detailed_asset_performance Performance Max asset combinations ~133
Get top-performing asset combinations for Performance Max campaigns. Shows which headline + description + image combinations Google selects most often. Returns each combination with the assets used and their field types. This data helps identify which creative elements work well together. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Optional numeric ID to filter to a single PMax campaign. |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
Structured output declared, but exposes no named fields.
No examples provided.
get_ga4_property Analytics property overview ~276
Show a GA4 property's configuration in one call: details, linked Google Ads accounts, data streams and data retention. Returns the property's display name, time zone, currency, industry, service level (standard or 360), type and create time; every linked Google Ads account (customer ID, whether it is a manager account, personalized advertising); every data stream with its measurement ID or app ID; how many months event and user data are kept; and the number of key events. insights[] flags settings that cost data: two-month retention, no Google Ads link while key events exist, the configured Ads account not being linked, a property in the trash. A part the user may not read is listed under unavailable instead of failing the call. Reads the GA4 Admin API (properties.get, googleAdsLinks.list, dataStreams.list, getDataRetentionSettings, keyEvents.list). 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
| Name | Type | Req | Description |
|---|---|---|---|
| property_id | string | – | GA4 property as "properties/123456789" or the bare numeric ID (see get_account_summaries). If empty, uses the default from config. |
Structured output declared, but exposes no named fields.
No examples provided.
get_gtm_tag Tag Manager tag details ~242
Get the full RAW configuration for a single GTM tag. Includes every parameter, firing/blocking triggers (with their filter conditions resolved to text), priority, pause status, sampling, and monitoring metadata. Suited to inspecting a tag flagged by audit_event_coverage. An unknown tag_id returns an error with the available tag IDs. Reads the live container, or a workspace's unpublished state when workspace_id is set. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
| Name | Type | Req | Description |
|---|---|---|---|
| gtm_account_id | string | – | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. |
| gtm_container_id | string | – | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. |
| tag_id | string | yes | Numeric GTM tag ID, as listed by list_gtm_tags. |
| workspace_id | string | – | Workspace to read (see list_gtm_workspaces), which includes drafted changes that are not published yet. Empty reads the live (published) container version. |
Structured output declared, but exposes no named fields.
No examples provided.
get_gtm_trigger Tag Manager trigger details ~249
Get the full RAW configuration for a single GTM trigger. Includes filters, auto-event filters, custom-event filters, validation settings, and a list of every tag that uses this trigger. Helps diagnose why a tag with a specific trigger ID does or doesn't fire. An unknown trigger_id returns an error with the available trigger IDs. Reads the live container, or a workspace's unpublished state when workspace_id is set. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
| Name | Type | Req | Description |
|---|---|---|---|
| gtm_account_id | string | – | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. |
| gtm_container_id | string | – | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. |
| trigger_id | string | yes | Numeric GTM trigger ID, as listed by list_gtm_triggers or a tag's firing/blocking triggers. |
| workspace_id | string | – | Workspace to read (see list_gtm_workspaces), which includes drafted changes that are not published yet. Empty reads the live (published) container version. |
Structured output declared, but exposes no named fields.
No examples provided.
get_gtm_version Tag Manager version details ~162
Get metadata + entity counts for a single GTM container version. Returns name, description (the version notes), fingerprint, and lists of tag/trigger/variable names at that point in time. The API returns no timestamps or author for a version. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
| Name | Type | Req | Description |
|---|---|---|---|
| container_version_id | string | yes | Numeric container version ID from list_gtm_versions. |
| gtm_account_id | string | – | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. |
| gtm_container_id | string | – | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. |
Structured output declared, but exposes no named fields.
No examples provided.
get_gtm_version_diff Tag Manager version diff ~252
Compare two GTM container versions: what a publish changed. Returns added, removed and changed tags, triggers and variables (with names, types and the changed fields; parameters and trigger conditions are diffed key by key), plus built-in variables enabled or disabled. By default compares the live version with the version created before it. The Tag Manager API does not mark which versions were published, so that default "before" version may never have been live. Makes two or three Tag Manager API calls. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
| Name | Type | Req | Description |
|---|---|---|---|
| from_version_id | string | – | Older version ID (see list_gtm_versions). Empty uses the newest non-archived version created before to_version_id. |
| gtm_account_id | string | – | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. |
| gtm_container_id | string | – | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. |
| to_version_id | string | – | Newer version ID. Empty uses the live (published) version. |
Structured output declared, but exposes no named fields.
No examples provided.
get_gtm_workspace_diff Tag Manager workspace changes ~189
Show drafted-but-not-published changes in a GTM workspace. Returns the list of entities (tags, triggers, variables) added, modified, or deleted relative to the live published version, plus any merge conflicts. Common cause of "I edited a tag but nothing happened" — the workspace was never published. is_clean=true means no pending changes and no conflicts. Tag Manager API: https://developers.google.com/tag-platform/tag-manager/api/v2
| Name | Type | Req | Description |
|---|---|---|---|
| gtm_account_id | string | – | Numeric GTM account ID (see list_gtm_accounts). Empty uses gtm.account_id from the config. |
| gtm_container_id | string | – | Numeric GTM container ID (see list_gtm_containers). Empty uses gtm.container_id from the config. |
| workspace_id | string | yes | Numeric GTM workspace ID from list_gtm_workspaces. |
Structured output declared, but exposes no named fields.
No examples provided.
get_keyword_performance Keyword performance ~208
Get keyword metrics including quality scores and competitive data. Returns keyword text, match type, quality score, impressions, clicks, CTR, CPC, conversions for each keyword. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| compact | boolean | – | When true (for audits/overviews), returns totals, match-type distribution, the top-10 spenders, low-quality-score keywords, and zero-conversion spenders instead of every row (~90% smaller). |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
| date_range_end | string | – | End date as "YYYY-MM-DD" (inclusive). |
| date_range_start | string | – | 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. |
Structured output declared, but exposes no named fields.
No examples provided.
get_merchant_feed_health Merchant Center feed health ~138
Merchant Center feed health — disapproved products + account issues. Disapproved feed items silently starve Shopping and Performance Max campaigns; this reports approved/pending/disapproved counts per reporting context (Shopping ads, free listings, ...), the top product issues by affected products (with documentation links), and account-level issues — CRITICAL ones stop offers serving entirely. Product-status data lags reality by ~30 minutes. Merchant API: https://developers.google.com/merchant/api/overview
| Name | Type | Req | Description |
|---|---|---|---|
| account_id | string | – | Numeric Merchant Center ID from list_merchant_accounts. Defaults to merchant.account_id in the config. |
Structured output declared, but exposes no named fields.
No examples provided.
get_merchant_product_issues Merchant Center product issues ~252
The products behind the feed-health counts, each with its issues. Lists products by status with offer id, title, brand, click potential and every item issue: its code, the attribute it concerns, severity per reporting context with the affected countries, and whether the merchant has to act or Google is still processing. Products with high click potential come first, because fixing them recovers the most traffic. issues_by_code counts the products per issue. Data lags feed changes by about 30 minutes. Merchant API: https://developers.google.com/merchant/api/overview
| Name | Type | Req | Description |
|---|---|---|---|
| account_id | string | – | Numeric Merchant Center ID from list_merchant_accounts. Defaults to merchant.account_id in the config. |
| issue_code | string | – | Only products with this issue code (from issues_by_code or get_merchant_feed_health). |
| limit | integer | – | Maximum number of products to return (1-200, default 50). |
| status | string | – | "disapproved" (default, not serving), "limited" (serving with restrictions), "pending" (still in review) or "any" (every product with at least one issue). |
Structured output declared, but exposes no named fields.
No examples provided.
get_negative_keyword_list_campaigns Campaigns using a negative keyword list ~127
List which campaigns a shared negative keyword list is attached to. Returns each list-to-campaign attachment with the list and campaign IDs and names. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
| shared_set_id | string | – | Numeric ID from get_negative_keyword_lists. When omitted, returns all list-to-campaign attachments across the account. |
Structured output declared, but exposes no named fields.
No examples provided.
get_negative_keyword_list_keywords Keywords in a negative keyword list ~124
List the keywords inside a shared negative keyword list. Returns each negative keyword's text, match type, and a resource_id ("sharedSetId~criterionId"), with the total keyword count. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
| shared_set_id | string | yes | Numeric ID from get_negative_keyword_lists (shared_set.id). |
Structured output declared, but exposes no named fields.
No examples provided.
get_negative_keyword_lists List shared negative keyword lists ~116
List all shared negative keyword lists (SharedSets) in the account. Returns each list's ID, name, status, and keyword count. Useful before propose_negative_keyword_list: a suitable list may already exist and just need attaching to a campaign. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
Structured output declared, but exposes no named fields.
No examples provided.
get_negative_keywords List negative keywords ~151
List existing negative keywords for a campaign or all campaigns. Shows the existing negatives, which reveals duplicates before new negative keywords are added. Returns each negative's campaign, keyword text, match type, and a resource_id ("campaignId~criterionId") as taken by remove_entity, plus the total count. Google Ads API: https://developers.google.com/google-ads/api/docs/start
| Name | Type | Req | Description |
|---|---|---|---|
| campaign_id | string | – | Numeric campaign ID to filter by. If empty, returns negatives across all campaigns. |
| customer_id | string | – | Google Ads customer ID, digits with or without dashes (e.g. "123-456-7890"). Defaults to the configured ads.customer_id. |
Structured output declared, but exposes no named fields.
No examples provided.
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
claude mcp add com-getadloop-adloop -- uvx adloop
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.