TDV Adapter for Twitter Ads

Build 22.0.8462

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 TwitterAds Adapter keeps track of if a given request would result in a rate limit exception. If a rate limit would occur, the TwitterAds Adapter 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 TwitterAds Adapter will wait once it detects a rate limit would occur. Since the amount of time the TwitterAds Adapter 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) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462