c# Account ID´s from Manager Account

23 views
Skip to first unread message

Karin Rutter

unread,
Feb 18, 2022, 10:21:41 AM2/18/22
to Google Ads API and AdWords API Forum
Hi Friends

How I can get the subAccounts numbers from my manager accounts?
I found in examples "ListAccessibleCustomer" but that don´t have selection possibility 

Thanks for Help 
Adam

Google Ads API Forum Advisor

unread,
Feb 21, 2022, 1:47:03 AM2/21/22
to in...@wonderful-kosmetik.de, adwor...@googlegroups.com

Hi Adam,

Thank you for raising this concern to Google Ads API Team.

To answer your question "How I can get the subAccounts numbers from my manager accounts?", you can get the account hierarchy of your manager account, by building a Google Ads Query Language statement to query all the child accounts specified by the client_customer field from CustomerClient, and executing it recursively on the sub-manager accounts. You'll be able to check which accounts are directly linked to your manager account and which are indirectly linked through sub-managers. For more information kindly check this document.

Best regards,

Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Wx1jx:ref
Reply all
Reply to author
Forward
0 new messages