VMAX
 
 
 
 
Show Sidebar

VMAX SDK for Android

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.

Step 1: Download the SDK

Before proceeding, ensure that you have downloaded the latest version of the VMAX SDK for Android from here.

Step 2: Set up the SDK

Extract all the files from the SDK archive into a separate folder. It consists of the following folders and files:

Eclipse/AndroidVMAXSDKLibrary/

Use this VMAX SDK if you use Eclipse as the environment for development. It consists of all- library(libs), resources(res), assets, and refer manifest entries here following the doc. Copy all the contents of these folder to your application project.

Android Studio/AndroidVMAXSDKAar/

This is the VMAX SDK for Android Studio packaged as an AAR Project.

Android Studio/AndroidVMAXSampleApp/

Use this sample app in Android Studio for reference. This Sample app have test mode enabled. Make sure you add your application id in app build.gradle before running this app. Make sure your adspots are properly configured on dashboard so as to get ads in this sample app.

Mediation Files/

This folder contains libraries (jar/aar/library projects) and adapters(java files with package) of the supported mediation partners. You can integrate these in Android Studio as well as Eclipse projects whichever format you find appropriate(jar/aar/library project)  for your project.

Native Helper Files/

This folder contains files related to Native Ads. One can opt for any Native format, these helper files helps in rendering of Native Ads in Infeed/Content-Stream/Icon/Tile. Respective folder have respective resource(res) and jar. Make sure not to miss any resource of that particular native format.

Frames/

This folder contains the VMAX sample frames that support the Ad frame layout.

Step 3: If you’re using Android Studio

  1. Copy the file vmax.aar from Android Studio/AndroidVMAXSDKAar/ to your application libs folder.
  2. Import the reference app from AndroidVmaxSampleApp in Android Studio.
  3. [Highly recommended] Add the Google Play Services Library.

Alternatively, if you’re using Eclipse, follow the steps mentioned here.

Step 4: ProGuard Configuration

If you are running ProGuard on your Android application, ensure that the following directive is added in your ProGuard configuration file:

Step 5: Shrinking App Size using resource shrinker

Once you’re done with these preliminary steps, read more on how to request ads.