Hi, we tried to update a campaign status to REMOVED using apis: POST https://googleads.googleapis.com/v2/customers/2017233623/campaigns:mutate { "operations": { "updateMask": "status", "update": { "resource_name": "customers/2017233623/campaigns/9151140201", "status": "REMOVED" } } }
but we get: { "error": { "code": 400, "message": "Request contains an invalid argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v2.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "requestError": "INVALID_ENUM_VALUE" }, "message": "Enum value 'REMOVED' cannot be used.", "location": { "fieldPathElements": [ { "fieldName": "operations", "index": "0" }, { "fieldName": "update" }, { "fieldName": "status" } ] } } ] } ] } } While if we do it from Google Ads Console it works and campaign is returned with status 'REMOVED'. How to do it with api ? Regards, Pierpaolo -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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/00388c77-1b4f-4ef3-ac7b-c35df4b2d75b%40googlegroups.com.