How to implement Airpush in your application?

Image

We decided to try airpush for our next application. We see plenty of airpush review. Some goods and some are bad. We want to see if it's really works. We will give a review how it's really works for our company.



We install airpush SDK 5.0. we got API key.

Image

We also got Package name:

Get Install Code
The AirPush Android SDK includes:
NOTE: Your AppID is required to integrate the SDK with your application. You can retrieve the AppID from the Application Dashboard or Edit Application section.
README: Get started with AirPush Android ads!
AirPush Jar file: Required for publishing ads. Follow the documentation in javadoc/index.html and drop the AirPush Jar file into your project.
Sample Projects: Examples of AirPush Android ads shown in the Airtest application.

Image

We read the readme.txt files.

Welcome to the Airpush SDK for Android !

Included in this distribution is everything you need to integrate Airpush Push Notification ads into your Android applications. Get started by reading the Airpush SDK installation instruction guide at http://beta.airpush.com/r/sdk_download.php?download=2.

An app code project "AirTest 5.0" is included to demonstrate ad integration. We highly encourage our publishers to use "test mode" of sdk post installation to verify that ads are received correctly before the app is published on Android Market.In case, if you face any issues integrating SDK with your app please feel free to drop an email to publishersupport@airpush.com and our support team will get them resolved asap.

Image

We received this AirTest folder. The documentation is quite good.

The Airpush Android SDK is a java-based library that allows publishers to monetize
their app(s) with unique, innovative ad units. Developers use this SDK to monetize
their entire install base, earn above industry average CPM’s, and provide richer ad
experiences. This document covers installation instructions, available ad units and
their features, optimization, and best practices. It is written for developers with the
assumption they are familiar with Android development.

Image

A Push Notification Ad is an ad sent to the notification tray of
Android devices, rather than inside of an app. This ad unit can
monetize an app’s entire install base- both active and inactive.
CPM’s range from $2-$10. You, the developer, control how
often ads are sent to your users from within your account.

Best Practice: To maximize revenue set the frequency to 2 ads/day with a 0 day
ad delay.

Image

Icon Ads

This innovative ad unit is a shortcut placed on the home screen
of Android devices which links to valuable content such as free
apps and deals. This ad unit can also monetize an app’s entire
install base- both active and inactive. CPM’s range from $5 -
$12.

Best Practice: To maximize revenue set the frequency to the maximum setting of
5 icons per user per month.

Image

SmartWall, our new full-page ad format, dynamically optimizes
between multiple sub-formats including AppWall, OfferWall,
Dialog Ads, Video Ads, Rich Media, and More. Benefits of this
ad unit include $6+ CPM’s and a rich user experience. You
control when this ad unit is triggered within your app session.
Best Practice: To maximize revenue set from SmartWall, set
the ad unit to launch upon app launch, app exit and in natural breaks in the app
session (ie in between game levels).

Installation instruction

Airpush Android SDK contains the code necessary to install Airpush ads in your
application. This PDF will guide you through a simple XML implementation.
Note: You will need to replace all instances of <appid>, <package name> and
<apikey> with your actual application id, package name and api key which is obtain-
able from Airpush portal.
Installation Instructions

Image

Adding the JAR

Copy the Airpush JAR file (AirpushSDK.jar) in your project’s root directory.
For Eclipse projects:
• Right-click on your project from the Package Explorer tab and select “Properties”
• Select “Java Build Path” from the left panel
• Select “Libraries” tab from the main window
• Click on “Add JARs...”
• Select the JAR that’s been copied to the project’s root directory
• Click “OK” to add the SDK to your Android project
• Select “Order and Export” tab from the main window and check the SDK
Step 1 - Adding the JAR

Image

We import the airtest 5.0 and got Unable to resolve target 'android-10' error.

Image

So we change the project target properties to target=android-15. Error gone.

Image

Image

In the emulator mode, we see the privacy policy & Advertising terms.

Image

Hello Wold, without Ads.

Image

So we change the AndroidManifest.xml apikey to airpush.

We have a problem with no ads available.

Interstitial JSON: {"status":150,"message":"Ads not available","count":0,"url":""}

Image

Finally, the dashboard detect our apps.

Image

We rename the Airtest pakage name to the names given. And we saw some statistic in the dashboard. It is a bit confusing compare to admobs.

Finally, we saw some ads in the test application.

No comments:

Post a Comment