ensureAdsSdkInitialized

suspend fun ensureAdsSdkInitialized(disableNativeValidator: Boolean = false): Boolean(source)

Initializes the SDK once and publishes readiness. Ad loaders must wait for true; loading before initialization throws. The SDK initializes on IO, as Google asks for it to run off the main thread; the preference reads need no switch, since DataStore is main-safe.

Return

false when the host provides no valid AdMob application ID.