Android SDK Integration Guides

Android Interstitial Ads:


Interstitial ads are full screen ads that cover the interface of their host app. They are generally displayed at usual transformation points in the flow of an app, such as among activities or during the pause between levels in a game. When an app displays an interstitial, the user has the option to either tap on the ad and continue to its destination, or close it and come back to the app. The immediate call to action and more substantial size combine to make interstitials a particularly effective form of mobile advertisement.


3

 1

 

 

 

Android Banner Ads:


Mobile phones have limited screen size, so mindful planning for your advertisement positioning is primarily essential. Close nearness of banner ads to other components within an app is one of the biggest reasons of random clicks. To avoid such unintentional clicks, banner ads should not be placed next to interactive buttons, such as a “next” button or a custom app menu bar, next to interactive content like a text chat box or an image in an image gallery, or on a game play screen where users are regularly connecting with the app.


42


 

 

 

 

 

 

 

Android Offer-Wall Ads:


Offer walls effectively create a win-win promotion scenario for users because they can either select to invest money or time digesting you promotion and be rewarded for it, or simply neglect your ad and continue with their experience. Offer walls are mainly effective and convenient because the advertising comes perfect to the user, typically in the form of a landing page, and they don’t have to go out of their way to click a banner or separate advertisement.

6

 

 

 

 

 

 

 

 

 

ADAttract Account & ID


Register for an ADAttract affiliate Account

You must first create an account with ADAttract to be able to use this ad unit features. If you do not have an ADAttract account, copy the following URL to the browser: http://www.adattract.com and sign up.

Unique affiliate ID

Unique affiliate ID is useful for tracking of each app installed by your users. Unique affiliate id can be found in your account at: My account > Account details > under company details > affiliate ID.

Get a Unique API V3 Key

Unique API V3 is useful to get data from your account for advertising in your Android application. Unique API V3 can be found in your account at: Tools > APIs > API V3 > Request API key.

You will be provided by API V3 key which will be useful in SDK.

 

Android Integration


1.0 SDK Integration into the Editor

 1.1 For Android Studio

1. Create the New Project and do the Compile + Run Process.

2.Your Project directory > Create the ‘libs’ folder

1.1.2

3.  Download our SDK, which will be in .jar format. (CLICK HERE TO DOWNLOAD)

4. Paste that jar file into ‘libs’ folder.

1.1.1

5. Open the app/build.gradle file and look for dependencies section near the bottom.

1.1.3

build.gradle (excerpt)