I able to retrieve the client customer list now. But I have another issue. I am getting the list as a Object. I cannot retrieve the customerId and name from the list using a loop. Please help me to find the solution.
Google\AdsApi\AdWords\v201809\mcm\ManagedCustomerPage Object
(
[entries:protected] => Array
(
[0] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomer Object
(
[name:protected] => F
[customerId:protected] => XXXXXXXXXX
[canManageClients:protected] =>
[currencyCode:protected] =>
[dateTimeZone:protected] =>
[testAccount:protected] => 1
[accountLabels:protected] =>
[excludeHiddenAccounts:protected] =>
)
[1] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomer Object
(
[name:protected] => E
[customerId:protected] => XXXXXXXXXX
[canManageClients:protected] =>
[currencyCode:protected] =>
[dateTimeZone:protected] =>
[testAccount:protected] => 1
[accountLabels:protected] =>
[excludeHiddenAccounts:protected] =>
)
[2] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomer Object
(
[name:protected] => D
[customerId:protected] => XXXXXXXXXX
[canManageClients:protected] =>
[currencyCode:protected] =>
[dateTimeZone:protected] =>
[testAccount:protected] => 1
[accountLabels:protected] =>
[excludeHiddenAccounts:protected] =>
)
[3] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomer Object
(
[name:protected] => C
[customerId:protected] => XXXXXXXXXX
[canManageClients:protected] =>
[currencyCode:protected] =>
[dateTimeZone:protected] =>
[testAccount:protected] => 1
[accountLabels:protected] =>
[excludeHiddenAccounts:protected] =>
)
[4] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomer Object
(
[name:protected] => B
[customerId:protected] => XXXXXXXXXX
[canManageClients:protected] =>
[currencyCode:protected] =>
[dateTimeZone:protected] =>
[testAccount:protected] => 1
[accountLabels:protected] =>
[excludeHiddenAccounts:protected] =>
)
[5] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomer Object
(
[name:protected] => A
[customerId:protected] => XXXXXXXXXX
[canManageClients:protected] => 1
[currencyCode:protected] =>
[dateTimeZone:protected] =>
[testAccount:protected] => 1
[accountLabels:protected] =>
[excludeHiddenAccounts:protected] =>
)
)
[links:protected] => Array
(
[0] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomerLink Object
(
[managerCustomerId:protected] => XXXXXXXXXX
[clientCustomerId:protected] => XXXXXXXXXX
[linkStatus:protected] =>
[pendingDescriptiveName:protected] =>
[isHidden:protected] =>
)
[1] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomerLink Object
(
[managerCustomerId:protected] => XXXXXXXXXX
[clientCustomerId:protected] => XXXXXXXXXX
[linkStatus:protected] =>
[pendingDescriptiveName:protected] =>
[isHidden:protected] =>
)
[2] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomerLink Object
(
[managerCustomerId:protected] => XXXXXXXXXX
[clientCustomerId:protected] => XXXXXXXXXX
[linkStatus:protected] =>
[pendingDescriptiveName:protected] =>
[isHidden:protected] =>
)
[3] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomerLink Object
(
[managerCustomerId:protected] => XXXXXXXXXX
[clientCustomerId:protected] => XXXXXXXXXX
[linkStatus:protected] =>
[pendingDescriptiveName:protected] =>
[isHidden:protected] =>
)
[4] => Google\AdsApi\AdWords\v201809\mcm\ManagedCustomerLink Object
(
[managerCustomerId:protected] => XXXXXXXXXX
[clientCustomerId:protected] => XXXXXXXXXX
[linkStatus:protected] =>
[pendingDescriptiveName:protected] =>
[isHidden:protected] =>
)
)
[totalNumEntries:protected] => 6
[PageType:protected] => ManagedCustomerPage
[parameterMap:Google\AdsApi\AdWords\v201809\cm\Page:private] => Array
(
[Page.Type] => PageType
)
)