Show Sidebar

Flurry Integration using Android SDK

Sorry, this entry is only available in English. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

Current Flurry Version: 9.0.0

Supported Ad Formats: The VMAX SDK supports banner, native, rewarded video and interstitial ads from Flurry.

You will need

  1. an active Flurry account.
  2. the email address you use to sign in to your Flurry account.
  3. the password you use to sign in to your Flurry account.
  4. the apiAccessCode, apiKey, Ad Space Name and AdSpaceId from the Flurry Dashboard.

In Flurry

Sign in to Flurry and open your Flurry Dashboard.

Obtain your programmatic access token

1) On your Flurry Dashboard, go to the Admin page

2) Then go to Users section and click on “programmatic users” option

flurry-admin

3) Do Authenticate on subsequent page and create the programmatic account.

4) It will generate programmatic access token

flurry-programmatic-access-token

 

 

This code can be regenerated and changes to this code should be reported to the VMAX .

 

Obtain your App API Key & Ad Unit ID

  1. On your Flurry Dashboard, choose the Monetization tab to open it.
  2. Select the desired application
  3. Under Manage, click on App. The apiKey is mentioned next to the API Key label and Ad Unit ID as shown below.

flurry-api-key

 

 

Note:

  1. For Banner Ads, change the default 30-second refresh on the ad space setup page to off in the dev portal when integrating the Android SDK or Unity plugin for the first time.
  2. For Interstitial Ads, it is recommended to use the cacheAd() and showAd() APIs.

Further Integration

Step 1: Create a package com.vmax.android.ads.mediation.partners in your app and add the files FlurryInterstitial.java and FlurryBanner.java from the SDK folder Mediation Files\Mediation Adapters\com\vmax\android\ads\mediation\partners to it.
Note: In case you have selected Dynamic Banner/Dynamic Billboard as an ad format in the VMAX Dashboard make sure that you include adapter files for both Banner/Billboard and Native

Step 2: Add android support v4 in your app and flurryAnalytics_9.0.0.jar, and flurryAds_9.0.0.jar from the SDK folder Mediation Files\Mediation Libraries to your app’s libs folder.
Add following entries in your app’s build.gradle file

Step 3: Add the accompanying code inside the <application> tag in AndroidManifest.xml

Step 4: Add the following permissions to AndroidManifest.xml

Step 5: [Optional] If you are running ProGuard on your Android application, ensure that the following directive is added in your ProGuard configuration file proguard-rules.pro:

What would you like to do next?