Request Limit Google Ads API

721 views
Skip to first unread message

Marco Frighetto

unread,
May 6, 2019, 1:45:14 PM5/6/19
to AdWords API and Google Ads API Forum
Hi there,
i am experiencing some issues when it comes to pushing Keywords using the Google Ads API. Specifically, I am getting back this error when i am trying to push more then 2 KWs at the same time:

grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.RESOURCE_EXHAUSTED
details = "received trailing metadata size exceeds limit"
debug_error_string = "{"created":"@1557160224.465273999","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1039,"grpc_message":"received trailing metadata size exceeds limit","grpc_status":8}"

Which is the request limit for the Google Ads API? Any idea why am i getting this? What can i do to overcome the issue?

Thk for you help. 
Marco

googleadsapi...@google.com

unread,
May 6, 2019, 5:31:56 PM5/6/19
to AdWords API and Google Ads API Forum
Hello Marco,

You could refer this issue from the grpc repository. Usually when yo face resource_exhausted error, it is recommended to set up short delays between requests or combine more operations in fewer requests. Please let me know if you have any further questions.

Regards,
Sai Teja, Google Ads API Team

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/

Marco Frighetto

unread,
May 7, 2019, 4:59:14 AM5/7/19
to AdWords API and Google Ads API Forum
Thanks Sai for your answer. Probably i didn't include a portion of relevant information to understand what we are trying to achieve here. We want to create multiple keywords in single ad group (we set: STATUS, TYPE, TEXT, ADGROUP_PATH) with GoogleAdsAPI client library foo python but when we post more than 2 operations we receive StatusCode.RESOURCE_EXHAUSTED. 

Do you know why this is happening? 

Thk for your support.

Marco

googleadsapi...@google.com

unread,
May 7, 2019, 11:36:45 AM5/7/19
to ma...@boosterboxdigital.com, AdWords API and Google Ads API Forum
Hello Marco,

Could you also specify how many keywords you are trying to upload for the operation? As the error triggered due to the metadata size limit and it seems the meta data size limits are mentioned at this issue from the grpc repository. Let me know even if you are under the limits and facing the error.


Regards,
Sai Teja, Google Ads API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b07317b7-0ac5-4d0b-82e0-141f482f9b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marco Frighetto

unread,
May 7, 2019, 11:44:33 AM5/7/19
to AdWords API and Google Ads API Forum
Hi Sai,
1 kw for operation and a total of 2 operation in the same post request. Form what we can see, the issue is not about our posting request, but it's sitting with the response message coming from grpc side since there are 2 policy violations errors. Getting more than 2 seems to generate the previous error shared.

What do you think?

Thk again. Marco

googleadsapi...@google.com

unread,
May 7, 2019, 4:34:42 PM5/7/19
to AdWords API and Google Ads API Forum
Hello Marco,

Could you please share the complete error logs containing the request id using the reply privately to the author option to investigate further?

Regards,
Sai Teja, Google Ads API Team
Reply all
Reply to author
Forward
0 new messages