My app id is 12438526.
I use Async requests and receiving rate limit(code=429) at times.
An example of my latest rate limit:
Time of request: 2018-12-11 09:04:42,080(UTC).
Error occurred on LineItem.async_stats_job_result.
Response: raise Error.from_response(response)\nRateLimit: <RateLimit object at 0x7f25f2df9dc0 code=429 details=None>

1 Like

Hi @eladzaa ,

Please check our related documentations:

Ads API returns 3 response headers relate to the rate-limit status. You can implement a retry logic by referencing x-rate-limit-remaining and x-rate-limit-reset headers.

Hi ,
According to the rate-limit documentation, the limit applies to the synchronous analytics and we are using asynchronous. Can you please specify which rate-limit you refer to?

@eladzaa

Account Reads (GET endpoints with :account_id) Endpoint: 2000

That’s the limit. Please inspect x-rate-limit-limit, x-rate-limit-remaining and x-rate-limit-reset response headers as needed. Also, it looks like you’re calling this endpoint far too often, and with just a single job ID for every call. Please consider bringing those IDs (up to 200 IDs) on a single call to reduce this.

job_ids : Scope the response to just the desired jobs by specifying a comma-separated list of identifiers. Up to 200 IDs may be provided.