Hello world, I have the same issue than John. Below I pasted the logs of one of the request which failed. Thanks in advance for you help, we are really blocked by all the issues related to campaignCriteria and adGroupCriteria :
REQUEST 'https://googleads.googleapis.com/v14/customers/9115134537/campaignCriteria:mutate' REQUEST HEADER { "request-id": "jA0A1Yxxzv3aHojjMbWZXw", "developer-token": "hidden", "customerId": 9115134537, "login-customer-id": 4712691600, "Authorization": "Bearer ....." } REQUEST BODY { "operations": [ { "create": { "campaign": "customers/9115134537/campaigns/20532740378", "bid_modifier": 1, "gender": { "type": "MALE" } } } ] } RESPONSE { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "criterionError": "FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING" }, "message": "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.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 }, { "fieldName": "create" }, { "fieldName": "gender" } ] } } ], "requestId": "jA0A1Yxxzv3aHojjMbWZXw" } ] } } Thanks in advance, Best, Le mardi 29 août 2023 à 17:32:11 UTC+2, Google Ads API Forum Advisor a écrit : > Hi John, > > Thanks for getting back to us. > > However, aside from the request-id, kindly note we will be needing the > complete API logs (*request* and *response* with *request-id *and *request > header)* in this format in order for us to check if there were any issues > from your API request that caused the errors you encountered. > > Reference links included in this email: > > - request: > > *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request* > > > <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request> > > - response: > > *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response* > > > <https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response> > > - request-id: > > *https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id* > > > <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id> > > > - request header - > > *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers* > > > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers> > > > > This message is in relation to case "ref:_00D1U1174p._5004Q2nquf7:ref" > > Thanks, > > [image: Google Logo] Google Ads API Team > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/d74d106a-5267-4a90-9c1c-0b45f269632dn%40googlegroups.com.