hermosodocs

update_google_ads_rule

Change a Google Ads automated rule destructive

Area: AUTOMATED AD RULES · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Change any part of a rule; anything not passed keeps its value. Never switches it on or off. If the rule is ON and the new version can raise spend, it needs confirm:true plus confirmScope for the NEW version. Free.

Parameters

ParameterTypeDescription
ruleIdrequiredstringrule id from list_google_ads_rules (gr_…)
namestring
scopeobjectwhat the rule looks at
scope.level"campaign" | "adGroup" | "ad"campaign, adGroup or ad. Budgets live on campaigns, the manual CPC bid on ad groups
scope.idsstring[]a FIXED list of ids at that level; leave out for every object at the level (re-read every run)
scope.campaignIdsstring[]only ad groups / ads under these campaigns
scope.adGroupIdsstring[]only ads under these ad groups
scope.nameContainsstringonly objects whose name contains this
scope.statusesstring[]ENABLED and/or PAUSED; default ENABLED (PAUSED for an enable rule)
conditionsobject[]when it acts. A value that cannot be measured (e.g. cpa with no conversions) never matches
conditions[].metricstringcost, impressions, clicks, conversions, conversions_value, ctr, cpc, cpm, cpa (= cost_per_conversion = cost_per_result), roas, conversion_rate, budget, bid — or ANY Google report metric as metrics.<field>, e.g. metrics.search_impression_share. Money is in the account currency
conditions[].operatorstring>, <, >=, <=, =, !=, between, not_between (Meta's names work too)
conditions[].valuestring | number | string | number[]a number, or [low, high] for between
conditions[].windowstringTODAY, YESTERDAY, LAST_7_DAYS, LAST_14_DAYS, LAST_30_DAYS, THIS_MONTH, LAST_MONTH … or "DAYS:N"; defaults to the rule's window
match"all" | "any"
windowstring
unconditionalboolean
actionsobject[]what it does on each match
actions[].type"pause" | "enable" | "budget" | "bid" | "notify"pause, enable, budget, bid or notify
actions[].change"increase" | "decrease" | "set"increase, decrease or set
actions[].byobjectexactly one, for increase/decrease
actions[].by.percentnumber
actions[].by.amountnumberin the account currency
actions[].tonumberfor set: the new value in the account currency
actions[].limitnumberREQUIRED for an increase: the highest value it may ever reach. A floor for a decrease
actions[].allowSharedBudgetbooleanallow changing a budget shared by several campaigns
scheduleobjectwhen Hermoso runs it
schedule.everyMinutesnumber15 to 10080; default 60
schedule.daysnumber[]weekdays 0-6 (0 = Sunday); default every day
schedule.quietHoursobjecta window in which it never acts, e.g. 22:00-07:00
schedule.quietHours.startstringHH:MM
schedule.quietHours.endstringHH:MM
schedule.timezonestringIANA name; default the ad account's
capsobjectthis rule's own caps
caps.maxChangesPerDaynumberhow often this rule may change the same object in a day, 1-48 (default 1)
caps.maxRaisePerDaynumberthe most this rule may add to budgets in a day, account currency
approvalobject | nullOPTIONAL approval step: a scheduled run proposes instead of acting and the brand's alert channels get a one-click approval link; decide with google_ads_rule_approvals. null removes it. A run by hand is never held. Off unless set
approval.requiredbooleantrue (default when approval is given) holds every SCHEDULED change for a person's approval; false removes the step
approval.timeoutMinutesnumber15-10080, default 1440 (a day): how long a proposal waits
approval.onTimeout"skip" | "apply"skip (default: nothing changes) or apply (applied as if approved)
confirmbooleantrue once the user has said yes to exactly what the refusal described
confirmScopestringthe scopeToken the list tool (or the refusal) prints; required with confirm when the rule can raise spend

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_google_ads_rule.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_google_ads_rule","arguments":{"ruleId":"<string>"}}}

CLI

hermoso call update_google_ads_rule --json '{"ruleId":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 759 Ad campaign management tools · tools.json