Skip to main content
Glama

update_campaign

Modify a campaign's budget, bidding strategy, network settings, or tracking URLs to align ad delivery with performance goals.

Instructions

Update a campaign's name, budget, bidding strategy, network settings, or tracking URLs.

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": "update_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew campaign name
confirmNoMust be true to execute.
budget_idNoNew budget ID
campaign_idYesCampaign ID to update
customer_idNoGoogle Ads customer ID (no dashes). Uses active account if not provided.
target_roasNoTarget ROAS as ratio, e.g. 4.0 = 400% (for TARGET_ROAS or MAXIMIZE_CONVERSION_VALUE)
bidding_strategyNoNew bidding strategy: MANUAL_CPC, MANUAL_CPM, MAXIMIZE_CLICKS, MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA, TARGET_ROAS, TARGET_IMPRESSION_SHARE, TARGET_SPEND
final_url_suffixNoSuffix appended to final URLs. Pass empty string '' to clear.
target_cpa_dollarsNoTarget CPA in dollars (for TARGET_CPA or MAXIMIZE_CONVERSIONS)
target_search_networkNoShow ads on Google search partner sites (e.g. AOL, Ask.com)
tracking_url_templateNoURL template for tracking. Pass empty string '' to clear.
url_custom_parametersNoCustom parameters for tracking URL substitution. Pass empty dict {} to clear all.
target_content_networkNoShow ads on Google Display Network (opt-out recommended for Search campaigns)
max_cpc_bid_ceiling_dollarsNoMax CPC bid ceiling in dollars
target_impression_share_fractionNoTarget impression share 0.0-1.0
target_impression_share_locationNoANYWHERE_ON_PAGE, TOP_OF_PAGE, or ABSOLUTE_TOP_OF_PAGETOP_OF_PAGE

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses almost nothing. It never says the call is a mutation gated on confirm=true, whether unspecified fields are left unchanged (partial vs. full update), whether bids/budgets change immediately, or what permissions are required for a live ads account.

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?

A single front-loaded sentence with no filler, and the affected field groups are listed promptly. It is efficient, though so terse that the execution-critical confirm requirement and update semantics are omitted rather than trimmed.

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

Completeness2/5

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

For a 16-parameter mutation tool with zero annotations, a one-line description is not enough, even with a rich schema and an output schema. The confirm=true execution gate, partial-update behavior, and immediate-effect semantics on a live account are the kinds of things the description should surface.

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 description coverage is 100%, so every parameter including confirm and the clear-with-empty-string semantics is already documented. The description only groups fields at a high level ('network settings', 'tracking URLs') and adds no syntax or constraint detail beyond the schema; baseline 3 applies.

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

Purpose4/5

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

States a specific verb (Update) and resource (a campaign) and enumerates the field groups affected: name, budget, bidding strategy, network settings, tracking URLs. This implicitly separates it from set_campaign_status and update_budget-style siblings, but it never names an alternative, so an agent must infer the boundary from the field list.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the confirm gate that the schema requires to execute. The agent is left to infer that this is the tool for modifying campaign settings versus status or budget-only siblings.

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

Deploy Server

Other Tools