Hello,

When you call the API in quick succession, you may be rate limited. However, in 
this case, you should get a RESOURCE_TEMPORARILY_EXHAUSTED error; it won't just 
make a single request linger and then return slower. So I'm curious if you have 
code in place that may automatically handle these rate limit errors and you're 
just looking at the total time, or if the API side is actually taking a long 
time to return. Can you provide the request ID for a single request that takes 
longer than you would expect to return?

In general, the best practice is to group like queries together as much as 
possible to avoid the possibility of these rate limits. So if you want to 
select 4 audiences, and then 4 more, and then 4 more, you might as well select 
all 12 at once. This will improve your overall throughput, even if that single 
request does take slightly longer than a request for only 4 would.

Response time can vary based on overall network traffic as well, but that 
shouldn't affect it so much that it goes from less than 1 minute to over 15 
minutes for a similar request.

Let me know if you can get a request ID that is taking longer than you expect 
so I can take a closer look at that specific one.

Regards,
Mike, Google Ads API Team
ref:_00D1U1174p._5004Q2eg4Dr: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/GVAUN000000000000000000000000000000000000000000000RIVE7900hpR9kFJAQfia5mM_QjfuZA%40sfdc.net.
  • De... 'Anurag Sinha' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Anurag Sinha' via Google Ads API and AdWords API Forum
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to