RE: Fwd: SearchGoogleAdsStreamRequest() CANCELLED GC overhead limit exceeded

2022-04-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Siji,

Thanks for reaching out to the Google Ads API Forum.

I can see that you’re encountering error while running Google Ads API reports. 
However, the error “java.lang.OutOfMemoryError: GC overhead limit exceeded ” is 
not API origin. The GC overhead limit exceeded is considered in the VM as a 
subtype of out of memory error and generated after an attempt to allocate 
memory fails. That said, you may check this issue opened with Java client 
library if it can help in your case.

If you persists with the error, I strongly recommend you to reach out to the 
Java client library owner by filing an issue on the issue tracker on the Issue 
tab of your client library on github, so that they can provide guidance on it.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2ZKFXY: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/rVOAx0R9WQB200aUS370aETGivV9GVhAld2A%40sfdc.net.


Fwd: SearchGoogleAdsStreamRequest() CANCELLED GC overhead limit exceeded

2022-04-05 Thread 'Siji Sara Jacob' via Google Ads API and AdWords API Forum
Sending it to the support team for faster response

Thank You,

*Siji Sara Jacob **(she, her, hers)*

Staff Software Engineer - Marketing Automation

s...@indeed.com





-- Forwarded message -
From: Siji Sara Jacob 
Date: Tue, Apr 5, 2022 at 5:06 PM
Subject: SearchGoogleAdsStreamRequest() CANCELLED GC overhead limit exceeded
To: Google Ads API and AdWords API Forum 


Hi Team,
My team is migrating from old Adwords API to Google Ads API. While
migrating the reports, we have been facing an issue with fetching keyword
data for large accounts (containing >2M keywords)
We are using SearchGoogleAdsStreamRequest() as suggested in the examples
 and
are  querying keyword data for 1 campaign at a time.
We notice that the request keeps failing with *java.lang.OutOfMemoryError:
GC overhead limit exceeded* from API side (see attachment for full stack
trace). We have confirmed that it is not an issue at the client side. Our
queries are of the form -

SELECT 
campaign.id,ad_group.id,ad_group_criterion.criterion_id,campaign.name,ad_group_criterion.keyword.text,ad_group_criterion.keyword.match_type,ad_group_criterion.effective_cpc_bid_micros,ad_group_criterion.final_urls
FROM keyword_view WHERE ad_group.status = 'ENABLED' AND
ad_group_criterion.status = 'ENABLED' AND segments.date DURING YESTERDAY
AND ad_group_criterion.negative = FALSE AND campaign.id IN ()
PARAMETERS omit_unselected_resource_names=true

Could you please help resolve this issue. From the documentation provided,
it does not seem to be the case of exceeding API limits. Kindly let us know
if any further information is required to investigate this issue.

*Note that some logs specific to our tool have been redacted due to privacy
concerns while posting in an open forum. It can be shared privately to the
team investigating the issue*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CALNdEdDdNXoerj2H8W-9x6TvShgAuN-kVdmH-0VWzEwnYADSnw%40mail.gmail.com.
[ 2022-04-05 16:28:37,196 INFO  ] [GoogleAdsReportDownloaderImpl] API exception 
occurred while fetching data for clientId=2171459886
[ 2022-04-05 16:28:37,196 INFO  ] [GoogleAdsReportDownloaderImpl] 
Exception=io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.
com.indeed.shadow.shadow_googleads_api.com.google.api.gax.rpc.CancelledException:
 io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.
at 
com.indeed.shadow.shadow_googleads_api.com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:43)
at 
com.indeed.shadow.shadow_googleads_api.com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)
at 
com.indeed.shadow.shadow_googleads_api.com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)
at 
com.indeed.shadow.shadow_googleads_api.com.google.api.gax.grpc.ExceptionResponseObserver.onErrorImpl(ExceptionResponseObserver.java:82)
at 
com.indeed.shadow.shadow_googleads_api.com.google.api.gax.rpc.StateCheckingResponseObserver.onError(StateCheckingResponseObserver.java:86)
at 
com.indeed.shadow.shadow_googleads_api.com.google.api.gax.grpc.GrpcDirectStreamController$ResponseObserverAdapter.onClose(GrpcDirectStreamController.java:149)
at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
at 
com.google.ads.googleads.lib.logging.LoggingInterceptor$1$1.onClose(LoggingInterceptor.java:113)
at 
io.grpc.internal.DelayedClientCall$DelayedListener$3.run(DelayedClientCall.java:463)
at 
io.grpc.internal.DelayedClientCall$DelayedListener.delayOrExecute(DelayedClientCall.java:427)
at 
io.grpc.internal.DelayedClientCall$DelayedListener.onClose(DelayedClientCall.java:460)
at 
io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:557)
at i