Empty response when querying Google Ads API v3

30 views
Skip to first unread message

Michael Birk

unread,
Jul 22, 2020, 3:59:22 PM7/22/20
to AdWords API and Google Ads API Forum
Hi,

I have an app that works fine when querying our own Ads account, but returns an empty response when querying a customer's account.  We have a valid refresh token and are able to successfully query the CustomerService and see the metadata about the customer's account, but the GoogleAdsService doesn't return any data.

Any thoughts?  Do we need to add the customer's account to a whitelist or something?

thanks,
mcb

Google Ads API Forum Advisor Prod

unread,
Jul 23, 2020, 1:02:21 PM7/23/20
to mic...@baotris.com, adwor...@googlegroups.com
Hi Michael,

Thank you for reaching out. For CustomerService, the resulting list of customers is based on the OAuth credentials used in the request. The request returns a list of all accounts that the credentials are able to act upon directly. If your customer's account is returning a blank response, it is possible that the credentials used in the request are not an admin for any of the accounts in your customer's account or it does not manage any accounts. 

Can you clarify what data you expect to retrieve from GoogleAdsService? Additionally, can you please provide the complete detailed logs of the request and response in which you are experiencing the issue so that I can take a closer look? Please provide these details via the "Reply privately to author" option to ensure your sensitive data is protected. 

Thanks,
Danica, Google Ads API Team

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