Guides
API principles

Quotas

Operations per day by project access level, the short per-account limit, the Data Manager quota and how to test each one.

The daily quota belongs to the OAuth client's Google Cloud project and depends on the access level:

LevelOperations per day
TEST15,000 (test accounts only)
EXPLORER2,880 on production accounts
BASIC15,000
STANDARDUnlimited
  • An operation is one mutate operation or one search page. In Mimicr, listAccessibleCustomers and geoTargetConstants:suggest don't count.
  • The day rolls over at midnight America/Los_Angeles.
  • When exceeded, 429 quotaError: RESOURCE_EXHAUSTED "Too many requests." with the time until the rollover:
json
{
  "error": {
    "code": 429,
    "message": "Resource has been exhausted (e.g. check quota).",
    "status": "RESOURCE_EXHAUSTED",
    "details": [{
      "@type": "type.googleapis.com/google.ads.googleads.v26.errors.GoogleAdsFailure",
      "errors": [{
        "errorCode": { "quotaError": "RESOURCE_EXHAUSTED" },
        "message": "Too many requests.",
        "details": { "quotaErrorDetails": { "rateScope": "DEVELOPER", "rateName": "Number of operations for basic access", "retryDelay": "22816s" } }
      }]
    }]
  }
}

In Mimicr there is also a short limit: more than 100 requests in 10 seconds on the same account give quotaError: RESOURCE_TEMPORARILY_EXHAUSTED with rateScope: ACCOUNT and retryDelay: "10s".

Honor retryDelay before retrying.

Data Manager API

300 requests per minute per project on events:ingest. Above that, 429 RESOURCE_EXHAUSTED with ErrorInfo.reason RATE_LIMIT_EXCEEDED and metadata.quota_limit IngestionMutateRequestsPerMinutePerProject. Each request accepts up to 10 destinations and 10,000 events.

OAuth

No limits in Mimicr.

Testing

To testHow
Daily quota exhaustednpx mimicr action google-ads quota.exhaust; undo with quota.reset
Project with low quotaproject.set_access_level level=EXPLORER
TEST project accessing a production accountproject.set_access_level level=TEST (CLOUD_PROJECT_NOT_APPROVED_FOR_PRODUCTION)
Random 429Chaos with apiErrorStatus: 429 on ads_search or ads_mutate

The day's usage appears in GET https://api.mimicr.dev/v1/google-ads, in the quota field (operations, limit, exhausted).