RE: FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING

203 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Oct 7, 2022, 9:04:40 AM10/7/22
to emanuele....@gmail.com, adwor...@googlegroups.com
Hi Emanuele,

Thank you for reaching out to us.

I had to delete your post since complete logs were posted on the forum. For reference, you may refer to below without sensitive information: 

"Hi, I'm trying to create a display campaign with targeting, boot with negative at false and true in the criteria, I get this error but in the request seem they are set correctly

Method Name: /google.ads.googleads.v11.services.CampaignCriterionService/MutateCampaignCriteria
Host: googleads.googleapis.com

Headers: {
   XXX
}
Request:
{"XXX"}}}]} 

Response
-------
Headers: {
   XX
}
Fault
------- "

Moving forward, the error, FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING means that the field is not allowed to be set when the negative field is set to true, for example, we don't allow bids in negative ad group or campaign criteria. That being said, please note that if the ‘negative’ field is set as ‘false’, we are creating positive / standard keywords. Refer to the KeywordsInfo section in the Campaign Criteria documentation, which states you can only exclude keywords at the campaign level.

Thus, the API request call worked and created a negative keyword when the negative field was set to ‘TRUE’ and you received an error when the negative field was set to ‘FALSE’. The field is not allowed to be set when the negative field is set to true, e.g. we don't allow bids in negative Adgroup or campaigns like what I said earlier. Let me know if you have further questions.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


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