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?