Hi Muhammad,
Thank you for raising this concern to the Google Ads API team.
Moving forward to your concern, I see that you used the ListAccessibleCustomers method. As per this document, the expected response for this call is the resource name of customers directly accessible by the user authenticating the call. That said,if you want to get further information about the account, then you will need to use the customer_client report. Also, kindly note to include the customer_client.descriptive_name for you to get the names of the accounts.
I hope this helps. Let us know if you have further questions.
Regards,
|
||||||
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,
![]() |
|
Hello Muhammad,
Thanks for the clarification and for all the details. I understand your question correctly as you said you want to fetch the account name details when using list-accessible-customers call. Unfortunately this functionality (account name) is not available on Ads API under listAccessibleCustomers API calls.
With regards to your concern, I have raised a feature request for your concern (require an account name details when using listAccessibleCustomers API calls) internally within our team on your behalf. Please note our team is unable to share any update/status for internal planning features, timeline information, and there is no guarantee the request will be approved.
Please keep an eye on our release notes and the blog for further updates and announcements or for any upcoming functionality updates.
Best Regards,
![]() |
|
Hi,
Thanks for reaching out to Google Ads API Forum.
With regards to your concern, I have checked this on our side and unfortunately this feature on list-accessible-customers is still not available on Google Ads API. Kindly note that we already raised a feature request for this to be available in Google Ads API, subject for review. For now, what we can advise you is to follow our Blog post or Release Notes for the latest updates in the API.
Links included in this email:
![]() |
Google Ads API Team |
Hi Miguel,
Would you be so kind as to provide the complete API logs (request and response with request-id and request header) generated on your end? This is so we can further check your implementation and investigate further:
For the client libraries, logging can be enabled by navigating to the Client libraries > Your client library (ex Java) > Logging documentation, which you can access from this link: https://developers.google.com/google-ads/api/docs/client-libs. For REST interface requests, you can enable logging via the curl command by using the -i flag. This will cause the tool to include the HTTP response headers in the output.
You may send the requested information via the Reply privately to author option. Note that you may need to join the Google Group for you to use this option. If this option is not available on your end still, you may send the details directly to our alias `googleadsa...@google.com` instead.
SELECT customer_client.descriptive_name, customer_client.client_customer, customer_client.level, customer_client.manager, customer_client.currency_code, customer_client.time_zone, customer_client.id FROM customer_client WHERE customer_client.level <= 1
![]() |
Google Ads API Team |
SELECT customer_client.descriptive_name, customer_client.client_customer, customer_client.level, customer_client.manager, customer_client.currency_code, customer_client.time_zone, customer_client.id FROM customer_client WHERE customer_client.level <= 1
![]() |
Google Ads API Team |