Skip to end of metadata
Go to start of metadata

JavaScript is disabled on your browser.
com.appnexus.opensdk

Interface NativeAdRequestListener



  • public interface NativeAdRequestListener
    Define the events relating the status of a NativeAdRequest
    • Method Detail

      • onAdLoaded

        void onAdLoaded(NativeAdResponse response)
        Called when a native ad has successfully loaded. If the developer requested shouldLoadIcon true or shouldLoadImage true. This method will be called only after the image resources have been retrieved. If errors are encountered in resource retrieval this method will still be called. Errors encountered in resource retrieval will result in the getImage() or getIcon() returning null respectively.
        Parameters:
        response - a NativeAdResponse
      • onAdFailed

        void onAdFailed(ResultCode errorcode)
        Called when a native ad call has failed
        Parameters:
        errorcode - reason the call failed. Error codes TBD

  • No labels