Hello Zied,

Thank you for sharing the code snippets. They were really helpful. I see
that you're targeting Location and Gender criteria and receiving the error.
The error CANNOT_ADD_CRITERIA_
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.CriterionError>
TYPE
<https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService.CriterionError> indicates
that the criteria type cannot be targeted. The Gender criteria cannot be
targeted and can only be excluded through the API at the campaign level.
You may refer to this Criteria usage table
<https://developers.google.com/adwords/api/docs/appendix/criteria-usage> as
a reference.

Please let me know if you have any other questions.

Regards,
Bharani, AdWords API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0lf18000000000o20l5k000kbe4oz6smj4chl64o30c1g68qj4dpo%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Campaig... Zied Chaari
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to