Table of Contents

Method InitializeAsync

Namespace
Titipi.MocaLib2

InitializeAsync(AdMobModuleConfig)

Initializes the Google Mobile Ads SDK and wires ad callbacks. Call RequestBannerAd(), RequestInterstitialAd(), and RequestRewardedAd() after this completes to begin loading each format. Honors the Remote Config kill-switch: when Enabled is false, returns false without starting the SDK — callers never need to check it. Also gathers UMP consent first (see RequestUmpConsentAsync()) and returns false without starting the SDK when the user's answer does not permit requesting ads.

public static Awaitable<bool> InitializeAsync(AdMobModuleConfig config)

Parameters

config AdMobModuleConfig

Returns

Awaitable<bool>