hermosodocs

delete_google_ads_object

Remove a Google Ads campaign / ad group / ad / keyword / asset link / conversion action destructive

Area: GOOGLE ADS CHANGE HISTORY · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

PERMANENTLY remove a Google Ads object. Google has no HTTP delete — removal is a `remove` operation that puts the object in the terminal REMOVED state, which cannot be undone or re-enabled, so treat it as a delete. Levels: "campaign" + campaignId · "adGroup" + adGroupId · "ad" + adGroupId AND adId · "keyword" + adGroupId AND keywordId · "conversionAction" + conversionActionId · "campaignAsset"/"adGroupAsset" + the LINK’s full resourceName (get it from google_ads_report over campaign_asset / ad_group_asset — an asset id alone does not identify a link). THERE IS DELIBERATELY NO "asset" LEVEL: Google publishes no operation that deletes an Asset, only its links, so removing a link unlinks the asset and leaves it in the library. CALL IT WITHOUT confirm FIRST — nothing is removed and you get the object’s real name, status, LIFETIME SPEND and child counts read live from Google; show the user exactly that. A target with children, live delivery or real spend additionally needs confirmName (its exact name) and confirmChildren (the child count from that read-back). Removing a CAMPAIGN also removes its campaign-owned budget, and the note says whether it did. Removing the last ENABLED conversion action makes every smart-bidding campaign on the account undeliverable — the refusal says so. To stop delivery without removing, use set_google_ads_status(status:"PAUSED").

Parameters

ParameterTypeDescription
customerIdstring10-digit account id (dashes ok) — omit to use the brand’s selected default account
level"campaign" | "adGroup" | "ad" | "keyword" | "campaignAsset" | "adGroupAsset" | "conversionAction"what to remove — default campaign
campaignIdstringcampaign id (level:"campaign")
adGroupIdstringad group id (level:"adGroup"; REQUIRED as the parent for "ad" and "keyword")
adIdstringad id (level:"ad" — pass adGroupId too)
keywordIdstringkeyword criterion id (level:"keyword", with adGroupId)
conversionActionIdstringconversion action id (level:"conversionAction")
resourceNamestringfull resource name — REQUIRED for campaignAsset / adGroupAsset, accepted for any level
confirmbooleanREQUIRED true — REMOVED is permanent
confirmNamestringthe object’s EXACT name, required when it has children / is live / has spent
confirmChildrennumberthe exact number of children reported by the unconfirmed call, required when it has any
loginCustomerIdstringmanager id if operating through an MCC

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/delete_google_ads_object.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_google_ads_object","arguments":{}}}

CLI

hermoso call delete_google_ads_object --json '{}'

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