SdkManaged

data class SdkManaged(val interval: Duration) : BannerRefreshPolicy(source)

Client-side timer reload (app-driven, despite the historical name). Interval must be between 30s and 120s per AdMob policy.

Do not combine this with AdMob-UI auto-refresh on the same ad unit: the SDK already refreshes a visible banner if a refresh rate is configured in the AdMob console, so a client timer on top of that double-refreshes — producing impressions faster than configured and risking AdMob invalid-traffic / refresh-rate enforcement. Use AdServerManaged when the unit is set to auto-refresh in the console; use SdkManaged only when console auto-refresh is off and you want the app to drive the cadence.

Parameters

interval

Refresh interval (30s–120s).

Throws

if interval is outside 30s..120s.

Constructors

Link copied to clipboard
constructor(interval: Duration)

Properties

Link copied to clipboard