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) 님의 말:
> Hi, 
> As pointed out in the earlier post, conflicting criterion setting is 
> causing this error. You could try the AdGroupCriterionService.get() 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService#get>
>  on 
> that AdGroup and check for the criterionUse 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.AdGroupCriterion#criterionUse>
>  to 
> 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 
> targeting. 
> You could check our sample 
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/targeting/AddDemographicTargetingCriteria.java>
>  in 
> Java which adds both biddable and negative criterion and try the same in 
> PHP. 
> Please let me know if you have any additional questions. 
> Thanks,
> 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 adwords-api@googlegroups.com
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 
to adwords-api+unsubscr...@googlegroups.com.
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.
  • [AdGroup... 하진호
    • Re:... AdWordsApiUser
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... 하진호
      • ... 하진호
        • ... 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
          • ... 하진호
            • ... 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum

Reply via email to