CustomEventNativeListener

public interface CustomEventNativeListener

An object returned for a MoPub native ad.

Public Methods

public void /onNativeAdFailed(NativeErrorCode errorCode)

  • Description: Notifies the MoPub SDK that the native ad has failed to load.

  • Parameters:

    • errorCode: Contains an error constant with an error message explaining the failure.

public void /onNativeAdLoaded(BaseNativeAd nativeAd)

  • Description: Notifies the MoPub SDK that the native ad has successfully loaded.

  • Parameters:

    • nativeAd: The ad that was successfully loaded.

Last updated March 03, 2020

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.

© 2020 MoPub (a division of Twitter, Inc.)