Update campaign content lables, location, language

53 views
Skip to first unread message

denma test

unread,
Aug 12, 2020, 8:30:49 AM8/12/20
to AdWords API and Google Ads API Forum
Hi
How can i remove some existing content lables, locations and languages and add new content lables, locations and languages in when user edit the campaign. Am using Adwords v201809 PHP library. Thanks in advance.

Google Ads API Forum Advisor Prod

unread,
Aug 12, 2020, 3:02:12 PM8/12/20
to denm...@gmail.com, adwor...@googlegroups.com
Hello,

To target/ exclude different criteria at the campaign level, you will need to use the CampaignCriterionService. To see what can be targeted and excluded on the campaign and ad group level, you can refer to this sheet. The codes/Ids for some of these criteria can be found here.

Cheers,
Anthony
Google Ads API Team   

ref:_00D1U1174p._5004Q23JaEa:ref

denma test

unread,
Aug 13, 2020, 2:09:15 AM8/13/20
to AdWords API and Google Ads API Forum
Hi Anthony,
Yes, i knew it and done with while create campaign, The thing i want exactly is to remove added settingsnot all, in specifc) while edit campaign. For i created campaign with below targets,
Location:
India, Australia and China
Language:
Tamil, Hindi, English and Chinese
content lables:
Below-the-fold
Tragedy and conflict
Embedded YouTube videos
Live streaming YouTube video

Now i want to remove below while edit campaign settings

Location:
China
Language:
Chinese
content lables:
Live streaming YouTube video

How can i done it, also i may want to add new things too. Please clarify as mentioned specific.

Google Ads API Forum Advisor Prod

unread,
Aug 13, 2020, 9:11:44 AM8/13/20
to denm...@gmail.com, adwor...@googlegroups.com
Hi,

If you want to remove some of these settings, you will need to use the REMOVE operation in the CampaignCriterionService I mentioned. The ADD operator is used to add new targeting. Here is some example code you can also use as a reference.

denma test

unread,
Aug 14, 2020, 4:09:45 AM8/14/20
to AdWords API and Google Ads API Forum
Hi
Thanks a lot, have done with that.
Reply all
Reply to author
Forward
0 new messages