Google Ads: assign campaign to portfolio bid strategy
assign_portfolio_bidding_strategyAssigns a campaign to a portfolio bid strategy in the same account.
The campaign then bids toward the portfolio's target, and its own
bidding strategy (or the portfolio it was on) stops applying; the result
gives its bidding before and after. Supported campaign types: DISPLAY, SEARCH.
Google limits the portfolio types each campaign type takes, so a
portfolio of any other type is refused before anything is sent:
DISPLAY: TARGET_CPA, TARGET_ROAS, TARGET_SPEND.
SEARCH: every portfolio type.
Performance Max is refused: Google Ads does not let it use a portfolio
strategy set by resource name, so its target is set on the campaign with
update_campaign. unassign_portfolio_bidding_strategy takes a campaign
off its portfolio.
Args:
customer_id: The Google Ads customer ID (numbers only, no hyphens).
campaign_id: The ID of the campaign.
bidding_strategy_id: The portfolio strategy's ID, or its resource
name (customers/<customer_id>/biddingStrategies/<id>).
Returns:
Dictionary with campaign_resource_name,
bidding_strategy_resource_name, before and after, campaigns_on_strategy
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>",
"bidding_strategy_id": "<bidding_strategy_id>"
},
"name": "assign_portfolio_bidding_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| customer_id | Yes | ||
| bidding_strategy_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |