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
<https://developers.google.com/google-ads/api/docs/reporting/example#code_samples> 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/12/19 22:10:47 [email protected] wrote:

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);
            }

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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
<https://groups.google.com/d/msgid/adwords-api/12beea9e-c6fe-4b3a-a03f-6c80fab98074%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/180g250000000000g6gt10002ddnaox6kmj4dpk68o30c1g68r32c9k%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Keyword... thomas . m
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to