Android Question NativeExpressAd failed with ErrorCode 0

Discussion in 'Android Questions' started by danijel, Jul 20, 2019.

  1. danijel

    danijel Active Member Licensed User

    I can't display NativeAds. I am using Erel's code

    Sub Globals
    Private adview1 As NativeExpressAd
    End Sub

    Sub Activity_Create(FirstTime As Boolean)
    "Ad""ca-app-pub-126757084444444/44444444"100%x200dip'change the ad unit id
       Activity.AddView(adview1, 00,  100%x200dip)
    End Sub

    Sub Ad_FailedToReceiveAd (ErrorCode As String)
    Log("failed: " & ErrorCode)
    End Sub
    Sub Ad_ReceiveAd
    End Sub
    Sub Ad_AdScreenDismissed
    End Sub
    Sub Activity_Pause (UserClosed As Boolean)
    End Sub

    Sub Activity_Resume
    End Sub
    from here:

    I am only getting failed: 0
    Same thing is with Test Ad Unit ID: ca-app-pub-3940256099942544/2247696110
    provided here:

    I am using real device and regular banner works fine.
    Any suggestions? o_O
  2. asales

    asales Well-Known Member Licensed User

    Erel and danijel like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice