How to create negative keywords campaign level using java

41 views
Skip to first unread message

Naveenkumar kuppili

unread,
Aug 25, 2014, 11:01:36 AM8/25/14
to adwor...@googlegroups.com
HI 

   could you please provide  example code to  create negative keywords at campaign level using java

  Appreciate your help

Regards,
Naveen

Anash P. Oommen (AdWords API Team)

unread,
Aug 26, 2014, 12:04:36 PM8/26/14
to adwor...@googlegroups.com
Hi Naveen,

You can use the client library from https://github.com/googleads/googleads-java-lib to get started. Negative keywords are added the same way as shown on https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/basicoperations/AddKeywords.java, except that you create a CampaignCriterionOperation and use CampaignCriterionService.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages