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

ref:_00D1U1174p._5004Q2LnX4L:ref