Today my app was approved and appears on the Amazon app store. I have set up a mobile ad account and am testing a new version of the app that should show ads. The app compiles and runs without error, but I see no ads. What do I need to do? I have followed the quickstart example and the code is as follows: thanks in MainActvity within OnCreate I have the code private AdLayout adView; ... AdRegistration.setAppKey("........"); AdRegistration.enableTesting(true); AdRegistration.enableLogging(true); this.adView = new AdLayout(this); LinearLayout layout = (LinearLayout) findViewById(R.id.linearLayoutAds); LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT); layout.addView(this.adView,lp); layout.setVisibility(View.VISIBLE); my layout contains the following /
I didn't include the line to display the ad in the above this.adView.loadAd(new AdTargetingOptions()); // async task to retrieve an ad However, when I do this I get the message Default ad listener called - Ad Failed to Load. Error code: INTERNAL_ERROR, Error Message: Server Message: INVALID_APPID Is this because the approval of mobile ads is still pending for this app?