Welcome to The Apps Kit SDK documentation! The Apps Kit SDK is a comprehensive toolkit designed to empower developers it provides the easy management tools and resources you need to enhance your app's functionality, user experience, and monetization potential.
This documentation will help you integrate The Apps Kit SDK to effortlessly control your ad management strategies and increase your ad match and show rates helping maximize your revenue potential.
Get started by signing up on The Apps Kit SDK portal. Create your account using your email or sign up instantly with your Google account.
After signing up, you'll land on the main page displaying details of your apps. The page starts empty, prompting you to add your app by clicking the create button.
Next, easily add your app by entering its name, package name, and other basic information.
After adding the app, proceed to set up additional information. We'll guide you through each step. Choose the Dev or Live environment from the toggle displayed at the top right corner.
Choose a mediation network for various ad formats from the dropdown menu. Once selected, proceed to the next step.
After selecting the mediation network, proceed to add ad units for the chosen ad formats. Only ad formats corresponding to the selected ad mediation network will be displayed.
Next, add placeholders where ads should appear, which can be easily modified or replaced as needed.
Next, map ad units to specific placements to ensure ads are shown in the designated areas of the app.
For Interstitial ads, choose from different display options such as Click-based, Click and time-based, Time-based, or Scene-Based. For each option, select additional parameters that best suit the app for optimal performance.
Activate the Mobile Measurement Partner (MMP) of choice from the available options.
In the settings,provide additional information according to the preferences to maximize the app's potential.
Once all the parameters are added, press configuration and follow the following steps.
Once you've configured your app settings and preferences in the portal, refer to our integration guides and documentation for step-by-step instructions on integrating The Apps Kit SDK into your app.
In the Profile Section, input basic details and upload a profile photo.
In the Billing History section, past payments can be easily viewed and reviewed. The details include:
This organized layout allows for quick access and tracking of all payment-related information.
After configuring your app settings and preferences in the portal, refer to our integration guides and documentation for step-by-step instructions on integrating The Apps Kit SDK into your app.
Once you've configured your app settings and preferences in the portal, refer to our integration guides and documentation for step-by-step instructions on integrating The Apps Kit SDK into your app.
You can download the AppsKitSDK_v:x.x.xx.aar from the Apps Kit SDK portal. Create a libs folder in your app directory and add the SDK AAR file to this folder. Next, add the following dependencies to your app-level build.gradle file.
Add the following dependencies in your app level build.gradle file
Add the following Gradle repository declaration in your settings.gradle file
Add the following code in your manifest:
If you have enabled minify in your app-level build.gradle file, add the following ProGuard rules to your app-level proguard-rules.pro file.
The Apps Kit SDK needs to be initialized, using the following code:
Extend your Application class with AppsKitSDKApplication as
Extend your all activities from AppsKitSDKBaseActivity as
In the first activity of your app (Splash Activity), request user consent using the Google UMP SDK. Update the user consent status in the AppsKit SDK based on the received consent. Use the following code to update the user consent status in the AppsKit SDK:
If you set this to false, the Apps Kit SDK will not serve ads. Once you have updated the user consent status in the Apps Kit SDK, you can start requesting ads.
Note: User consent is initially set to false by default, and the Apps Kit SDK will not serve ads until consent is explicitly updated.
Note: It is mandatory to initialize your in you application onCreate method.
To show interstitial ads, you need to load them beforehand. Use the following method to load an interstitial ad:
Next, add the following lines of code to display an interstitial ad in your app:
If you have selected any interstitial ad display options from the Apps Kit SDK portal, call the following method to request an interstitial ad.
You have two types of callbacks in rewarded ads depending on what method you are using to call ads:
To show rewarded ads, you need to load them beforehand. Use the following method to load a rewarded ad:
Next, add the following lines of code to display a rewarded ad in your app:
AppsKitSDK automatically handles the App Open Ad at the application level when you extend your Application class from AppsKitSDKApplication
In your first Activity, such as the Splash Activity, call this code in your onCreate method:
To display a banner ad, add the following lines of code:
If you use SkeletonScreen, you need to add the following dependency in your Gradle file:
To display a native ad, add the following lines of code:
Note: If you are using custom layouts for Native Ads, ensure that the IDs of your views match the following:
The Apps Kit SDK manages ad availability based on the "Remove Ads" status. If you want to stop ads after a "Remove Ads" purchase, use the following code:
Note: Once you set the "Remove Ads" status, the SDK will manage ad availability based on the last provided status, unless the app is uninstalled and reinstalled.
When a feature promotion is clicked, a callback is received in AppsKitSDKBaseActivity as follows. You need to navigate the user to the respective screen based on the targetScreen.
If you want to stop or disable specific feature promotions based on certain actions or scenarios, you can disable those feature promotions as follows:
disableFeaturePromotions: The list of targetScreens for which you want to disable feature promotions.
To manage internet connectivity, you can override the following methods in your activity, inherited from AppsKitSDKBaseActivity:
You can also disable internet connectivity using the method below: (By default, internet connectivity is enabled.)
AppsKitSDK makes it easy to send events to Firebase. You can send an event to Firebase using the following code:
To create easy-to-understand and meaningful events, AppsKitSDK provides the following method in AppsKitSDKBaseActivity
Ensure you set the screenNameAndId before using the sendAKSEvent(AppsKitSDKEventType eventType,String name) method to send events in your Activity.
You need to override this method and send screenName and screenId
as a Pair.
Note: If you don’t set the setScreenNameAndId, AKS will not fire events on Firebase.
To keep users engaged, Apps Kit SDK allows you to create notifications from your app. Create a broadcast receiver by extending AppsKitSDKLocalNotificationBroadcastReceiver as shown below:
Then call your scheduleLocalNotifications from you Application class to trigger broadcast receiver when need to fire notification
Apps Kit SDK facilitates enabling auto updates for your app if a new version has been released on the Google Play Store. You need to override the following method:
In your activity, extend from AppsKitSDKBaseActivity, and return true on the screen where you want to display the update screen.
If console logs are enabled from the AppsKitSDK portal, you’ll receive console logs under the key PTB_LOG. You can use these logs to debug any issues.