3-2. Interstitial Ads
It is an ad format that covers the entire screen.
Create an instance of the interstitial ad.
private OAMInterstitial interstitial;
@Override
protected void onCreate(Bundle savedInstanceState) {
...
interstitial = new OAMInterstitial( this );
}Set the placement ID for the interstitial ad
interstitial.setPlacementId( PLACEMENT_ID );Request the interstitial ad
interstitial.load();Display the interstitial ad
Specify the activity for displaying the interstitial ad
Check whether the interstitial ad has been loaded.
Set the event listener for the interstitial ad.
ONE AdMax SDK Error CodesCustom options for interstitial ads.
Sample code for interstitial ads.
Last updated