Updating zip codes of a particular campaign which is live.

3 views
Skip to first unread message

Arnab Ganguly

unread,
Nov 18, 2019, 3:28:51 PM11/18/19
to AdWords API and Google Ads API Forum
Hi All,
How do I edit zip code lists of a particular campaign which is live ? Basically it is running with some zip code list.I want to give a new list of zip codes.
I see the operator SET.I wonder if I have the campaign ID and use the operator SET with updated zip code as the criteria.Then all existing criterias (apart from zip code) are going to be deleted and only the new zip code criteria is going to be considered ?
Any advice.

Thanks,
Arnab

Google Ads API Forum Advisor Prod

unread,
Nov 19, 2019, 8:59:00 AM11/19/19
to agang...@gmail.com, adwor...@googlegroups.com
Hi Arnab, 

If you're looking to add new locations criteria to the existing campaign targeting, you may use the CampaignCriterionService.mutate() operation with ADD operator. This will add the new set of locations to the existing set. This will not delete the existing targeted locations but will append the new locations to the list. Please give this a try and let me know if you have any questions. 

Thanks,
Bharani, Google Ads API Team

ref:_00D1U1174p._5001UOCWtd:ref
Reply all
Reply to author
Forward
0 new messages