Keywords report new API low performance

57 views
Skip to first unread message

thom...@jvweb.fr

unread,
Apr 12, 2019, 9:28:06 PM4/12/19
to AdWords API and Google Ads API Forum
Hi, 

I'm wondering why new API performance are so bad about getting reports, I am missing something ? 

With the Adwords API, getting 140 000 keywords stats take about 30 seconds using the csv report download.

WIth GoogleAds API, it's take more than 2 minutes. 

That's is the way I make my call : 

            var service = Client.GetService(Services.V1.GoogleAdsService);

            string query =
              $@"SELECT
                 campaign.id,
                 campaign.name,
                 ad_group.id,
                 ad_group.name,
                 ad_group_criterion.criterion_id,
                 ad_group_criterion.keyword.text,
                 ad_group_criterion.keyword.match_type,
                 metrics.impressions,
                 metrics.clicks,
                 metrics.cost_micros,
                 metrics.video_quartile_25_rate
            FROM
                keyword_view
            Where segments.date DURING LAST_7_DAYS";

            var responses = service.Search(customerId.ToString(), query);
            List<GoogleAdsRow> results = new List<GoogleAdsRow>();

            foreach (var item in responses)
            {
                results.Add(item);
            }

googleadsapi...@google.com

unread,
Apr 15, 2019, 1:25:17 AM4/15/19
to AdWords API and Google Ads API Forum
Hi,

Thank you for reaching out. Upon checking, you are not missing something regarding the code for your report. In Google Ads API, the time to generate the report will depend on the volume of the resource you are trying to fetch. Take note that AdWords API and Google Ads API uses different libraries for their reporting. Moving forward, I would suggest that you implement reporting based on this sample code and see if there would be any difference with the performance of Google Ads API.

Let me know if this helps.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/12beea9e-c6fe-4b3a-a03f-6c80fab98074%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages