Re: Getting Customer Aggregate Data

2022-06-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Prototype,

Thank you for the reply.

Upon checking the error logs you have provided, This then appears to be more of 
a client library related issue. With this, since you are using python, I would 
recommend that you reach out to the client library owners via this link, to 
clarify what maybe causing this error.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2bDP8o:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8-UTC0REAGJ500RJP2y9UZQvCW2v3VW9SPmA%40sfdc.net.


Re: Getting Customer Aggregate Data

2022-06-30 Thread Prototype.co
Dear API Team,

sorry to bump this old thread, but our question is a direct follow-up to 
this particular thread, and the issue mentioned therein. Because of the 
issue mentioned above, we have no choice but to make a significant 21 
SearchStream requests per client account (because we can only get 
aggregates using "SUMMARY_ROW_ONLY", we need separate requests for 3 date 
intervals, and 5 for the most common campaign types, that is 3×5 requests 
plus 6 requests for other purposes). This amounts to over a thousand 
SearchStream requests in a single run.

Now this would be technically impossible to pull off in a linear fashion, 
waiting for results would take far too long. Therefore, we use threading to 
send all requests at once, and await for the responses. It works, but at 
this volume, we get the following errors:

"""
File "\google\api_core\gapic_v1\method.py", line 154, in __call__
return wrapped_func(*args, **kwargs)raise 
exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.ServiceUnavailable
File "\google\api_core\grpc_helpers.py", line 160, in 
error_remapped_callable:
 raise exceptions.from_grpc_error(exc) from exc
google.api_core.exceptions.503 failed to connect to all addresses
ServiceUnavailable: 503 failed to connect to all addresses
"""

What would be the right way to go about this issue? Note that if there was 
a way to get the above requested data directly, we could save 12 requests 
per client, cutting the request count to less than half the original. 
However, we're also fine with doing thousands of simultaneous SearchStream 
requests, but obviously that doesn't sound optimal.
adsapi a következőt írta (2022. május 27., péntek, 21:04:49 UTC+2):

> Hi Prototype,
>
> Thank you for reaching out to the Google Ads API support team.
>
> If you want to more report, you can apply for standard 
> 
>  
> access. If you are using search/searchstream then you have to make separate 
> queries. Let me know if you have any question.
>
> Thanks,
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bDP8o:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f384f4d1-4b95-47dd-841b-f9002db9a0dfn%40googlegroups.com.


Re: Getting Customer Aggregate Data

2022-05-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Prototype,

Thank you for reaching out to the Google Ads API support team.

If you want to more report, you can apply for standard access. If you are using 
search/searchstream then you have to make separate queries. Let me know if you 
have any question.

Thanks,

Nirmita
Google Ads API Team
ref:_00D1U1174p._5004Q2bDP8o:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1N42l0RCK2BI00f-1bnt9-SeKK9Y5UJNrkhg%40sfdc.net.


Re: Getting Customer Aggregate Data

2022-05-26 Thread Prototype.co
Hi,

Thank you for your answer. Yes, I confirm that I want to get metrics 
aggregated on customer level, per campaign types.

So far, the only working solution we found was to set the 
summary_row_setting of SearchGoogleAdsStreamRequest to "SUMMARY_ROW_ONLY" 
and run the query on the campaign resource. However, this way we need one 
query each for every item in the enum AdvertisingChannelType. As you can 
see, this is far from ideal, as we end up with 11 queries only for this 
dataset per client. Considering we have other queries to run as well, and 
many clients to run queries for, this adds up the request count very fast.

Do you happen to know of a better solution?

adsapi a következőt írta (2022. május 26., csütörtök, 17:02:45 UTC+2):

> Hi, 
>
> Thank you for raising this concern to the Google Ads API Forum.
>
> With regard to your concern, could you please confirm if you mean that you 
> want to get the metrics aggregated per campaign types. Unfortunately, there 
> is no direct way to get this information that you are looking for. However, 
> the workaround here is to create multiple reports using the campaign 
> report . 
> Then, for each report the campaign.advertising_channel_type 
> 
>  is 
> filtered by a specific enum corresponding to a specific campaign type. 
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bDP8o:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cac8e843-eb14-460a-b31c-df2cc8be2164n%40googlegroups.com.


RE: Getting Customer Aggregate Data

2022-05-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for raising this concern to the Google Ads API Forum.

With regard to your concern, could you please confirm if you mean that you want 
to get the metrics aggregated per campaign types. Unfortunately, there is no 
direct way to get this information that you are looking for. However, the 
workaround here is to create multiple reports using the campaign report. Then, 
for each report the campaign.advertising_channel_type is filtered by a specific 
enum corresponding to a specific campaign type.

Best regards,

Jinky
Google Ads API Team
ref:_00D1U1174p._5004Q2bDP8o:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/GT5Ia0RCHWG000PyiHVYxpR-uPoHeLAjTWSw%40sfdc.net.