Hi, I'm trying to manage sub-accounts with Ruby API in order to create sub-accounts under single management account, and further run campaigns with them. Now I'm having need to remove unused sub-accounts but getting some troubles.
Generally with Ruby's API, you can remove specified resource in this way (removing campaign, for instance): *operation = ads_client.operation.remove_resource.campaign(campaign_path)* *response = client.service.campaign.mutate_campaigns(customer_id: sub_account_id, operations: [operation])* However, when I'm trying to do the same operation (removing managed customer) for sub-account (client resource), I got this error: *operation = ads_client.operation.remove_resource.customer(cusotmer_path)* *response = client.service.customer.mutate_customers(customer_id: sub_account_id, operations: [operation])* *>> ArgumentError: Unknown field: remove* Any workable way to remove a managed sub-account, or it's just impossible to remove sub-accounts in programmed way? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/564c71cc-4251-49c3-a530-dfd3c665f916n%40googlegroups.com.
