Hi,
Thank you for reaching out to Google Ads API Support.
Kindly note that we are aware of this issue, and the team is working on the fix. One of my team members will reach out to you once we have an update. Meanwhile, your patience is highly appreciated.
![]() |
Google Ads API Team |
You can check your Demand Gen campaign to see if the location and language settings are configured at the ad group level or campaign level within the campaign settings page. For reference, I have attached two sample screenshots. In one campaign, the location and language settings are applied at the ad group level, and location exclusions are targeted using the campaignCriteria method, which results in receiving 'OWNED_AND_OPERATED' error. In the other campaign, where location and language settings are applied at the campaign level, no errors are encountered when targeting location exclusions using the campaignCriteria method.
Regarding targeting keywords, you can only exclude keywords at the campaign level, so you must specify 'negative=true' on a keyword's CampaignCriterion. At the ad group level, you can either target or exclude keywords using the adGroupCriteria method.