AskAds

Developers

Rate limits

How much you can send, how to tell when you are close, and what to do when you get a 429.

The limits

LimitDefaultCounted per
Requests a minute120key (or OAuth app connection)
Of those, writes (POST, PATCH, DELETE) a minute30key. Pausing and lowering a budget never count here.
Requests a minute, all keys together480team
Ad platform requests running at the same time4team. Pausing and lowering a budget never wait for this.

In plain words: each key may make 30 writes (POST, PATCH, DELETE) a minute, inside its 120 requests a minute (pausing and lowering a budget never count as writes). When a key goes over, the answer is 429 with Retry-After. The SDK and the CLI wait and try again by themselves, with the same Idempotency-Key, so you do not need to do anything.

On top of these, the same limits as the AI tools apply:

  • A fair daily share of each ad platform. Some platforms give AskAds one allowance for all customers. Each team gets its fair share of it per day, so one busy team never uses up another's. When it is used up the answer is 429 platform_daily_share_used until the next day (UTC).
  • The daily pause allowance: 200 pauses and budget cuts a team, 100 a person, per day. API, CLI, automations and AI tools share it. Over it: 429 pause_allowance_used.
  • The ad platform itself may ask us to slow down: 429 platform_rate_limited.

Limits are counted separately for every team. One team sending a flood never slows another team down.

Headers on every answer

HeaderMeaning
RateLimit-LimitRequests this key may make per minute.
RateLimit-RemainingRequests left in this minute.
RateLimit-ResetSeconds until the minute starts again.
Retry-AfterOn a 429: seconds to wait before trying again.

When you get a 429

  1. Wait for Retry-After seconds (or RateLimit-Reset if there is none).
  2. Send the request again with the same Idempotency-Key, so a write never runs twice.
  3. Back off further if it happens again: double the wait each time, up to a minute.

The SDK and the CLI do all of this by themselves.

CodeMeans
too_many_requestsOver the per-minute limit of the key or the team.
too_many_at_onceToo many platform requests of your team are running at the same moment. Retry in a second.

Pausing and lowering a budget are never held back by the write limit or by the "at once" limit, so you can always stop spend.

This page as Markdown, for AI agents: /developers/rate-limits.md