Skip to content

Applovin Ads Part-1

Introduction

In this video, we take the first step in integrating Applovin Ads into your mobile game using Mobile Monetization Pro.

You'll learn how to:

  • Set up your Applovin account.

  • Configure Applovin SDK in Unity.

  • Integrate and test applovin ads.

Applovin Ads Initializer

alt text

Fields Info
UseGDPRConsent If enabled, the SDK will wait for GDPR consent before initializing ads.
SdkKey Your AppLovin MAX SDK Key. Required to initialize the SDK.
Android_BannerAdUnitID Banner Ad Unit ID for Android.
Android_InterstitalAdUnitID Interstitial Ad Unit ID for Android.
Android_RewardedAdUnitID Rewarded Ad Unit ID for Android.
IOS_BannerAdUnitID Banner Ad Unit ID for iOS.
IOS_InterstitalAdUnitID Interstitial Ad Unit ID for iOS.
IOS_RewardedAdUnitID Rewarded Ad Unit ID for iOS.
ShowBannerAdsInStart If enabled, banner ads will be shown automatically at the start.
ChooseBannerPosition Position on the screen where the banner ad will be displayed.
BannerBackgroundColor Background color for the banner ad.
EnableTimedInterstitalAds If enabled, interstitial ads will be shown automatically after a timed interval.
InterstitialAdIntervalSeconds Time interval (in seconds) after which an interstitial ad will be shown.
ResetInterstitalAdTimerOnRewardedAd If enabled, the interstitial ad timer will reset after showing a rewarded ad.

Applovin Ads Manager

alt text

Fields Info
ShowBannerAdButton Button that shows the banner ad when clicked.
FunctionInfo.RewardedButton Button that triggers a rewarded ad and invokes a function when the ad is completed.
FunctionInfo.script Script containing the function to invoke after ad completion.
FunctionInfo.scriptName Name of the selected script.
FunctionInfo.functionNames List of function names available in the selected script.
FunctionInfo.selectedFunctionIndex Index of the function selected to be called from the list.
ActionButtonsToInvokeInterstitalAds Buttons that trigger an interstitial ad when clicked.
rewardedButtons Auto-generated list of rewarded buttons associated with functions.