RE: criterionError - FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING

47 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Aug 17, 2021, 1:17:35 PM8/17/21
to rakhim...@gmail.com, adwor...@googlegroups.com
Hello,

Thanks for reaching out. The error, FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING, indicates that the criterion may not be set with negative set to true. It seems you are probably using the campaign criterion service. If so, the negative field must be set to false, for the gender criterion. If you are setting to false (you are trying to target this criterion), and are getting this error, please send us the complete request and response logs. 

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2LnX4L:ref

Javokhir Rakhimov

unread,
Aug 19, 2021, 2:36:56 AM8/19/21
to AdWords API and Google Ads API Forum
Yeah you are right, I am trying to target this criterion and I've set negative to false but still getting the error I sent above. Here is my request:

{
  "customer_id": "9406778374",
  "operations": [
    {
      "create": {
        "campaign": "customers/9406778374/campaigns/14295266112",
        "negative": false,
        "gender": {
          "type": 10
        }
      },
      "operation": "create"
    }
  ]
}

Thanks for your time

вторник, 17 августа 2021 г. в 22:17:35 UTC+5, adsapi:

Google Ads API Forum Advisor

unread,
Aug 20, 2021, 5:31:41 AM8/20/21
to rakhim...@gmail.com, adwor...@googlegroups.com

Hello,

Thanks for getting back to us.

Can you share to us the complete logs (request and response with request-id) so we can better check?

Please send the requested logs via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 


ref:_00D1U1174p._5004Q2LnX4L:ref
Reply all
Reply to author
Forward
0 new messages