Hi,
I'm using the *Adwords API* to fetch all customer clients on a google
account. Using the function *getCustomers()* on the *CustomerService* class
it only returns one account.
$adWordsServices = new AdWordsServices();
// Get the service, which loads the required classes.
$customerService = $adWordsServices->get($session, CustomerService::class);
try {
$customers = $customerService->getCustomers();
} catch (\Exception $e) {
...
}
Some context: I created a API account and I was invited to another one, and
the only one that I'm getting with *getCustomers() *is the account that I
was invited to join.
<https://lh3.googleusercontent.com/-O2Z5pcLwOAM/WbqeKInLSOI/AAAAAAAAEfg/bbfk87a3kVIdebL1cllNfGbJjZTfD4ZiwCLcBGAs/s1600/Screen%2BShot%2B2017-09-14%2Bat%2B16.19.18.png>
*Conta ELTON *is the one that I created (and that I'm not getting with the
API) and *Conta pessoal *is the one that I was invited to and the only one
that I'm getting.
Thank you for your time
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/fa14c425-6228-4aff-bb58-91933c73c71f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.