Unable to get list of linked accounts in Manager test account

26 views
Skip to first unread message

con...@varlogix.com

unread,
Oct 1, 2018, 7:55:14 AM10/1/18
to AdWords API and Google Ads API Forum
Hi,

In my Manager test account, I have linked 3 accounts by creating them in the Accounts section. I can see these linked accounts in the Overview section. 

But, I am unable to see them in the Accounts section, and also don't get the list when I hit the following API - $customerService->getCustomers(). This API only returns the Manager test account. I am pretty sure I got the list of linked accounts when I first ran the API. 

Dhanya Sundararaju (AdWords API Team)

unread,
Oct 1, 2018, 1:58:13 PM10/1/18
to AdWords API and Google Ads API Forum
Hi,

When you create a test account, it will be in canceled status by default. To see the cancelled accounts from the UI, you will need to adjust the filters in the top left corner. When you run $customerService->getCustomers(), the API will only return the accounts on which you are a user. In your case, if you are not a user on the client accounts, only the MCC accounts will be returned. To get the account hierarchy, you will need to use the ManagedCustomerService.get().

Regards,
Dhanya, Adwords APi Team
Reply all
Reply to author
Forward
0 new messages