For monetization purposes, we provide 5 Ad Networks options with the switch ads method, you can choose the ad network you want to display in the application AppConfig/Ads, you can change the ad network anytime you want. The following is a list of ad networks that are supported in this application :
Admob
FAN
Unity Ads
Iron Source
AppLovin
You can switch ad network on the go from Firebase Remote Config ( Optional )
AppConfig.java -> Ads
From this file you can change default ad network, unit id, interval interstitial, and disable or enable ad.
IMPORTANT : All ad network id units are placed in AppConfig.java except admob_app_id and applovin_sdk_key, both ids must be integrated programmatically in android code inside res/value/advertise.xml
/* config for Ad Network */publicstaticclassAds {/* enable disable ads */publicboolean ad_enable =false;/* Ad networks selection, * Available ad networks ADMOB, FAN, UNITY, IRONSOURCE, APPLOVIN */publicAdNetworkType ad_network =AdNetworkType.FAN;publicboolean ad_enable_gdpr =true;/* disable enable ads each page */publicboolean ad_main_banner =true;publicboolean ad_main_interstitial =true;publicboolean ad_listing_details_banner =true;publicboolean ad_news_details_banner =true;publicboolean ad_category_details_banner =true;publicboolean ad_search_banner =true;/* show interstitial after several action, this value for action counter */publicint ad_inters_interval =5;/* ad unit for ADMOB */publicString ad_admob_publisher_id ="pub-3239677920600357";publicString ad_admob_banner_unit_id ="ca-app-pub-3940256099942544/6300978111";publicString ad_admob_interstitial_unit_id ="ca-app-pub-3940256099942544/1033173712";/* ad unit for FAN */publicString ad_fan_banner_unit_id ="IMG_16_9_APP_INSTALL#YOUR_PLACEMENT_ID";publicString ad_fan_interstitial_unit_id ="IMG_16_9_APP_INSTALL#YOUR_PLACEMENT_ID";/* ad unit for IRONSOURCE */publicString ad_ironsource_app_key ="172a53645";publicString ad_ironsource_banner_unit_id ="DefaultBanner";publicString ad_ironsource_interstitial_unit_id ="DefaultInterstitial";/* ad unit for UNITY */publicString ad_unity_game_id ="4845117";publicString ad_unity_banner_unit_id ="Banner_Android";publicString ad_unity_interstitial_unit_id ="Interstitial_Android";/* ad unit for APPLOVIN */publicString ad_applovin_banner_unit_id ="ac0e1dddcf0e7584";publicString ad_applovin_interstitial_unit_id ="cc553585d3e313f6";}