AdId

Class for identifying ad units. Setting an AdId will allow you to track individual ads. For example, you can distinguish between an interstitial you show on app exit (using AdId.EXIT), and an interstitial you show in app (using, for example in a game, AdId.LEVEL_COMPLETE).

Methods

If you don’t want to use one of the built-in AdId constants, you can generate custom ad ids on the AppBrain developer dashboard (click on one of your apps, then Ad Settings). Pass the ad id string from the developer dashboard to this method to create your AdId instance. For example when showing an interstitial: