Skip to main content
Glama

Google Ads & Meta Ads

Google Ads: Update Campaign Conversion Goals

gads_update_campaign_conversion_goals
DestructiveIdempotent

Choose which conversion goals a Google Ads campaign optimizes for, which is what the Google Ads UI calls campaign-specific goal settings. Goals are groups of conversion actions by category and origin — pass the categories the campaign should bid towards (for example SIGNUP) and every other goal is switched off for that campaign alone. Use this before switching a campaign to MAXIMIZE_CONVERSIONS with gads_update_campaign_bidding, or when a campaign optimizes for the wrong events. Read the current goals and the categories available with gads_list_conversion_actions. Pass use_account_goals to hand the campaign back to the account-level goals.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "gads_update_campaign_conversion_goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYesCampaign whose conversion goals to set.
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.
use_account_goalsNoDrop the campaign-specific goals and go back to the account-level goals. Cannot be combined with biddable_categories.
biddable_categoriesNoConversion goal categories this campaign should optimize for, e.g. ["SIGNUP"]. Every goal not listed is switched off for this campaign. An entry may be a bare category, which covers every origin the campaign has for it, or CATEGORY:ORIGIN to pick one origin, e.g. SIGNUP:WEBSITE.

Output Schema

NameRequiredDescriptionDefault
goalsYesEvery goal of this campaign after the change.
campaignIdYesCampaign that was updated.
goalConfigLevelYesCAMPAIGN when the campaign now carries its own goals, CUSTOMER when it follows the account-level goals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotent=true, but the description adds the crucial specifics: every goal not listed is switched off, and the effect is scoped to that campaign alone. The use_account_goals sentence documents the reversal path, which annotations cannot express. It stops short of describing permission requirements or the response payload.

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

Conciseness4/5

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

Front-loads what the tool does and the destructive scope before the when-to-use guidance; every sentence carries information. It is dense with dashes and parentheticals but not padded.

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?

Covers purpose, prerequisites, destructive side effects, the account-vs-campaign distinction, and the reset option; an output schema exists so return values need not be explained. Nothing an agent needs in order to call this mutation safely is missing.

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

Parameters3/5

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

Schema coverage is 100%, so all four parameters are already documented, including the use_account_goals/biddable_categories exclusivity. The description reinforces the category semantics with an example (SIGNUP) but adds no syntax or format detail beyond what the schema already states.

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 and resource ('Choose which conversion goals a Google Ads campaign optimizes for') and translates it to the UI concept ('campaign-specific goal settings'), so an agent can match it to a user request without opening the schema. It also distinguishes itself from the account-level goal concept via 'for that campaign alone'.

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?

Gives explicit trigger conditions ('before switching a campaign to MAXIMIZE_CONVERSIONS with gads_update_campaign_bidding, or when a campaign optimizes for the wrong events') plus a prerequisite read step via gads_list_conversion_actions and an explicit reset path via use_account_goals.

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