The Advertiser API is rate limited similarly to REST API v1.1, as documented here: REST API Rate Limiting in v1.1. Unlike REST API v1.1, there is no programmatic index of the limits per endpoint. The endpoint rate limits and reset windows are communicated via HTTP response headers. All rate limiting in the Ads API utilizes OAuth 1.0A.
User Level and Ad Account Level Limits
There are two types of rate limits: user token level and ad account level. A subset of endpoints are enabled to use ad account level rate limiting. A user token is the OAuth access token you use to authenticate and call the Ads API. Each user token can have access to one or more ad accounts.
Developers should utilize the ad account level rate limit when it is returned in response headers and only utilize user level limit when the ad account limit is not found.
User level rate limits are expressed via these headers: x-rate-limit-limit, x-rate-limit-remaining and x-rate-limit-reset
For endpoints with ad account rate limiting enabled, the rate limits are expressed via these headers: x-account-rate-limit-limit, x-account-rate-limit-remaining and x-account-rate-limit-reset.
The ad account level rate limits are provided only for GET endpoints to enable applications to synchronize entity data (such as campaign or line item objects) from a single user token accessing multiple ad accounts. Write actions are not guaranteed to use the same ad account level rate limits.
For ad account level rate limited endpoints, the user level rate limit is set at a high value representing a global quota for your entire application. When available the ad account level rate limit should take precedence in controlling your request volume.
1) Save a timestamp in your database with the last synced timestamp, and when requesting data where applicable request data with sort_by=updated_at-desc option to enable you to stop your syncing process after reaching data older than your last synced timestamp. This will avoid syncing the same data redundantly.
2) Request multiple entities in a single request: Some endpoints allow you to specify a comma-separated list of values, to retrieve multiple pieces of similar data. This can reduce the overall number of calls you make and thus leverage rate limit more efficiently.
3) Request maximum “count” in your requests: Some endpoints such as GET accounts/:account_id/targeting_criteria are strongly recommended to call with maximum count value to return 1000 objects instead of the default of 200.
See the Analytics Rate Limiting Guide for more information about analytics endpoint rate limits.
Is it possible to increase rate limits for a particular ad account or our application?
We generally cannot raise rate limits and they are set to support the largest of ad accounts. Please implement the Best Practices listed in this document as a first step, and if rate limits are still impacting your ability to scale or achieve business objectives please reach out to your Twitter Ads API contacts with complete details about the use case and requests involved.
Scopes for this doc
- Category: all endpoints that fall into the given category are rate limited from a single allocated limit per window.
- Endpoint: each endpoint has its own distinct allocated limit per window.
Ads API Rate Limits
|Scope by Endpoint or Category
|Rate Limit per 1-minute window
|Writes (POST, PUT, DELETE)
|Scope by Endpoint or Category
|Rate Limit per 15-minute window
Core Entity Reads (Line Items, Campaigns, etc)
Other Account Reads (Other GET endpoints with :account_id)
Endpoint (Ad Account Level)
Endpoint (Partial Ad Account Level)
|Targeting Criteria (besides below)
|Targeting Criteria (tv_markets, tv_shows)
|Global Reads (GET endpoints without :account_id)