Draft assigning a custom conversion goal
draft_assign_custom_conversion_goalAssign a custom conversion goal to a Google Ads campaign at campaign level. Preview the change before applying, and see if the goal is already configured.
Instructions
Point a campaign at a custom conversion goal — returns a PREVIEW.
Sets goal_config_level=CAMPAIGN and the goal on that campaign's conversion goal config. Nothing else changes: conversion actions, bidding, budgets and the account-level goals stay as they are.
A campaign must have at least one goal configured when it switches to campaign level — Google answers EMPTY_CONVERSION_GOALS otherwise. That is why this tool assigns a goal instead of clearing goals; draft_clear_custom_conversion_goal goes back to the account level.
If the campaign already uses exactly this goal, nothing is planned and the
result says already_configured. The preview carries a note that changing
what a campaign optimises for restarts its Smart Bidding learning period.
The returned plan_id is applied with confirm_and_apply.
Google Ads API: https://developers.google.com/google-ads/api/docs/start
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Numeric campaign ID to configure. | |
| customer_id | No | Ads account ID. Defaults to the configured account. | |
| custom_conversion_goal_id | Yes | Numeric goal ID from get_custom_conversion_goals. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||