Updates location targeting (including negative location exclusions), language targeting, and advanced location options (geo target type) for Google Ads campaigns
Updates location targeting (including negative location exclusions), language targeting, and advanced location options (geo target type) for Google Ads campaigns
GadsAccountItem or object or array of object or string or integer
Yes
-
Select the Google Ads account, ask user for it if not provided
campaign_id
string or SelectItem
Yes
-
Select the campaign to update
locations
array of string or SelectableOption
No
-
Target locations for the campaign. Use 2-letter ISO country codes (e.g., ‘US’, ‘CA’) or Google Ads location IDs (e.g., ‘2840’). Use the ‘gads_search_geo_targets’ operation to find location IDs for cities, regions, etc. Leave empty to keep current locations.
negative_locations
array of string or SelectableOption
No
-
Locations to exclude from targeting. Use 2-letter ISO country codes (e.g., ‘US’, ‘CA’) or Google Ads location IDs (e.g., ‘2840’). Use the ‘gads_search_geo_targets’ operation to find location IDs for cities, regions, etc. Leave empty to keep current excluded locations.
languages
array of string or SelectableOption
No
-
Target languages for the campaign. Use 2-letter language codes (e.g., ‘EN’, ‘ES’). Select ‘ALL’ to target all languages. Leave empty to keep current languages.
geo_target_type
string or SelectableOption
No
-
Advanced location option. PRESENCE_OR_INTEREST: people in, regularly in, or interested in your locations. PRESENCE: only people in or regularly in your locations. Leave empty to keep current setting.
The manager ID for the Google Ads account. Ask user to use the dropdown to select accounts, this manager id is selected background and not shown to the user.