TapGage – ShiVa Engine


Nav Gupta: “Tapgage is a mobile interstitial ad network, which helps you to monetize your apps. Established in 2011, Tapgage has become a leader in mobile interstitial advertising. Creating unique value for mobile Developers, Publishers and Advertisers through a unique targeting and optimization technology designed to deliver the best ROI on interstitial ads.”
Note for developers: You cannot setup TapGage without an Android Store URL Link.

tapgage.com Setup

– Sign up to http://www.tapgage.com
– Set up your payment option via paypal
– Click on Monetization > Add Application, select Android for application type
– For URL, use the following -> https://play.google.com/store/apps/details?id=com.company.appname
– Download the Tapgage Android SDK http://www.tapgage.net/wiki/index.php/Android_SDK

Eclipse Steps

– Build an Android/Eclipse project with the ShiVa Authoring Tool, and open it
– Create a libs folder in your project if it does not already exist
– Unzip the SDK for tapgage, copy the TapgageDeveloperLibrary.jar file to the libs folder
– Copy the close_button.png file to your res/drawable folder
– Right click on the libs folder > Build Path > Configure Build Path
– Click on Libraries > Add Jar, find the TapgageDeveloperLibrary.jar file in your libs folder > OK
– Click on Order and Export to make sure the new library is checked off


– Open AndroidManifest.xml and go down to approx. line 23. Add the following permissions to your manifest file:

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

– Go to line 19 and add the following activity:

    <activity android:name="com.tapgage.publisherlibrary.activity.InterstitialActivity"
        android:label="Tapgage Advertisement"

– Save your manifest file

Main Java File

– Open your main java file (src->com.yourcompany.yourapp->YourApp.java)
– Add the following import (approx. line 87):

import com.tapgage.publisherlibrary.TapgageConnector;

– Obtain your app ID (e.g. e33fcb8ba98210df6468ad143ab2ad2f) and slot ID (e.g. 2683) provided by TapGage
– Go down to line 440 in onStart after the super.onStart and add the following:

TapgageConnector tapgage = new TapgageConnector("your-app-ID", "your-slot-ID");

– Use a transparent png file as splash screen, otherwise it will cover up your app.
– Compile and test

Need more answers?

  • slackBanner