The clientCustomerId was generated yesterday by programmatically creating the account. Said account has no budget orders, no shared budgets, no anything other than the account.
I'm trying to write code to programmatically unlink accounts which were created in error (by other programs.)
- $exception {"AdWordsApiException: One or more AdWords API errors have occurred. \r\n\r\nUnknown.. (Error: ManagedCustomerServiceError.UNKNOWN, FieldPath: operations[0], Trigger: )\r\n\r\n"} Google.Api.Ads.AdWords.Lib.AdWordsApiException
+ ApiException {Unknown.. (Error: ManagedCustomerServiceError.UNKNOWN, FieldPath: operations[0], Trigger: )} object {Google.Api.Ads.AdWords.v201607.ApiException}
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HelpLink null string
+ InnerException {"[ManagedCustomerServiceError.CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER @ operations[0]]"} System.Exception {System.Web.Services.Protocols.SoapException}
Message "AdWordsApiException: One or more AdWords API errors have occurred. \r\n\r\nUnknown.. (Error: ManagedCustomerServiceError.UNKNOWN, FieldPath: operations[0], Trigger: )\r\n\r\n" string
Source "Google.Ads.Common" string
StackTrace " at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] parameters)\r\n at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, Object[] parameters)\r\n at Google.Api.Ads.AdWords.v201607.ManagedCustomerService.mutateLink(LinkOperation[] operations)\r\n at WorkFlowMaxTool.AdWords.deactivateClient(AdWordsUser user, Int64 managerId, Int64 clientId) in e:\\sources\\BOWFMT\\WorkFlowMaxTool\\AdWords.cs:line 1099" string
+ TargetSite {System.Object[] MakeApiCall(System.String, System.Object[])} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}