Hi Evgeniy,
You can target and exclude locations by utilizing the
CampaignCriterionService and provide one of the location Ids found
here. You'll be able to use different locations types such as cities, zip codes or countries. The field
negative determines whether to target or exclude the location. Here is a comprehensive
guide that provides details and samples on how to target locations.
Regards,
Reminder: Share your feedback about the Google Ads (AdWords) API! Take the
2021 Google Ads API and AdWords API Annual Survey
 |
| Teejay Wennie Pimentel |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2RxO4c:ref