Hello friends today I am going to show you how to add real ads in sketchware app. 

Follow the all steps are given below with images. 

Step:1
Go to your project



Step:2
Drag and drop the adview block

Step:3
Go to the event click on event then click on oncreate for setup like that


Step:4
Now setup block like that click on puzzle button
 Step:5
Go to the components


Setp:6
Click on add component

Step:7
Add interstial


Step:8
Set name for interstitial ad
Warning if you setuping the name for interstitial ad please don set name like "ad"
This name is added in code somewhere choose another name


Step:9
Now just drag and drop the interstitialad create and load like that
And then go to the operator and drag and drop add source code


 Step:10
Now setup this block like that

 Copy paste this code and set this code in addsource diractly

ia = new InterstitialAd(getApplicationContext());
ia.setAdListener(_ia_ad_listener);
ia.setAdUnitId("ca-app-pub-xxxxxxxxxxxxxx/xxxxx");
ia.loadAd(new AdRequest.Builder().build())

Post a Comment

Previous Post Next Post