Hi ,
I have seen a couple of posts talking about this but I did not clearly understand if this is "under work" or am I missing something.
All i need is to get the list of all accessible customers for my OAuth2ClientId and OAuth2ClientSecret. I am able to successfully retrieve an array of customers with Google AdWords API with the following call
var me = await ServiceExecute<CustomerService, Customer[]>(AdWordsService.v201809.CustomerService, tokenAccess, action: service =>
{
return service.getCustomers();
});
Migrating to Google Ads API as per the documentation i call the following API
var c = client.GetService(Services.V2.CustomerService);
string[] customerResourceNames = c.ListAccessibleCustomers();
With the above call all i get back is one customerResourceName which is ("customers/myMCCAccountID")
I am expecting all clients that my MCC account has access to.
Please let me know if there is more to this in order to retrieve accountIDs for all accessible customers.
Thanks,
Vinitha.