Hi,
I’m trying to ingest campaign performance reports (stats) via API routinely. It looks like we’re now getting rate limited 100% of the time. We’ve scaled back our ingests from every hour to every four hours, and reduced the number of concurrent requests, but this doesn’t seem to be working.
I want to make sure I understand the rate limits, other constraints, and other useful features before rebuilding this script.
- If I understand correctly, we can only request stats for 20 campaigns in a single request?
- I don’t see the rate limit explicitly stated for the stats API, is the limit 15 requests per 15 minutes (the default)?
- Can we increase our limit?
- Is there a better way to get campaign performance reports for a single day?
Thanks in advance.
jrsyo
#2
@josephtyler
If I understand correctly, we can only request stats for 20 campaigns in a single request?
Yes. To be clear, it’s 20 entity IDs, not campaign-specific.
I don’t see the rate limit explicitly stated for the stats API, is the limit 15 requests per 15 minutes (the default)?
When you say “stats”, do you mean “Sync” or “Async” endpoint? Please clarify.
Please check “Rate Limiting” section of this documentation page:
Sync: 250 / 15-minute
Async: 100 concurrent job
Can we increase our limit?
No.
Is there a better way to get campaign performance reports for a single day?
We recently introduced the Active Entities API in the v5 release which can be used for optimizing your analytics pipeline to be more efficient. We’re also working on publishing a usage guide for this new API endpoint. Thank you for your patience.
1 Like
This is super helpful. Thank you. It looks like the active entities API may be useful for us.
Just to follow up, we were able to implement a solution based on your help. So thanks again!
1 Like
jrsyo
#5
@josephtyler
Just wanted to let you know that we published the Active Entities usage guide here as I mentioned before:
Best,
Shohei
1 Like