Google Ads: take campaign off portfolio bid strategy
unassign_portfolio_bidding_strategyTakes a campaign off its portfolio bid strategy onto a standard one.
The campaign gets its own (standard) bidding strategy; the portfolio and
its other campaigns stay as they are. With no bidding_strategy_type the
campaign keeps bidding the way the portfolio did, with the same target:
a Target CPA portfolio becomes TARGET_CPA with that target CPA, a Target
ROAS portfolio TARGET_ROAS with that target ROAS, a capped Maximize
Clicks portfolio TARGET_SPEND with that cap. The result gives the
bidding before and after, with targets formatted in the account's
currency. Supported, by campaign type (update_campaign's list):
DISPLAY: MANUAL_CPC, TARGET_SPEND, MAXIMIZE_CONVERSIONS, TARGET_CPA,
TARGET_ROAS.
SEARCH: MANUAL_CPC, TARGET_SPEND, MAXIMIZE_CONVERSIONS, TARGET_CPA,
MAXIMIZE_CONVERSION_VALUE, TARGET_ROAS.
TARGET_SPEND needs a cpc_bid_ceiling_micros cap. A campaign that is not
on a portfolio is refused: its bidding is changed with update_campaign.
Args:
customer_id: The Google Ads customer ID (numbers only, no hyphens).
campaign_id: The ID of the campaign.
bidding_strategy_type: The standard strategy the campaign moves to.
One of: MANUAL_CPC, TARGET_SPEND (Maximize Clicks),
MAXIMIZE_CONVERSIONS, TARGET_CPA, MAXIMIZE_CONVERSION_VALUE,
TARGET_ROAS. Optional; default: the portfolio's strategy and
target, as above.
target_cpa_micros: Target cost per conversion in micros of the
account's currency (10000000 = 10.00: ₹10 on an INR account, $10
on a USD one). Required with TARGET_CPA, refused otherwise.
target_roas: Target return on ad spend as a ratio (4.0 for 400%).
Required with TARGET_ROAS, refused otherwise.
cpc_bid_ceiling_micros: Maximize Clicks' max CPC cap in micros of
the account's currency. Required with TARGET_SPEND, refused
otherwise.
Returns:
Dictionary with campaign_resource_name, before, after and a message.Tools revision: d80f65c0.
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>"
},
"name": "unassign_portfolio_bidding_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| customer_id | Yes | ||
| target_roas | No | ||
| target_cpa_micros | No | ||
| bidding_strategy_type | No | ||
| cpc_bid_ceiling_micros | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |