Set negative keywords for account level and campaign level

89 views
Skip to first unread message

zimu yang

unread,
Feb 5, 2020, 7:42:05 PM2/5/20
to AdWords API and Google Ads API Forum
Hi,

I'm using adwordsv201809

I'm recently working on adding negative keywords to both account level and campaign level.

I know how to add at group-level: Use NegativeAdGroupCriterion and talk to AdGroupCriterionService

After some investigation, I wonder whether it is really similar for both account level and campaign level.

Campaign level: Use NegativeCampaignCriterion and talk to CampaignCriterionService

Account level: Use CustomerNegativeCriterion and talk to CustomerNegativeCriterionService

I did search for some related posts but all of them are either outdated or no-access to me.

Really appreciate it if could be shown some code examples and clarifications.



Google Ads API Forum Advisor Prod

unread,
Feb 6, 2020, 10:24:41 AM2/6/20
to rdy...@gmail.com, adwor...@googlegroups.com
Hi Zimu,

Thank you for reaching out. You are correct that you can use the CampaignCriterionService to create a NegativeCampaignCriterion of type keyword to add a negative keyword to the campaign. However, you can't negatively target a keyword at the account level. Please see this Java example (also available in other languages) and go to the section "Add a negative campaign criterion." to see how to add a negative keyword.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UV05H5:ref

zimu yang

unread,
Feb 6, 2020, 1:39:03 PM2/6/20
to AdWords API and Google Ads API Forum
I read the section "Add a negative campaign criterion" and knows how to do it. Although you mentioned that we can't add a negative keyword at the account level, I also noticed there is a section called "Add negative criteria to a customer" and it seems that I can do a very similar job just as how it is done at campaign-level (set the criterion to a "KEYWORD" type). So I'm a little confused why we can't negatively target a keyword at the account level.
Besides, what is the right way to "Add a negative keyword at the account level" (like creating some kind of negative keywords list and apply to every campaign ? )

Thank you for your explanation.

Google Ads API Forum Advisor Prod

unread,
Feb 6, 2020, 4:58:19 PM2/6/20
to rdy...@gmail.com, adwor...@googlegroups.com
Hi Zimu,

You can add certain negative criterion at the account level but not keyword. See here for the list. You could theoretically add the desired negative keyword for all campaigns in your account in order to replicate that functionality.
Reply all
Reply to author
Forward
0 new messages