Google Ads API, how can I add negative keyword list to campaign

1,407 views
Skip to first unread message

Radu Sitaru

unread,
Feb 16, 2023, 7:10:30 AM2/16/23
to Google Ads API and AdWords API Forum
Hello,

We try to manage out shopping ads campaign through Google Ads API and we want to add/attached on these campaigns lists with negative keywords. These lists are available on account level.
There is a way to do this ? I searched on Google Ads API reference/examples but I can't found any hint.

Any ideas ?

Best regards,
Radu.

Best regards,
Radu.

Google Ads API Forum Advisor

unread,
Feb 16, 2023, 12:28:50 PM2/16/23
to radu....@netbridge.ro, adwor...@googlegroups.com
Hi Radu,

Thank you for raising this concern to the Google Ads API support team.

As per this guide, the CampaignCriterionService and AdGroupCriterionService support targeting or excluding various types of criteria. Having said that, you may add the negative keywords by using the CampaignCriterionService.

Additionally, you may also use the SharedSetService.MutateSharedSets to create negative_keywords shared set too. Note that SharedSets are used for sharing criterion exclusions across multiple campaigns.

Let us know if this is what you're looking for.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2j0rui:ref

Radu Sitaru

unread,
Feb 20, 2023, 1:01:47 PM2/20/23
to Google Ads API and AdWords API Forum
Hi Carmela


Thank you!

Best regards,
Radu.
Reply all
Reply to author
Forward
0 new messages