Hi, I' m trying to add CampaignCriterion via REST but getting an error:
I'm sending it to : https://googleads.googleapis.com/v9/ustomers/<CUSTOMER ID>/campaignCriteria:mutate with the ff json encoded params: {"operations":[{"create":{"type":"LOCATION","status":"ENABLED","campaign":"customers\/<customerId>\/campaigns\/<campaignId>","criterionId":9054891}},{"create":{"type":"LOCATION","status":"ENABLED","campaign":"customers\/ <customerId> \/campaigns\/<campaignId>","criterionId":9054889}}]} But I'm getting an error: { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "fieldError": "REQUIRED" }, "message": "The required field was not present.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 0 } ] } }, { "errorCode": { "fieldError": "REQUIRED" }, "message": "The required field was not present.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": 1 } ] } } ], "requestId": "oS1_-B13dajvEVJZM-RATQ" } ] } } Any idea why the error? I set the operations properly, can someone please help me. Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/79a94e45-fac0-45c9-8737-f235efac2ecfn%40googlegroups.com.