Home Blog Portfolio Contact Powered by Create your own unique website with customizable templates. Home Blog Portfolio Contact.
- Tapjoy – Mobile Advertising AND APP MONETIZATION THAT Works. We make it easy for advertisers to connect with exclusive audiences in the world’s most popular mobile games and apps.
- You wont believe how much rewards I got from this!!! In this video I'll teach you on how can you get a lot of gems in castle clash using tapjoy.
1. Dashboard Integration Guide
Casino roulette game free download. The Tapjoy Dashboard has a built-in Integration Guide that will walk you through the steps of a Tapjoy integration. You can use this Getting Started Guide document as a reference if you prefer or you can go directly to the Integration Guide for your most recent app.
2. SDK Integration
A. Maven (recommended)
Maven allows you to integrate Tapjoy by adding a few lines to your applications build.gradle file.To use Tapjoy simply add it to your build.gradle file:
B. Add App Permissions and Activities
The following permissions are needed:
INTERNET
ACCESS_NETWORK_STATE
ACCESS_WIFI_STATE
(optional)
To use Tapjoy’s full functionality for the current SDK version, add these activities to the AndroidManifest.xml file in the Application block:
You will also need to add the same configChanges to your App’s Manifest activity:
As part of your Google Play Services integration, you will have to add the following:
C. Proguard
IMPORTANT: If you’re Publishing and using Proguard add these lines to your configuration file:
At this point, it’s a good idea to compile and run your application to ensure that everything in your app is still working. Since we haven’t actually done anything to your application’s code, there should be no errors or changes in how your application functions.
3. Connect to Tapjoy
Tapjoy Free Gems Games
The next step is to add the Tapjoy connect code to your application. This key bit of code 'turns on' the Tapjoy SDK in your application.
The Tapjoy connect call is extremely important, as none of Tapjoy’s products or functionality will work if it is not implemented correctly.
To implement the Tapjoy connect call, you will need your Tapjoy SDK Key for the application you are integrating. To find this, navigate to your application in the Tapjoy dashboard, and click the 'Settings' button on the top navigation bar. Navigate to 'App Settings' and you will find the SDK Key at the bottom of the page.
Now it's time to write some code. Import Tapjoy in to your Activity:
1. Dashboard Integration Guide
The Tapjoy Dashboard has a built-in Integration Guide that will walk you through the steps of a Tapjoy integration. You can use this Getting Started Guide document as a reference if you prefer or you can go directly to the Integration Guide for your most recent app.
2. SDK Integration
The first step in integrating with your app is to download the Unity SDK itself.
The Tapjoy Unity Plugin zip contains a Unity package file for easy importing, and the raw files for those who prefer to drag-n-drop files for their Tapjoy upgrade. To import the
TapjoyUnityPlugin_vVERSION.unitypackage
:- Open your Unity project
- Assets > Import Package > Custom Package
- Point to the
TapjoyUnityPlugin_vVERSION.unitypackage
file - Review the list of import files checking for any conflicts
- Press the 'Import' button to accept the files
NB: Starting with version 11.10.1, The Tapjoy Unity Package no longer includes Google Play Services. If you need to add it to your project you can copy it from {unity-sdk}/Assets/Plugins/Android/google-play-services_lib/ to Assets/Plugins/Android in your Unity project. If you think your application already includes Google Play Services please ensure this includes
com.google.android.gms.play-services-ads
as this is the part of Play Services that Tapjoy uses.A. Updating on Unity 5.4 or higher:
If you are updating your integration and you are using Unity 5.4 or higher, you will see a 'fix' button that allows you to correct an error involving the Google Play Services library being marked for inclusion in iOS builds.
Please click the 'Fix' button to make sure Google Play Services is only included in Android builds. For versions of Unity earlier than 5.4, you will have to manually ensure that google-play-services_lib is set to be included only with Android builds. Note that n****ew integrations do not need this fix and will not see this button.
B. Add App Permissions and Activities (for Android)
The following permissions are needed:
INTERNET
ACCESS_NETWORK_STATE
ACCESS_WIFI_STATE
(optional)
To use Tapjoy’s full functionality for the current SDK version, add these activities to the
AndroidManifest.xml
file in the Application block:As part of your Google Play Services integration, you will have to add the following:
3. Connect to Tapjoy
You can start configuing Tapjoy in the Tapjoy Window. Go to
Window > Tapjoy
to open Tapjoy Window.In Tapjoy Window, you can configure following:
- Set the SDK Key for Android and iOS
- Set the FCM sender ID for Android push notification
- Add the Store name for android market(Google, Amazon, and etc.)
- Enabling or disabling use of Advertising ID, Persistent ID, and IDFA
- Disable Advertising Id: This checkbox has the same effect as the DISABLE_ADVERTISING_ID_CHECK connect flag in Android. By default, Tapjoy’s Android SDK checks for the existence of the Google Advertising Identifier and will fail to initialize if it does not find it. By checking this box, you can disable this check so that the Tapjoy SDK initializes even if there is no Google Advertising Identifier present. This is useful when Google Play Services is not present in the app, such as when you are making a build for release in a non-Google Play app store.
- Disable Persistent Ids: This checkbox has the same effect as the DISABLE_PERSISTENT_IDS connect flag in Android. Tapjoy SDK sends persistent identifiers (such as MAC address and Android Identifier) to Tapjoy servers to be used as fallback advertising identifier for the cases where advertising identifiers are not available (an option suggested in the Android Developer Documentation here (Section: Targeting devices without an advertising ID)). If this flag is set, persistent identifiers are sent to Tapjoy servers for advertiser tracking purposes only if the Advertising Identifier is unavailable within the SDK.
- There is no checkbox equivalent to the DISABLE_ANDROID_ID_AS_ANALYTICS_ID connect flag. (If this flag is set, the ID that Tapjoy uses for analytics purposes is not a copy of the Android ID, but instead a randomly generated string of characters. Releasing a build that changes the setting of this flag from the previous version may result in some of your existing users being seen as new users by Tapjoy’s analytics tools.) If you wish to set this flag, you will have to use the Tapjoy Unity manual connect and add the DISABLE_ANDROID_ID_AS_ANALYTICS_ID flag.
- Enabling or disabling debug mode (including console logging). Be sure this is disabled for all release builds.
You also can check the status of your integration, including GCMReceiver Setting and Install Referrer Receiver Setting.
For the Tapjoy SDK to work it requires a TapjoyUnity GameObject with an attached TapjoyComponent – in the editor window there will be a 'Fix' button that will automatically add and set up this GameObject for you. Add the Tapjoy GameObject only to the first scene that appears first in your game.
Once you have finished configuing Tapjoy you can build and run your application.
In the Tapjoy Dashboard, if you click on the 'Analytics' from the top navigation bar and then 'Real-time' tab in the navigation bar on the left, you should see some activity from your application moments after you run it.
Congratulations! You now have Tapjoy working in your application.
A. Manual Connect
The Unity SDK allows you to control your connection step through code. By default the SDK will handle connection for you. To gain manual control, first uncheck the 'Auto-Connect' option in the Tapjoy Settings Window (Window > Tapjoy).
Once that option is unchecked the SDK will no longer automatically handle the connection for you. You will need to handle the connection with your code, this behavior is just like in the Native SDKs.
When your application first starts up, you must call
Connect
to make the SDK connect to the Tapjoy server. There are two versions of the Connect function. The first form of Connect will just take the SDK key as a string. If your application is multi-platform you will need to provide the correct SDK key for each platform.Tapjoy Free Gems App
The other version of Connect takes a second parameter, a Dictionary of string/object values. This dictionary is your connectFlags, and they behave the same as in the Native SDKs.
Before you can perform other actions with the SDK (such as loading ads), the SDK connection must complete. There are two event delegates that are triggered by connection events – OnConnectSuccess and OnConnectFailure. You should declare delegate functions to listen for the connection events. Once onConnectSuccess has fired you can begin using the other SDK functions.
Should the SDK fail to connect, you can re-attempt the Connection by calling Connect() with no parameters. This will make the SDK re-try it’s connection using the SDK key that it last attempted to connect with.
B. Callbacks
Tapjoy Free Gems Game
Now that you have the SDK running, it’s time to take a moment to code for best practices. Before the Tapjoy SDK can request ads or send tracking data, it needs to successfully connect to our servers. The SDK exposes a delegate function
OnConnectSuccess
that will fire once the SDK has successfully connected. You should wait until the SDK has successfully connected before you attempt to use other functions such as requesting ads or tracking data.Tapjoy Free Gems Online
You can also check the boolean
Tapjoy.isConnected
to check SDK connection status.