Admob Interstitial Ad showing black with new Ad un

2019-07-09 04:01发布

问题:

i have created one app and i am using admob Interstitial Ads. As i have created new Interstitial Ad unit ID for that app but ad is showing black with close button, but if i use my old applications Ad unit ID ads will show up. I dont know why this issue is happening? Thanks.

回答1:

For a newly created ad unit it may take some time before getting live ads. Add your device as a test device and check with test ads. They should render fine.

AdRequest request = new AdRequest.Builder()
    .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)        // All emulators
    .addTestDevice("AC98C820A50B4AD8A2106EDE96FB87D4")  // An example device ID
    .build();


回答2:

This happened to me (the cross didn't even appear) and I have the Internet permission missing in the Manifest:

  <uses-permission android:name="android.permission.INTERNET" />

I think there are a lot of reasons why this happens.