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,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2f2ybR:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8Mzd5000000000000000000000000000000000000000000000RJDWB2003NPsLafJRm2RwM-pgKDZBg%40sfdc.net.
  • FI... Emanuele Isaia
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to