public interface CustomEventNativeListener
An object returned for a MoPub native ad.
public void /onNativeAdFailed(NativeErrorCode errorCode) /+2.2
Description: Notifies the MoPub SDK that the native ad has failed to load.
errorCode: Contains an error constant with an error message explaining the failure.
public void /onNativeAdLoaded(BaseNativeAd nativeAd) /+2.2
Description: Notifies the MoPub SDK that the native ad has successfully loaded.
nativeAd: The ad that was successfully loaded.
How can we make this article better for you?
Last updated August 28, 2021
TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.
© 2021 MoPub (a division of Twitter, Inc.)