Re: [AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand]

2017-02-17 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi, Could you please try fetching the criteria that is already defined for the ad group using AdGroupCriterionService.get and send me the console output / SOAP response logs? Please add the fields

Re: [AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand]

2017-02-16 Thread 하진호
Hi, Thank you for your answer. I used the code you suggested, but received same error: result xml http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>

Re: [AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand]

2017-02-16 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi, I will be providing support in the meantime as Sreelakshmi is currently OOO. To clarify, AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE error is observed when one tries

Re: [AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand]

2017-02-16 Thread 하진호
Hi, Thank you for your answer. I looked into your sample, and it seemed the process was too complicated. According to your suggestion, you must add 1 gender and then remove 1 age range or the other way around in order to set for instance, Male 18-24(10, 503001). Based on this process, if I

Re: [AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand]

2017-02-16 Thread 하진호
hi thank you for your answer but i don't understand your suggested sample one gender add and one age remove process or one age add and one gender remove i want to one adgroup of at the same time add or remove age and gender for example ageRange id 503005, 503006 and gender id 10 add for adgroup

Re: [AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand]

2017-02-15 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi, As pointed out in the earlier post, conflicting criterion setting is causing this error. You could try the AdGroupCriterionService.get() on that AdGroup and check for the criterionUse

Re: [AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand]

2017-02-15 Thread AdWordsApiUser
Maybe you've excluded one of them explicitly using "NegativeAdGroupCriterion" or at the campaign level? This error only shows up in such a case. On Wednesday, February 15, 2017 at 12:26:34 PM UTC+1, 하진호 wrote: > > Hi, there > > I tried to add age and gender in an adgroup, but i get following