i have followed this tutorial
https://www.b4x.com/android/forum/t...b-ads-integrated-with-firebase-backend.67710/
but after the initialization i got error code 0 and no ads shows what could be the problem ?
here is the code
what could be my mistake ?
https://www.b4x.com/android/forum/t...b-ads-integrated-with-firebase-backend.67710/
but after the initialization i got error code 0 and no ads shows what could be the problem ?
here is the code
B4X:
Private IAd As InterstitialAd
IAd.Initialize("iad", "ca-app-pub-1926540584968182/9190797497")
IAd.LoadAd
Sub iad_ReceiveAd
Log("Received")
End Sub
Sub iad_FailedToReceiveAd (ErrorCode As String)
Log("not Received - " &"Error Code: "&ErrorCode)
IAd.LoadAd
End Sub
Sub iad_AdClosed
IAd.LoadAd 'prepare a new ad
End Sub
what could be my mistake ?