- Hierarchy For Package com.appnexus.opensdk
Interface Summary Interface Description AdListener AppEventListener MediatedBannerAdViewThis is the interface a mediation adaptor must implement for requesting banner ads. MediatedInterstitialAdViewThis interface must be implemented by third-party SDKs whose interstitial views will be mediated by the AppNexus SDK. MediatedNativeAdThis is the interface a mediation adaptor must implement for requesting native ads. NativeAdEventListenerDefine the events that an ad may fire. NativeAdRequestListenerDefine the events relating the status of a NativeAdRequest NativeAdResponse
Class Summary Class Description AdSizeA convenience class which holds a width and height in integers. AdView ANGDPRSettingsGlobal GDPR Settings class. BannerAdViewThis view is added to an existing layout in order to display banner ads. InterstitialAdViewThis class controls the loading and display of interstitial ads. NativeAdRequestDefine the attributes used for requesting a native ad. NativeAdResponse.MainMedia NativeAdResponse.Rating NativeAdSDKApplication view Interactions with the Native SDK SDKSettingsGlobal static functions that apply to all SDK views and calls. TargetingParametersAn object of this type is sent to the third-party SDK's
Enum Summary Enum Description AdTypeAdType Enum directly maps to ad_type in UT V2 Response AdView.GENDERThe user's gender. ANClickThroughAction BannerAdView.AdAlignment NativeAdResponse.Network ResultCodeThis enum contains the result codes sent to the
AdListener, except for
Package com.appnexus.opensdk Description
The source code is available for download from https://github.com/appnexus
You can find more information about AppNexus at http://www.appnexus.com
To monetize a free app you may choose to include advertising. Where, how, when and why are all up to you. This SDK gives you, the application developer, the ability to show ads. It also gives you complete control over where and when they will appear.
There are two basic types of advertisements: banners and interstitials. Banner ads occupy some part of the screen you choose and within whichever views you choose. Interstitial ads take the whole screen: they are modal, they typically generate larger revenue. For example, they are typically used between game levels, or when the application starts.