Docs menu
Get started
What is Opus GrowthQuickstartAdd to your AIHow it worksSafety and approvalCreditsPlansFAQAI apps
All AI appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOther MCPConnect ad platforms
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgencies and MCCConnect data sources
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWebsites and SEO
AI ServerWordPressSEO IntelligenceClick fraudTool reference
All toolsGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceClick fraudCross-channelAccount and billingLanguage
Set Campaign Targeting
Sets geographic and language targeting on a campaign.
- Type
- Makes changes
- Credits
- 5
- Platform
- Google Ads
- Approval
- Preview first, applied after you approve
What it does
Sets geographic and language targeting on a campaign. locations: comma-separated location names or geo IDs (a country, cities, or a numeric id such as 2792). negative_locations: locations to exclude. languages: comma-separated language codes (tr, en, de...) or numeric IDs. mode='add' (default) KEEPS the campaign's existing targeting and only adds to it: targeting a city while its country is still targeted does NOT narrow reach, Google takes the union. mode='replace' overwrites: every existing criterion of the dimensions passed (positive locations with locations, exclusions with negative_locations, languages with languages) is removed and replaced with the new list, in a single request so the campaign is never left untargeted. mode='replace' changes a country-wide target into a single-city target. Other dimensions are untouched. A campaign without targeting targets the entire world. confirm=false → preview of the resolved locations + what would be removed.
MCP: set_campaign_targeting
How to use it
You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.
Parameters
| Name | Type | Required | Default | |
|---|---|---|---|---|
| customer_id | string | Required | · | Google Ads customer account ID to query or change. Use the numeric ID returned by list_accounts; omit separators unless this tool explicitly says otherwise. |
| campaign_id | string | Required | · | Exact campaign identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name. |
| locations | string | Optional | · | Location targeting values or identifiers accepted by the provider for this operation. |
| negative_locations | string | Optional | · | Exact negative locations value for set campaign targeting. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation. |
| languages | string | Optional | · | Language targeting values or locale codes accepted by the provider for this operation. |
| mode | string | Optional | add | add · replace · Behaviour mode for this operation. Use one of the supported modes documented by the tool. |
| confirm | boolean | Optional | false | Safety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change. |
| country | string | Optional | TR | Target country code or country name in the provider format required by this operation. |
Related tools
account_auditAccount Snapshotaccount_snapshotAdd Keywordsadd_keywordsAdd Negative Keywordadd_negative_keywordAdd PMax Imagesadd_pmax_imagesApply Recommendationapply_recommendationBudget Pacing Alertsbudget_pacing_alertsCompetitor Adscompetitor_adsConnect Business Profileconnect_business_profile