Okay, I think I finally understand.

The documentation is missleading/*wrong* when it comes to limits:

*Ads:* In the Ads Api Access Level and Permissible Use 
<https://developers.google.com/google-ads/api/docs/access-levels> it is 
stated that for Basic access, one has:

   - Daily Request Limit: 15,000 *requests* / day (should be 15,000 
   operations)
   - Daily Get Limit: 1000 requests / day

*Adwords:* In the Adwords Api Access Level and Permissible Use 
<https://developers.google.com/adwords/api/docs/access-levels> is is stated 
that for Basic access, one has:

   - Daily Operational Limit: 10,000 *operations* / day
   - Daily Report Request Limit: 1,000 requests / day

I think that it actually should state *operations* for the Ads Api and not 
*requests* for the Daily Request limit. In the Ads rate sheet 
<https://developers.google.com/google-ads/api/docs/rate-sheet> the 
terminology is actually correct as it says operations instead of requests 
there.

On Wednesday, 10 April 2019 11:22:34 UTC+2, F B wrote:
>
> I now decomposed the request into fewer operations (10 per chunk). So that 
> the response won't be cut off.
>
> After 2 chunks of 10 mutate operations each I get
>
> "google.ads.googleads.v1.errors.googleadsfailure-bin": 
> "\n0\n\u0002X\u0002\u0012*Too many requests. Retry in 12411 seconds.",
>
> *-> Retry in 12411 ~3 hours ???? After 2 requests?*
>
> What am I missing here? Because this way the API is not of any use to me.
>
> Cheers
> Fabian
>
> On Tuesday, 9 April 2019 23:32:35 UTC+2, F B wrote:
>>
>> Hi Bharani,
>>
>> I did all that while trying to troubleshoot:
>>
>>    - bundle a lot of operations (~2500) into a single request 
>>    
>> <https://developers.google.com/google-ads/api/docs/best-practices#batch_operations>
>>    - changed all calls from get to AdService 
>>    
>> <https://developers.google.com/google-ads/api/docs/concepts/changing-objects#inspecting_objects>
>>    - set random sleeps between requests 
>>    
>> <https://developers.google.com/google-ads/api/docs/common-errors#resource_exhausted>
>>
>> Even applied for standard access token. But to no avail. This is really 
>> very hard to debug as I have no idea what rate limit I am actually 
>> exceeding. Feels like I am fishing in the dark here ...
>>
>> Cheers
>> Fabian
>>
>> On Tuesday, 9 April 2019 20:22:42 UTC+2, googleadsapi-forumadvisor wrote:
>>>
>>> Hi Fabian, 
>>>
>>> The QuotaCheckError.RESOURCE_EXHAUSTED 
>>> <https://developers.google.com/google-ads/api/docs/common-errors#resource_exhausted>
>>>  will 
>>> occur if you are sending too many requests in a short period of time. There 
>>> is no scope for this error but rather the server will throw this error once 
>>> it detects that your request has exceeded the system frequency limit. The 
>>> best solution to this is to set up short delays between requests or combine 
>>> more operations in fewer requests. Please refer to the Best practices 
>>> guide <https://developers.google.com/google-ads/api/docs/best-practices> to 
>>> optimize the performance. If you're still facing an issue, could you please 
>>> share the API request and response logs to check this further?
>>>
>>> Thanks,
>>> Bharani, 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 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 
"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+unsubscr...@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/d84e7017-2af8-4e9c-83d0-720747d0443c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Quotas? F B
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... F B
        • ... F B
          • ... F B
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
              • ... F B
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
                • ... F B
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
                • ... F B
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
                • ... F B
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to