Measure installsΒΆ

The Android Advertiser SDK contains a submodule that allows you to measure installs generated by CPI (Cost per Install) campaigns.

Once you’ve done that you’ll need to call the handleInstall method, preferably in the first activity presented to the user.

import tv.superawesome.sdk.advertiser.SAVerifyInstall;

SAVerifyInstall.getInstance().handleInstall(this, new SAVerifyInstall.Interface() {
  @Override
  public void saDidCountAnInstall(boolean success) {
    // handle callback
  }
});

The method will only run once per application lifecycle, usually when the application is first installed on a user’s phone.

It also contains a simple callback with a boolean success parameter that lets you know if AwesomeAds considered this install as having been generated by a CPI campaign.

Warning

Please be aware that not implementing this method at all will mean you won’t be able to measure installs coming from AwesomeAds CPI campaigns, at all.