I can using Google Adwords Api to get MCC customer list:

$managedCustomerService = $this->adwords->get($session, 
ManagedCustomerService::class);
$selector = new Selector();
$selector->setFields(['CustomerId','Name','CanManageClients','CurrencyCode','DateTimeZone',
 
'TestAccount']);
$selector->setPaging(new Paging(0, self::PAGE_LIMIT));
$customerIds = [];
do {
       $page = $managedCustomerService->get($selector);
       if ($page->getEntries() !== null) {
            $totalNumEntries = $page->getTotalNumEntries();
            foreach ($page->getEntries() as $customer) {
                $customerIds[] = $customer;
          }
      }
    
 $selector->getPaging()->setStartIndex($selector->getPaging()->getStartIndex() 
+ self::PAGE_LIMIT);
} while ($selector->getPaging()->getStartIndex() < $totalNumEntries);

How to change my code using Google Ads Api? Please Help!
在2020年10月22日星期四 UTC+8 下午3:48:01<吴文伟> 写道:

> How to get manage account 's customer list?
>
> $googleAdsClient->get???(); 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/18405c45-bf3f-4a90-baae-f88b9d08b060n%40googlegroups.com.

Reply via email to