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.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8e568f07-70bc-4b29-a98f-07bb9c439c1f%40googlegroups.com.