New Google Ads API much slower than Google Adwords API in downloading same report

294 views
Skip to first unread message

Cong Kong

unread,
Jun 6, 2019, 5:35:51 PM6/6/19
to AdWords API and Google Ads API Forum
Hi Google Ads team,

We recently noticed a performance issue when we switch to use Google Ads API to download the adgroup structure report. It seems like Google Ads API is much slower than the Adwords API (v201809). To validate our observation, I have written 2 CLI programs in Java to log the time to download the adgroup structure data of 2 accounts with different APIs. We logged the time from the request being fired until we finish iterating over all the rows (do nothing in the loop) in the downloaded content.

The test results are as follows:

Google Adwords API

Run #1
Time to download and iterate by lines for account 5259617269 is 00:04 (165554 rows)
Time to download and iterate by lines for account 1497931133 is 00:08 (268578 rows)

Run #2
Time to download and iterate by lines for account 5259617269 is 00:03
Time to download and iterate by lines for account 1497931133 is 00:03

Run #3
Time to download and iterate by lines for account 5259617269 is 00:03
Time to download and iterate by lines for account 1497931133 is 00:07

---------

Google Ads API

Run #1
Time to download and iterate by lines for account 5259617269 is 01:26
Time to download and iterate by lines for account 1497931133 is 02:25

Run #2
Time to download and iterate by lines for account 5259617269 is 01:25
Time to download and iterate by lines for account 1497931133 is 02:35

Run #3
Time to download and iterate by lines for account 5259617269 is 01:27
Time to download and iterate by lines for account 1497931133 is 02:33

As you may find above, time consumed by Google Ads program was much longer than the program using Adwords.

Hope this issue could be brought into the team's attention. We are wondering if there is a better way to download reports with Google ads API or could you let us know if there will be any plan on improving this?

Thanks in advance!
GoogleAdsReportTimesCLI.java
GoogleAdWordsReportTimesCLI.java

Google Ads API Forum Advisor Prod

unread,
Jun 7, 2019, 3:25:25 AM6/7/19
to adwor...@googlegroups.com

Hi,

Thanks for reaching out. I would like to take a closer look at this issue and to do so, could you provide your clientcustomerId, the complete AdWords API report definition and also the GAQL you used for the Google Ads API report?

I asked the above information as I would also try running the reports and replicate the delays. You may send your reply using the Reply privately to author option.

Thanks and regards,
Peter
Google Ads API Team



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