Show Sidebar

Wrapper Integration 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.

Wrapper is an easy ad integration tool that seamlessly integrates ad services into apps without affecting the app package.

Minimum System Requirements

  • Windows 7 or above
  • RAM 512MB or above
  • a working internet connection (required to update the Wrapper)

Download the Wrapper

Before proceeding, ensure that you have downloaded the latest version of the Wrapper from here.

Install the Wrapper

The executable file is in an archive and you need to extract it after downloading. Run VMAXWrapper.exe to launch the tool.


Integrating your app with VMAX is a simple four-step process.

Step 1: Choose App(s)

Page 1 (1)


You can add individual Android APK files or point to a folder containing APK files here. Click APK file to add only an application package or Folder containing APK files to point the Wrapper to a folder that contains one or more APK files.

Step 2: Set up Adspot(s)


Page 2 (1)

  1. Toggle to show ads at launch, and/or exit.
  2. Create an adspot in VMAX and enter the adspot id here.
  3. Configure the launch and exit ad settings as per your requirements.
  4. Click Next Step for ad network selection.

Step 3: Select Ad Networks

Page 3 (1)


  1. Select one or more ad networks. Ensure that you have linked these ad networks to your adspots and applied weightages to them. The code related to these mediation partners will be integrated into your package.
  2. Click Next Step to manage permissions and enter some basic details.

Step 4: Finalize


Page 4 (1)

  1. Activate the required permissions.
  2. Sign your app and add version details. Read more on signing apps.
  3. Click Wrap to integrate VMAX and the mediation partners with your app package.


Page 5 (1)

Blocking Ads

You can block ads based on certain flags set in your application. This is useful if you want to hide of display ads on a user’s action. There are two methods: the simple mode uses a predefined flag name and values while the advanced mode allows you to give custom names and flag types.

Simple Mode

If you are using the Simple mode you can directly use the code provide below to enable or disable ads.

Advanced Mode

The simple mode is recommended, but if you want to use your own flags or have different compare types, you need to use the Advanced Block Ads mode. In Advanced mode you can provide your own flag names and use one of the following types to compare: string, int, float, boolean, or float.

You will need to provide the following flags:

  • Preference Name
  • Flag Name
  • Flag Data Type
  • Compare Against

Here is the simple logical flow that the Wrapper will follow:

The Flag Type is required by the Wrapper to know how you would like to compare the flags. You can extend the code provide above for the simple Block Ads scenario to use here. Here is an example:

For the above example we would need to set the Launch Ad flags to:

Preference Name = MyPrefs
Flag Name = StopLaunchAd
Flag Data Type = int
Compare Against = 1