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,
Based on this process, if I want to target Male with 18-24 and 25-34(gender
id: 10/ ageRange: 503001, 503002), I have to repeat adding and removing
each targeting options several times. Am I getting this right?
Instead of repeating the process of adding and removing targeting options,
I want to create an ad group with specific demographic options selected AT
For example, I want to set ageRange id 503001, 503002 and gender id 10 for
adgroup at the same time.
If possible, can you give an example of setting Male, 18-24, 25-34? We
can’t find any samples we could refer to in this forum especially on
demographic targeting for creating campaigns.
2017년 2월 16일 목요일 오전 3시 58분 2초 UTC+9, Sreelakshmi Sasidharan (AdWords API
Team) 님의 말:
> As pointed out in the earlier post, conflicting criterion setting is
> causing this error. You could try the AdGroupCriterionService.get()
> that AdGroup and check for the criterionUse
> see if the targeting that you are trying to set is already set as negative
> criterion. If so, the workaround would be to remove that and add the right
> You could check our sample
> Java which adds both biddable and negative criterion and try the same in
> Please let me know if you have any additional questions.
> Sreelakshmi, AdWords API Team
Also find us on our blog and Google+:
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to firstname.lastname@example.org
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.