Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Conversion Action

gads_update_conversion_action
DestructiveIdempotent

Change how a Google Ads conversion action counts and values conversions: its counting type (ONE_PER_CLICK counts one conversion per click, MANY_PER_CLICK counts every occurrence), its category, whether it is primary and therefore feeds Smart Bidding and the conversions column, its default value and currency, and its click-through and view-through lookback windows. Use it to fix what gads_list_conversion_actions reports — a purchase action counting every occurrence, a lead action inflating the number, a flat default value on an action that should send real order values. Read the action first with gads_list_conversion_actions. Only the settings you pass change; the rest are left alone. Note that Google Ads only imports an action whose type starts with GOOGLE_ANALYTICS_4_, UNIVERSAL_ANALYTICS_, FIREBASE_ or THIRD_PARTY_APP_ANALYTICS_, and refuses to change its counting type or its lookback windows through the API — those live in the system that produces the conversion, so for a Google Analytics key event the counting method is set in Analytics. A UNIVERSAL_ANALYTICS_ import, a GOOGLE_HOSTED, SMART_CAMPAIGN_ or WEBPAGE_CODELESS action, and an action owned by a different account (cross-account conversion tracking) cannot be edited here at all — gads_list_conversion_actions marks them apiEditable false. This changes counting from now on and does not restate past conversions, and Smart Bidding takes a week or two to settle afterwards. To choose which conversions a single campaign optimizes for, use gads_update_campaign_conversion_goals instead. Deleting a conversion action is not offered here because it cannot be undone.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "conversion_action_id": "<conversion_action_id>"
    },
    "name": "gads_update_conversion_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoENABLED records conversions for this action. Google does not let the API hide an action; to stop it steering bidding, set primary_for_goal to false.
categoryNoConversion category this action reports under, e.g. PURCHASE, SUBMIT_LEAD_FORM, SIGNUP, CONTACT. Categories are how conversion goals group actions, so changing it moves the action into a different goal. Editable even on an action imported from Google Analytics.
customer_idNoGoogle Ads account to change: customer id or exact account name. Required when you have several accounts — the stored default is never used for a change then.
counting_typeNoHow repeat events after one click are counted. ONE_PER_CLICK (the Google Ads UI calls it "One") suits leads, sign-ups and contacts, where the same person filling the form twice is still one lead. MANY_PER_CLICK ("Every") suits purchases, where two orders are two conversions.
default_valueNoValue a conversion of this action is worth when the tag sends no value of its own. In the account's own currency (the currency field of gads_list_campaigns or meta_list_campaigns), not in dollars and not in minor units.
primary_for_goalNoTrue makes the action primary: it feeds Smart Bidding and the main conversions column. False makes it secondary — still recorded and reportable, but not bid towards.
conversion_action_idYesConversion action to change, as reported by gads_list_conversion_actions.
default_currency_codeNoISO currency code the default value is denominated in, e.g. USD. Defaults to the account currency when the action has none.
always_use_default_valueNoTrue makes every conversion worth the default value, ignoring the value the tag sends — which quietly breaks value-based bidding on a purchase action. False lets real transaction values through.
view_through_lookback_daysNoHow many days after an impression without a click a conversion still counts, 1-30.
click_through_lookback_daysNoHow many days after a click a conversion still counts, 1-90.

Output Schema

NameRequiredDescriptionDefault
nameYesIts name in Google Ads.
typeNoWhat kind of conversion action this is, e.g. WEBPAGE for a Google Ads tag or GOOGLE_ANALYTICS_4_CUSTOM for a key event imported from Analytics. The type decides which settings Google lets the API change.
statusNoIts status now.
changedYesSettings this call actually wrote, by their Google field name.
categoryNoConversion category, e.g. PURCHASE or SUBMIT_LEAD_FORM.
countingTypeNoCounting type now in effect for this action.
defaultValueNoDefault value now in effect, if it has one. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer.
primaryForGoalNoWhether the action is primary now.
conversionActionIdYesAction that was changed.
defaultCurrencyCodeNoCurrency the default value is in.
previousCountingTypeNoCounting type it had before this call.
alwaysUseDefaultValueNoWhether every conversion is now forced to the default value.
viewThroughLookbackDaysNoView-through lookback window now.
clickThroughLookbackDaysNoClick-through lookback window now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only say it is a destructive, open-world, non-read-only write; the description adds far more: only passed settings change, the API refuses counting type and lookback changes for imported actions, editing does not restate past conversions, Smart Bidding takes a week or two to settle, and deletion is deliberately not offered because it is irreversible. This is exactly the kind of context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core purpose and ends with routing and caveats, but it runs long as a single dense paragraph mixing capability, scenarios, prerequisites, API limitations, and side effects. Several clauses (e.g. repeating the Analytics-owned lookback rule twice in spirit) could be tightened for scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter mutation tool with annotations and an output schema, the description covers eligibility, restrictions, side effects, and how to choose a sibling. Nothing an agent needs to call it safely is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents every parameter in detail (including enum semantics and currency units). The description reinforces meaning by tying counting_type to lead-vs-purchase scenarios and default value to real order values, but does not add technical detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb+resource (update a Google Ads conversion action) and enumerates the exact settings it changes: counting type, category, primary flag, default value/currency, and lookback windows. It distinguishes itself from gads_update_campaign_conversion_goals and gads_list_conversion_actions explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States when to use it ('to fix what gads_list_conversion_actions reports' with concrete scenarios like inflating lead counts), names the prerequisite (read the action first with gads_list_conversion_actions), the alternative for campaign-level goals, and enumerates exclusion cases (apiEditable false actions, UA/GOOGLE_HOSTED/SMART_CAMPAIGN/WEBPAGE_CODELESS, cross-account).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources