how to get all searchterms and exclude them

42 views
Skip to first unread message

mkalinski

unread,
Nov 5, 2018, 10:44:57 AM11/5/18
to AdWords API and Google Ads API Forum
hello,

I just wanted to ask if it´s possible to get all searchterms of an adgroup.
If so, will it also be possible to delete this searchterm and add it to the excluded Keywords?

I am using the C# Google AdWords API.

best regards.

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Nov 5, 2018, 5:41:59 PM11/5/18
to adwor...@googlegroups.com
Hello, 

To get the search terms which triggered the ads in an ad group, you can use the Search Query Performance Report. To get the data at the ad group level, you could add a predicate to filter by adgroupid. You will not be able to delete the search terms. If you would like to delete the keywords which are same as search terms, you will need to use AdgroupCriterionService.mutate() and perform a mutate call to remove the specific keyword. Please check the RemoveKeyword code sample for reference. To add that as a negative criterion at the campaign level, you could use the CampaignCriterionService and add the NegativeCampaignCriterion. Please check this code sample in C# for reference. Please let me know if you have any additional questions. 

We are running an annual developer feedback survey. Please take opportunity to leave feedback on how we can make managing campaigns at scale even easier.

Thanks,
Sreelakshmi, AdWords API Team

mkalinski

unread,
Nov 5, 2018, 6:16:29 PM11/5/18
to AdWords API and Google Ads API Forum
Thank you Sreelakshmi for your fast reply,

If we can get the Searchterms by using the Search Query Performance Report, we would be able to check each term with our own Keyword list. If the word isn´t matching, we could potentially add the searchterm as a negative Keyword, so it will be excluded next time. 
That would actually solve my Question.
I thing I am able to create something out of it.

Thank you for your time and guidance.
Reply all
Reply to author
Forward
0 new messages