I want to implement InMobi ads in my android application.
I have download the InMobi SDK and trying to show ads using sample app.
I have a valid APP_ID generated from InMobi server and following is the code i have( i am using sample app from INMobi SDK)
<com.inmobi.androidsdk.IMAdView
android:id="@+id/imAdview"
android:layout_width="320dp"
android:layout_height="50dp"
adSize="15"
appId="14c9c64f24004a18ab1c6c718aa07eac" />
And in Activity:
mIMAdInterstitial = new IMAdInterstitial(this,"4028cba631d63df10131e1d3818b00cc");
but whenever i run the app i get one of the following error-
1)NETWORK_ERROR
2)INVALID_APP_ID
I do have Internet connection on my device.
Am i missing something?