I have an application displaying fully interstitial ads, but they are just images, and the form of generation on video In, I think AdMob will also be beneficial to allow video ads to be displayed.
Do I have to add additional permissions for it? Or should I do differently?
Here's how I show ads;
interstitial = new interstitialAd (main.this); // Insert ad unit id interstitial SetADUITID ("ca-app-pub -... 442"); // activity_main.xml // Advertise banner ad for ad adRequest = Add new test tool to show new AdRequest.Builder () // test ads. AddTestDevice (AdRequest.DEVICE_ID_EMULATOR) .addTestDevice ("") .build (); // // AdView.loadAd(adRequest) load ads in banner ads; // Runable load ads in intermediate ads = new Runnabal () {@ Override Public Wide Run () {interstitial.loadAd (adRequest); }}; RunOnUiThread (R); // An interstitial ad listener interstitial. Set AdListener (New AdListener) (Adloaded on Public Zero) (// Call DisplayInstyle () function DisplayInstitionist ();}});
and just these two permissions;
& lt; use-permission Android: name = "android.permission.INTERNET" /> & lt; use-permission android: name = "android.permission.ACCESS_NETWORK_STATE" / & gt;
Ads look good but they are only image ads, I want videos!
Video There is no way to show program ads in the project / app, however, in the ADAB console, you can specify the interstitial ad type ( Text, Image, Video
) that should be served within your app
Ad type must be enabled by default for text, image, video
ad type if you want to restrict video ads to text ads and text ads However, note that the lower filling rate will increase, resulting in decrease in revenue. Also keep in mind that while using your AP, users will fail to load video ads when they have a poor / slow Internet connection.
Just go to earn -> select the app -> click on interstitial ad unit - disable / enable ad type
Comments
Post a Comment