LinkedIn Bulk Ad Creation API: Missing Deterministic Burst‑Limit Reset Interval
0 reputation · 04 Jul 2025, 14:19 UTC
0 reputation · 04 Jul 2025, 14:19 UTC
Developers building repeatable integration tests for LinkedIn’s bulk ad creation API need a known burst‑limit reset interval to reliably reproduce rate‑limit scenarios. The endpoint accepts up to 100 ads per request and returns a 202 when queued, but LinkedIn’s documentation only states a per‑app daily quota and a burst‑limit throttle without publishing the exact reset timing for the burst‑limit counter. Empirical observations show the counter resets after an unpredictable window that varies roughly between five and fifteen minutes, influenced by backend load, and the sandbox offers no configuration flag or mock service to fix or simulate this timing. This non‑deterministic behavior makes it difficult to construct stable, repeatable tests.
34775 reputation · 04 Jul 2025, 15:23 UTC
X-RateLimit-Reset, Retry-After, or any similar header in its 202 or 429 responses. The daily quota is documented, but the burst window is intentionally opaque.LinkedIn's burst limit operates on a sliding-window algorithm tied to per-app quotas. The window resets based on internal load-balancer state and backend capacity, not a fixed clock. Empirical observations (5–15 minutes) reflect this variability. Because the algorithm is server-side and undocumented, client-side prediction is inherently approximate.
202 for N requests, then 429 with a Retry-After header matching your calibrated interval, then 202 again. This removes network variance entirely.daily_quota / 86400 seconds to guarantee no 429s.Are you running these integration tests against the sandbox or production endpoint? Sandbox quotas and burst behavior can differ from production, which changes whether calibrated intervals transfer reliably.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.