Set Geo Targeting on a Search Channel
set_search_channel_locationsSet the geographic targeting of a wizard campaign's search channel (Google Ads or Microsoft Ads). which countries/states the campaign serves in, and which countries to exclude.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| states | No | US state NAMES to target, e.g. ["Texas", "California"]. REPLACES the channel's current states. Pass [] to clear. Omit to leave unchanged. US states only. | |
| channel | Yes | Which search channel on the campaign to update. Geo targeting is set per channel and only these two carry it. | |
| countries | No | Country NAMES to target, e.g. ["United States", "Canada"]. REPLACES the channel's current countries. Pass [] to clear (targets all locations). Omit to leave unchanged. | |
| campaign_id | Yes | The unique identifier of the wizard campaign. | |
| excluded_countries | No | Country NAMES the campaign must NOT serve in, e.g. ["India"]. REPLACES the channel's current exclusions. Pass [] to clear them all. Omit to leave unchanged. Country-level only — states cannot be excluded. |