Can't target or excludable Adgroup parent criterion

23 views
Skip to first unread message

Viettel Ads

unread,
Jun 24, 2020, 4:21:15 AM6/24/20
to AdWords API and Google Ads API Forum
Hi Google Term,

I can't use the adwords api to target or exclude adgroup parental

This is my current status:

Capture12333.PNG

If I use NegativeAdGroupCriterion to set exclude NotParent or exclude Unknow or BiddableAdGroupCriterion to set include is parent status, it's always throw exception:  AdGroupCriterionError.CANNOT_TARGET_AND_EXCLUDE @ operations[0].operand

Please help me,

Thanks,

Google Ads API Forum Advisor Prod

unread,
Jun 24, 2020, 2:48:27 PM6/24/20
to viettel...@gmail.com, adwor...@googlegroups.com
Hello,

Thank you for reaching out. Please note that a criterion of type Parent is only excludable. In order for me to better investigate what is causing this error, can you please provide the complete detailed logs of the request and response? Please ensure you "Reply privately to author" when providing this information.

Regards,
Danica, Google Ads API Team 

ref:_00D1U1174p._5004Q218yC7:ref

Viettel Ads

unread,
Jun 25, 2020, 12:18:42 AM6/25/20
to AdWords API and Google Ads API Forum
Dear Team,

I use Parent criterion in AdGroupCriterionService. According to the API document: https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.Parent "A criterion of this type can only be created using an ID. A criterion of this type can be either targeted or excluded."

Google Ads API Forum Advisor Prod

unread,
Jun 25, 2020, 2:08:40 PM6/25/20
to viettel...@gmail.com, adwor...@googlegroups.com
Hello,

Thank you for clarifying this. Can you please provide the complete detailed logs of the request and response via "Reply privately to author" so I can better investigate what is causing the error? 
Reply all
Reply to author
Forward
0 new messages