Excel Add-In for Twitter Ads

Build 24.0.9060

MaxRateLimitDelay

The maximum amount of time to delay (in seconds) before submitting a request if it would be rate limited.

Data Type

string

Default Value

"60"

Remarks

Twitter uses different rate limits for total number of requests for different endpoints. These can range from as few as 15 per 15 minute window, up to 900 for a 15 minute window. Internally the CData Excel Add-In for Twitter Ads keeps track of if a given request would result in a rate limit exception. If a rate limit would occur, the CData Excel Add-In for Twitter Ads can internally delay submitting a request until the limit is up. However, this could also result in waiting for several minutes before requesting data, which is also not a good behavior.

The MaxRateLimitDelay gives control over the maximum amount of time the CData Excel Add-In for Twitter Ads will wait once it detects a rate limit would occur. Since the amount of time the CData Excel Add-In for Twitter Ads needs to wait can be calculated, if it would have to wait longer than the MaxRateLimitDelay, it will simply error immediately when it sees the time would take too long.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060