Skip to Content
Tool referenceManage Google Ads targeting

Manage Google Ads targeting (adsap_google_manage_targeting)

Platform: Google Ads · Read or write: Write · Plan: Early Access · Consumes a task: Yes · Preview supported: Yes

What it does

Manages a campaign or ad group’s targeting after creation: locations, languages and audiences. It adds up to 100 locations or 50 languages to a campaign. It attaches or excludes audiences at campaign or ad group level, sets targeting versus observation mode, or removes one criterion. Ask for a preview first.

Parameters

Descriptions are shortened from the tool schema. Your assistant sees the full text.

NameTypeRequiredDescription
opone of add, removeYes
ad_account_idstringYesBare 10-digit Google Ads customer ID (from adsap_google_list_ad_accounts). No dashes, no act_ prefix.
levelone of campaign, ad_groupNoWhere the criteria live. Default ‘campaign’. ‘ad_group’ = audience adds on an ad group (pass ad_group_id), or removes of ad-group criteria.
campaign_idstringNoop ‘add’ at campaign level: the EXISTING campaign to add targeting to.
ad_group_idstringNoop ‘add’ with level ‘ad_group’: the EXISTING ad group to attach audiences to.
geo_targetsarray of objectNoop ‘add’: locations to target (or exclude via negative: true). Resolve names to ids with adsap_google_search_geo_targets first.
geo_targets[].idstringYesNumeric geo target constant id (from adsap_google_search_geo_targets, e.g. 2250 = France).
geo_targets[].negativebooleanNotrue = EXCLUDE this location (not allowed on Performance Max campaigns).
languagesarray of stringNoop ‘add’: language constant ids (e.g. 1000 = English, 1002 = French). No language criteria on a campaign = all languages. NOT for Search campaigns: Google removes Search language targeting in late September 2026 (Google rejects the add with OPERATION_NOT_PERMITTED_FOR_CONTEXT…
audiencesarray of objectNoop ‘add’: audiences to attach or exclude. Cannot be combined with geo_targets/languages in the same call.
audiences[].user_list_idstringNoNumeric user list (audience segment) id from adsap_google_list_audiences. Use everywhere EXCEPT Demand Gen.
audiences[].audience_idstringNoNumeric Audience resource id from adsap_google_list_audiences: DEMAND GEN ad groups only. Exactly one of user_list_id / audience_id per item.
audiences[].negativebooleanNotrue = EXCLUDE this audience (user_list_id only; campaign-level exclusions also work on Display and Performance Max).
modeone of targeting, observationNoAudience targeting setting: ‘targeting’ narrows delivery to the attached audiences; ‘observation’ keeps full reach (bid adjustments only). Combinable with an audience add, or standalone.
criterion_idstringNoop ‘remove’ only: the criterion as “<parent_id>:<criterion_id>”: campaign id for level ‘campaign’, ad group id for level ‘ad_group’. Geo/language/audience criteria only: campaign negative keywords are removed via adsap_google_manage_keywords.
dry_runbooleanNoPreview only: the request is validated and the resolved payload returned, nothing is created or changed.

Example prompts

  • “Add Belgium and Switzerland to my Search campaign’s locations and exclude Monaco.”
  • “Attach my Website visitors audience to the Brand campaign in observation mode.”
  • “Remove Germany from the targeting of campaign 1234567890.”

Notes

Audiences cannot be combined with locations or languages in one call. Google’s default audience setting is targeting, which narrows reach, so ask for observation on Search and Shopping unless you want to narrow. Demand Gen audiences go on the ad group, not the campaign.

Guide

Read Managing Google Ads in bulk for the workflow around this tool, and the Tool reference for every tool.

Last updated on