Adding Targeting to Ad Group Criterion returns Unknown Error

48 views
Skip to first unread message

Kathryn Rieb

unread,
Jun 14, 2023, 12:41:53 PM6/14/23
to Google Ads API and AdWords API Forum
Hello, 
I am using V13 of the Google Ads Api and I recently started encountering a new error, when I try and add a Targeting criteria (Gender, Age range, or User Interest) to an Ad Group. The error comes from adding an ad group criterion like so:
"entity": "ad_group_criterion""operation": "create""resource": { "ad_group": "...""gender": { "type": "FEMALE" }, "negative": true }, "$context": [...] }

The error appears as follows:
{ "error_code": { "request_error": "UNKNOWN" }, "message": "The error code is not in this version.", "location": { "field_path_elements": [ { "field_name": "mutate_operations", "index": 4 }, { "field_name": "ad_group_criterion_operation" }, { "field_name": "create" }, { "field_name": "gender" } ] }

I am trying to pinpoint the actual error, if you have any advice that it much appreciated. Thanks!

Google Ads API Forum Advisor

unread,
Jun 19, 2023, 10:39:58 AM6/19/23
to kan...@gmail.com, adwor...@googlegroups.com

Hi,

Thanks for reaching out to Google Ads API Support.

Please note that changing the subject of your email thread creates multiple cases that might be difficult for tracking the issue. With that, we suggest continuing the conversation in the other thread with the subject line of "Adding Targeting to Ad Group Returns UNKNOWN" for better tracking of the issue. Please also note that we have responded on that thread regarding the issue you are having.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2mD0Ge:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages