We value your privacy
We use cookies to enhance your browsing experience, serve personalised ads or content, and analyse our traffic. By clicking "Accept All", you consent to our use of cookies.
We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.
The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ...
Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.
No cookies to display.
Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.
No cookies to display.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.
No cookies to display.
Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.
No cookies to display.
Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.
No cookies to display.
In-App Ads In-App Billing Analytics And Attribution Consent Management (GDPR) Remote Config Google Play Games Services Rate Us PopUp
It’s a game-changer, making implementation easy, saving you valuable time, and cutting down costs!
Proven in production since 2021
Say goodbye to integration headaches!
Focus on what you do best— Creating amazing games!
using Plankton;
//Initialize
var provider = Ad.Provider.Admob; // or Ad.Provider.AppLovin
Ad.Initialize(provider, BANNER_UNIT_ID, provider, INTERSTITIAL_UNIT_ID, provider, REWARDED_UNIT_ID);
// Show Banner
Ad.Banner = true;
// Show Interstitial
Ad.ShowInterstitial(new Ad.Place(Ad.Type.Interstitial, "inter_placement"), () => Debug.Log("Ad closed."));
// Show Rewarded
Ad.ShowRewarded(new Ad.Place(Ad.Type.Rewarded, "rewarded_placement"), rewardEarned => Debug.Log($"Ad closed."));
using Plankton;
// Initialize
Billing.Initialize(succeed => Debug.Log($"GooglePlay Billing initialization result:{succeed}"));
// Get List of Purchases
Billing.GetPurchases((succeed, purchaseList) => { /* Process purchase list */ });
// Get Product Details
var productIds = new string[] {"product_sku_1", "product_sku_2"};
Billing.GetSkuDetails((succeed, productDetailList) => { /* Process product details */ }, productIds);
// Make Purchase
Billing.Purchase("product_sku", "", "", (status, token) =>
{
Debug.Log($"Purchase result:{status}, purchase token:{token}");
if (status == Billing.Status.PurchaseStatus.Purchased)
{
// Give product to player and consume/acknowledge the product
Billing.Consume(token, (succeed, token) => {} ); // or call Billing.Acknowledge()
}
});
using Plankton;
using static Plankton.GeneralAnalytics;
// Initialize
GeneralAnalytics.Initialize();
// Set User Property
var providers = Provider.Firebase | Provider.Yandex;
GeneralAnalytics.SetUserProperty(providers, "property_key", "property_value");
// Send Event
var eventProviders = Provider.Firebase | Provider.Appsflyer | Provider.Yandex;
var parameters = new Dictionary<string, string>() {
{ "param_1", "value_1"},
{ "param_2", "value_2"},
{ "param_3", "value_3"},
};
GeneralAnalytics.LogEvent(eventProviders, "event_name", parameters);
using Plankton;
// Update user consent info
GoogleUmp.RequestConsentInfoUpdate((succeed, error) => Debug.Log($"Is successful:{succeed}, Error:{error}"));
// Show consent form if required
GoogleUmp.LoadAndShowConsentFormIfRequired((succeed, error) => Debug.Log($"Is successful:{succeed}, Error:{error}"));
// Check if ads can be shown
bool canRequestAds = GoogleUmp.CanRequestAds();
using Plankton;
// *** Firebase Remote Config ***
// Fetch whole remote config
GeneralAnalytics.RemoteConfig.Fetch(json => Debug.Log($"Fetch Successfull! configs:{json}"), () => Debug.Log("Fetch Failed!"));
// Get a specific value for a given key
var configValue = GeneralAnalytics.RemoteConfig.Get("config_key", "default_value");
// *** GameAnalytics Remote Config ***
// No need to manually fetch
var isReady = GameAnalytics.IsRemoteConfigsReady();
if (isReady){
// Get a specific value for a given key
var value = GameAnalytics.GetRemoteConfigsValueAsString("config_key", "default_value");
}
using Plankton;
// Sign-In to google account
PlayServices.SignIn(succeed => Debug.Log($"Play Services signin result:{succeed}"));
// Save player data
PlayServices.Save("Data to be saved", succeed => Debug.Log($"Save result:{succeed}"));
// Load player data
PlayServices.Load(data => Debug.Log($"Load result:{data}"));
using Plankton;
// Show Google's rate us pop-up
Utils.ShowRateUs(succeed => Debug.Log($"Rate us popup display result:{succeed}"));
Input your search keywords and press Enter.