MCC Account Hierarchy

25 views
Skip to first unread message

manan sharma

unread,
Jul 19, 2020, 11:41:36 PM7/19/20
to AdWords API and Google Ads API Forum
Hi,

I am looking for python code example which can provide Parent Child Mcc Hierarchy. I have seen so many threads and blog are people are having hard time getting a work around for this.
It will be really great if a code template can be created and people can use that.

I used the python code 
to pull the hierarchy. I can see it can not created a parent child hierarchy table.

Again it will be a great help if you can provide a code template which give a csv file for parent account id and child account id and name as well.

This template will save lot of time for developer around the world.

Thank you,
Manan

Google Ads API Forum Advisor Prod

unread,
Jul 20, 2020, 2:01:50 PM7/20/20
to manand...@gmail.com, adwor...@googlegroups.com
Hi Manan,

The only code examples we have are the ones found in our client libraries. As a workaround, you can run this example which will run parallel reports from the manager level. You can modify the report type Account Performance Report and include the field CanManageClients to see if the accounts are managers or not.

Regards,
Anthony
Google Ads API Team

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