ManagedCustomerServiceInterface originCustomerService = getManagedCustomerService(customerId, refreshToken);
// Create selector builder.int offset = 0;SelectorBuilder selectorBuilder = new SelectorBuilder().fields(ManagedCustomerField.CustomerId, ManagedCustomerField.Name) .offset(offset).limit(PAGE_SIZE);
// Get results.ManagedCustomerPage page;
// Map from customerId to customer node.Map<Long, ManagedCustomerTreeNode> customerIdToCustomerNode = com.google.common.collect.Maps.newHashMap();
// Map from each parent customer ID to its set of linked child customer// IDs.SortedSetMultimap<Long, Long> parentIdToChildIds = TreeMultimap.create();
page = adwordsApiCaller.executeCall(() -> originCustomerService.get(selectorBuilder.build()));--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
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 a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/NC5vIw0_Shs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/17e61eb4-3de2-491f-b71b-62f3fea00517%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.