LevelPlay Ads Setup Part-1
Introduction
In this video, you'll learn how to integrate LevelPlay ads into your Unity mobile game. We will cover the following key concepts:
- Setting up LevelPlay: Learn how to create an account and set up your project in LevelPlay.
- Integrating LevelPlay SDK: A step-by-step guide on adding the LevelPlay SDK to your Unity project.
- Ad formats: Understand the different types of ads available (banner ads, interstitials, rewarded videos) and how to implement each one.
- Testing on android and iOS: We will test the game on both Android and iOS device.
By the end of the video, you'll have a fully functional ad setup in your game.
LevelPlay Ads Initializer
Fields | Info |
---|---|
UseGDPRConsent | Flag to indicate whether to use GDPR consent before loading ads. |
AndroidAppKey | The app key for the Android platform. |
AndroidBannerAdUnitID | The ad unit ID for displaying banner ads on Android. |
AndroidInterstitialAdUnitId | The ad unit ID for displaying interstitial ads on Android. |
AndroidRewardedAdUnitId | The ad unit ID for displaying rewarded ads on Android. |
iOSAppKey | The app key for the iOS platform. |
iOSBannerAdUnitID | The ad unit ID for displaying banner ads on iOS. |
iOSInterstitialAdUnitId | The ad unit ID for displaying interstitial ads on iOS. |
iOSRewardedAdUnitId | The ad unit ID for displaying rewarded ads on iOS. |
ShowBannerAdsInStart | Flag to indicate whether to show banner ads at the start of the game. |
EnableTimedInterstitalAds | Flag to indicate whether interstitial ads should be shown after a time interval. |
InterstitialAdIntervalSeconds | The interval duration in seconds to wait before showing a timed interstitial ad. |
ResetInterstitalAdTimerOnRewardedAd | Flag to indicate whether the interstitial ad timer should be reset when a rewarded ad is shown. |
LevelPlay Ads Manager
Fields | Info |
---|---|
ShowBannerAdButton | Button to show banner ad when clicked. |
RewardedButton | Button to show rewarded video when clicked. |
script | Script that contains the functions to be invoked. |
scriptName | Name of the script associated with the functions. |
functionNames | List of function names that can be invoked from the script. |
selectedFunctionIndex | Index of the currently selected function to invoke. |
UIButtonsToShowInterstitalAds | List of buttons that show interstitial ads when clicked. |
rewardedButtons | List of rewarded buttons that trigger rewarded video ads. |