Hello Muhammad,

Thanks for reaching out to the Google Ads API Forum. Unfortunately there is no 
way to add multiple MCC account Id to fetch the list of accessible accounts. 
Feel free to use our sample code list-accessible-customers to retrieve the 
customer IDs accessible by the user.

List Accessible Accounts provides the list of accounts you are a direct user 
on. To illustrate this, if you are a user in 3 MCC's that have deep hierarchies 
and 2 regular ads accounts you will get 5 accounts returned. To get the similar 
list of accounts in the UI you would click on the top right representation of 
your Google Account and the same list should be there for you to pick from.

And by using Get Account Hierarchy it will get the account hierarchy of your 
manager account. You aren't necessarily a user in all accounts that are in the 
hierarchy, only because you are a user in an MCC that has access can you see 
those accounts. Feel free to get back to us if you have any questions.

Best Regards,

Jakeia Sabrina
Google Ads API Team
ref:_00D1U1174p._5004Q2ZM01g:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/GDELu000000000000000000000000000000000000000000000RA8F2G00IKwR4gxCRxmcMwqa02ajeA%40sfdc.net.
  • Ge... Muhammad Adil
    • ... Muhammad Adil
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Muhammad Adil
        • ... Muhammad Adil
        • ... Muhammad Adil
        • ... Muhammad Adil
        • ... Muhammad Adil
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to