![]() |
Mobile Ads SDK Team |
![]() |
Mobile Ads SDK Team |
Hi,
Thank you for your response.
You're correct that nothing will happen if you request ads without initializing the SDK first. Since you didn't initialize the SDK, this will only affect how your ads will show, as per our documentation (https://developers.google.com/admob/android/quick-start#initialize_the_mobile_ads_sdk), before loading ads, have your app initialize the Google Mobile Ads SDK by calling MobileAds.initialize() which initializes the SDK and calls back a completion listener once initialization is complete, or after a 30-second timeout. This needs to be done only once, ideally at app launch.
Then, if the user of your app is in European Economic Area (EEA), you still need to obtain consent and set any request-specific flags, such as tagForChildDirectedTreatment or tag_for_under_age_of_consent, or otherwise take action before loading ads, ensure you do so before initializing the Google Mobile Ads SDK.
![]() |
Mobile Ads SDK Team |