Last week I noticed that there was a change to the php Adwords API library.
Previously when we authenticated a user I would use:
$customerService = $this->user->GetService("CustomerService");
$customer = $customerService->get();
To get the customer associated with the user who granted us the oauth token. According to the link below that has changed.
https://github.com/googleads/googleads-php-lib/blob/master/src/Google/AdsApi/AdWords/v201702/mcm/CustomerService.php#L83-L85I looked around and found the GetClientCustomerId object on the AdwordsUser object. However when I try to run it it returns as empty. My only thought is that if I list out all the customers I only have one, which is correct, so I am wonder if this returns empty if there is only one customer associated with the account.
Any help on what I am doing wrong would be appreciated.