Manager Accounts don't return customer_client results

48 views
Skip to first unread message

Frank Birzle

unread,
Jul 1, 2021, 2:35:49 PM7/1/21
to AdWords API and Google Ads API Forum

Hi all,

with some customer accounts we have the problem that the query to retrieve the customer's accounts is returning zero results, even though the manager account is managing several sub accounts and have a lot of active campaigns / spend.

Currently we're assuming that this is limited to manager accounts. For 'regular' accounts it has never been a problem.

The query we're using to retrieve the the accounts is the following:

SELECT
customer_client.client_customer,
customer_client.descriptive_name,
customer_client.manager,
customer_client.test_account,
customer_client.level,
customer_client.hidden
FROM
customer_client
WHERE customer_client.manager != TRUE
ORDER BY
customer_client.level ASC

We're intentionally excluding the manager accounts in the result set, as there is no campaign data connected to a manager account.

Is this some permission related problem on the customer's side or are we missing something in the retrieval?

We're authenticating the user via OAuth with the scope https://www.googleapis.com/auth/adwords.

Thanks a lot!

Frank

Google Ads API Forum Advisor

unread,
Jul 6, 2021, 5:33:31 AM7/6/21
to fr...@getklar.com, adwor...@googlegroups.com
Hi Frank,

Thank you for reaching out to our API support team.

Could you also provide to us the complete request and response logs, with the request-id, generated on your end so that we can investigate the issue further?

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2JXzQy:ref

Frank Birzle

unread,
Jul 26, 2021, 10:49:51 AM7/26/21
to AdWords API and Google Ads API Forum
We found the issue. The error was caused by our implementation and not by the library itself. Thanks!

Google Ads API Forum Advisor

unread,
Jul 27, 2021, 3:13:37 PM7/27/21
to fr...@getklar.com, adwor...@googlegroups.com
Hi Frank,

Thanks for letting us know. Please reach out to us if you find any other issues.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


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