Skip to content

google_ads_create_conversion_action

Create a WEBPAGE conversion action for a website tag (gtag) in the selected customer, then read back its tag snippet: sendTo (AW-ID/label) is what the site…

View as Markdown

Create a WEBPAGE conversion action for a website tag (gtag) in the selected customer, then read back its tag snippet: sendTo (AW-ID/label) is what the site fires. Google has no paused state for conversion actions: it is created ENABLED and secondary (outside bidding) unless primaryForGoal is true. Installs no website code and uploads no conversion. The customer must hold its own conversions (not a manager's cross-account tracking). Preview returns planHash; validateOnly asks Google; confirm requires the matching expectedPlanHash. No automatic retry: after an uncertain result, look the name up with google_ads_get_conversion_actions.

Kind
Write
Discovery
Reachable through search_tools and run_tool
Account parameter
customerId
Endpoint
https://mcp.getmcpads.com/google-ads/mcp

Parameters

Parameters
NameTypeRequiredNotes
customerIdstringRequiredSelected Google Ads customer ID, not the manager account.
currencystringRequiredActual account currency as a three-letter ISO code; verified natively before writes.
namestringRequiredExact conversion action name, unique in this customer.
categorystringRequiredNative conversion category, for example SIGNUP for an account creation. One of: SIGNUP, LEAD, SUBMIT_LEAD_FORM, PURCHASE, SUBSCRIBE_PAID, BEGIN_CHECKOUT, PAGE_VIEW, CONTACT, DEFAULT.
countingTypestringOptionalONE_PER_CLICK counts one conversion per ad click, the usual choice for sign-ups and leads. One of: ONE_PER_CLICK, MANY_PER_CLICK. Default: "ONE_PER_CLICK".
primaryForGoalbooleanOptionalTrue makes the action primary, so campaigns bidding on its category optimize for it. False keeps it secondary: reported in All conversions, outside bidding. Default: false.
defaultValuenumberOptionalOptional default conversion value in major units of currency.
loginCustomerIdstringOptionalOptional MCC ID; defaults to the selected account's inferred manager.
testAccountOnlybooleanOptionalRequire customer.test_account=true before writing. Use true when testing on a Google Ads test account.
validateOnlybooleanOptionalAsk Google to validate without applying. Takes priority over confirm.
confirmbooleanOptionalApply only when true and expectedPlanHash matches the exact preview.
expectedPlanHashstringOptionalSHA-256 planHash from the preview of this exact payload, required for application.

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "google_ads_create_conversion_action",
    "args": {
      "customerId": "<string>",
      "currency": "<string>",
      "name": "<string>",
      "category": "SIGNUP"
    }
  }
}

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.

Esc

Type to search