add_audience_targeting
Draft audience targeting on a campaign by specifying audience ID and type, with optional bid adjustment allowed only for manual bidding strategies.
Instructions
Draft audience targeting on a campaign. audience_type disambiguates which id namespace audience_id is in — one of: RemarketingList, Custom, InMarket, Product, SimilarRemarketingList, CombinedList, CustomerList, ImpressionBasedRemarketingList, CustomSegment (WSDL AudienceType enum). bid_adjustment_pct is allowed ONLY when the campaign's effective bid strategy is in the MANUAL_BIDDING allowlist (rails.py); rejected for Smart Bidding, any other/unrecognized strategy, or when the strategy can't be determined at all (fail closed — standing no-%-adjustments-on-auto-bidding rule).
Live-verified 2026-07-30 (the AddCampaignCriterions write path, CriterionType= "Audience"); the read-side fault seen earlier is GET-only and doesn't apply here.
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": {
"campaign_id": "<campaign_id>",
"audience_id": "<audience_id>"
},
"name": "add_audience_targeting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audience_id | Yes | ||
| campaign_id | Yes | ||
| audience_type | No | RemarketingList | |
| bid_adjustment_pct | No |