account | DynamicAccount | Yes | - | Select Meta Ads account, ask the user for it if not provided |
adset_id | string or SelectItem | Yes | - | The ad set to update locations for |
action | string or SelectableOption | Yes | - | Use INCLUDE to update included locations (geo_locations) or EXCLUDE to update excluded locations (excluded_geo_locations) |
countries | array of string or SelectItem | No | - | Select one or more countries, e.g. US, CA, GB. |
region_keys | array of string (also accepts a comma-separated string) | No | - | Region keys, e.g 3847 for California. Use operation meta_ads_search_targeting to find region keys. Can be list of strings or comma-separated string. |
city_keys | array of string (also accepts a comma-separated string) | No | - | City keys, e.g. 2420379 for Los Angeles. Use operation meta_ads_search_targeting to find city keys. |
zip_keys | array of string (also accepts a comma-separated string) | No | - | Zip keys, e.g. US:10012. Use operation meta_ads_search_targeting to find zip keys. |
geo_market_keys | array of string (also accepts a comma-separated string) | No | - | Geo market keys, e.g. DMA:501. Use operation meta_ads_search_targeting to find geo market keys. |
electoral_district_keys | array of string (also accepts a comma-separated string) | No | - | Electoral district keys, e.g. US:CA14. Use operation meta_ads_search_targeting to find electoral district keys. |