Hi,
You could use the ManageCustomerService
<https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService>
to
retrieve the list of accounts under your MCC account. You may refer to this
complete sample code
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201809/AccountManagement/GetAccountHierarchy.php>
in
PHP on how to retrieve your account hierarchy. Make sure to set your MCC ID
as the clientCustomerId in your request header.
Thanks and regards,
Luis
AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
On 02/22/19 11:03:12 [email protected] wrote:
I'm using php library of google adwords api
and I have completed setting up the Web application for authenticate as any
user who grants permission to my app to access their Google Ads account
data.
But I don't know how can I get the user's client customer id list who grant
permission to my app.
Like this capture.
[image: capture.png]
Which class of API I have to use to get this information?
Thanks.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/44f3742c-27e0-4a7d-89d5-86e61a88a375%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/44f3742c-27e0-4a7d-89d5-86e61a88a375%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/00d12itveg000001gjd2pi000ifg96y6kmjcdhj6oo30c1g68qjachn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.