Search (query) sub-manager account level resources through root manager account

36 views
Skip to first unread message

Vamshi TG

unread,
Feb 28, 2022, 6:40:11 AM2/28/22
to Google Ads API and AdWords API Forum
Hi,

We are using customers.googleAds.search method for querying the offline_user_data_job resource. From the root manager account level we would like to know the status of the jobs that are created under the sub-manager accounts. Something like the below query:

URL:
https://googleads.googleapis.com/v8/customers/<:root-manager-account-id>/googleAds:search

Query:
SELECT offline_user_data_job.id, offline_user_data_job.status, offline_user_data_job.resource_name FROM offline_user_data_job WHERE customer.id IN (6758320454, 3758320451)

But looks like we cannot query the jobs information that were created at the sub manager account level. We will be creating many jobs at the sub manager account level and we would like to get this information in a single query. Otherwise, we would have to make requests per sub-account manager and we are worried that we would be exceeding the api rate limits.

Is there a way we could query the jobs information that are created in the sub manager accounts?

Thanks,
Vamshi

Google Ads API Forum Advisor

unread,
Mar 1, 2022, 12:57:12 AM3/1/22
to vams...@sojern.com, adwor...@googlegroups.com
Hi Vamshi,

Thank you for posting your concern.

I am afraid that the offline_user_data_job report could only get the jobs that were created from the account that you've set in the HTTP header of your API request, not included the jobs created on the sub-accounts that under the top / root manager. With this, you will need to made multiple requests to your sub-accounts.

However, you can utilize this implementation for retrieving accounts under the root account and process those accounts to the offline_user_data_job report. This workaround speed up the process on making multiple requests to your sub-accounts.

Let me know if you have further questions.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


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