Set Campaign Conversion Goals
set_campaign_conversion_goalsSet campaign-specific conversion goals for Smart Bidding by marking each goal's biddable flag, enabling optimization to chosen outcomes like phone calls when account-level actions are uneditable.
Instructions
Overrides, per campaign, which conversion goals Smart Bidding optimizes toward — regardless of the account-level primary/secondary settings.
Use this when account-level conversion actions can't be edited (e.g. system-generated "Local actions") but a campaign must optimize only to real outcomes such as phone calls. This switches the campaign to campaign-level goal configuration and sets each listed goal's biddable flag; include every category/origin combination that exists in the account, marking the ones to optimize toward biddable=true and the rest biddable=false.
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": {
"customer_id": "<customer_id>",
"campaign_id": "<campaign_id>",
"goals": "<goals>"
},
"name": "set_campaign_conversion_goals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | Yes | Entries like {"category": "PHONE_CALL_LEAD", "origin": "WEBSITE", "biddable": true}. Categories/origins are ConversionActionCategoryEnum / ConversionOriginEnum names (e.g. PHONE_CALL_LEAD, PAGE_VIEW, CONTACT, ENGAGEMENT, GET_DIRECTIONS / WEBSITE, GOOGLE_HOSTED, CALL_FROM_ADS). | |
| campaign_id | Yes | The campaign to configure. | |
| customer_id | Yes | The Google Ads account. | |
| validate_only | No | If True, only validates the requests. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||