How to get the mcc child accounts using adwords api in php ?

209 views
Skip to first unread message

Shobhan Babu

unread,
Feb 2, 2015, 1:31:30 AM2/2/15
to adwor...@googlegroups.com
Hi..

I have MCC account which contains 4 child adwords accounts .How we can we get the child account details ,How can we modify and remove child accounts using adworids api in php

Thank you

Josh Radcliff (AdWords API Team)

unread,
Feb 2, 2015, 9:49:05 AM2/2/15
to adwor...@googlegroups.com
Hi,

Please take a look at the examples in the PHP library's AccountManagement folder. The GetAccountHierarchy.php example shows how to get information on the client accounts linked to an MCC.

For instructions on linking and unlinking accounts to/from your MCC, please check out the Managing Customer Accounts guide.

Thanks,
Josh, AdWords API Team

Shobhan Babu

unread,
Feb 3, 2015, 1:54:38 AM2/3/15
to adwor...@googlegroups.com

How to get the MCC client names and Client id separated. The above example, i.e GetAccountHierarchy.php is giving the client ids only. How can we display Client ID with names 


Thank you 

Josh Radcliff (AdWords API Team)

unread,
Feb 3, 2015, 11:16:00 AM2/3/15
to adwor...@googlegroups.com
Hi,

The ManagedCustomer.name field should show the name of the account, provided it was actually set when the account was linked to the MCC. Do you see names for the accounts in the MCC UI, or just the customer IDs (xxx-xxx-xxxx)?

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages