- Hierarchy For Package com.appnexus.opensdk
- AdListener
- AdSize
- AdType
- AdView
- AdView.GENDER
- ANClickThroughAction
- ANGDPRSettings
- AppEventListener
- BannerAdView
- BannerAdView.AdAlignment
- InterstitialAdView
- MediatedBannerAdView
- MediatedInterstitialAdView
- MediatedNativeAd
- NativeAdEventListener
- NativeAdRequest
- NativeAdRequestListener
- NativeAdResponse
- NativeAdResponse.MainMedia
- NativeAdResponse.Network
- NativeAdResponse.Rating
- NativeAdSDK
- ResultCode
- SDKSettings
- TargetingParameters
-
Interface Summary Interface Description AdListener Implement this interface and pass it to yourBannerAdView
andInterstitialAdView
objects to receive events on the status of the ad.AppEventListener Implement this interface and pass it to yourBannerAdView
andInterstitialAdView
objects to receive app events from the ad.MediatedBannerAdView This is the interface a mediation adaptor must implement for requesting banner ads.MediatedInterstitialAdView This interface must be implemented by third-party SDKs whose interstitial views will be mediated by the AppNexus SDK.MediatedNativeAd This is the interface a mediation adaptor must implement for requesting native ads.NativeAdEventListener Define the events that an ad may fire.NativeAdRequestListener Define the events relating the status of a NativeAdRequestNativeAdResponse -
Class Summary Class Description AdSize A convenience class which holds a width and height in integers.AdView The parent class ofInterstitialAdView
andBannerAdView
.ANGDPRSettings Global GDPR Settings class.BannerAdView This view is added to an existing layout in order to display banner ads.InterstitialAdView This class controls the loading and display of interstitial ads.NativeAdRequest Define the attributes used for requesting a native ad.NativeAdResponse.MainMedia NativeAdResponse.Rating NativeAdSDK Application view Interactions with the Native SDKSDKSettings Global static functions that apply to all SDK views and calls.TargetingParameters An object of this type is sent to the third-party SDK'sMediatedAdView
object. -
Enum Summary Enum Description AdType AdType Enum directly maps to ad_type in UT V2 ResponseAdView.GENDER The user's gender.ANClickThroughAction BannerAdView.AdAlignment NativeAdResponse.Network ResultCode This enum contains the result codes sent to theonAdRequestFailed
method inAdListener
, except forSUCCESS
.
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.