How to get cost from each account for this month without using Account Performance Report in Python

24 views
Skip to first unread message

Eugene Reznichenko

unread,
Jun 27, 2018, 5:12:15 AM6/27/18
to AdWords API and Google Ads API Forum
I am able to pull cost data for each of my managed accounts for this month using Account Performance Report in Python. However, this process is very slow. Is there a method I can use instead of pulling a report for each account? I'm using v201802.

Milind Sankeshware (AdWords API Team)

unread,
Jun 27, 2018, 11:11:42 AM6/27/18
to AdWords API and Google Ads API Forum
Hi Eugene,

I am afraid that we don't have any direct method to get cost of all accounts under the manager account. However, you could use parallel_report_download.py to get cost data via Account Performance Report for all accounts directly under a manager account in multiple parallel threads. This example extract the data for AdGroup Performance Report, you can modify it according to Account Performance Report. The report download request may time out on extremely large data sets. For more information please refer to this guide.  I hope this will help you. Let me know if you have any further questions. 

Thanks,
Milind, AdWords API Team.

Eugene Reznichenko

unread,
Jun 28, 2018, 12:14:03 PM6/28/18
to AdWords API and Google Ads API Forum
Actually, my script works much faster when I run it after 11 pm EST
Reply all
Reply to author
Forward
0 new messages