Iklan Native Admob di Sketchware

Resource For Create Admob Native Ad in Sketchware App

This Post Only For Share Resource to Create Admob Native Ads in Sketchware Project

Link Download Layout XML ad_unified


Link Download String XML string values


Link Download Style XML style values


Code Need Add Manual by Java Editor

//you need manual add if you not implement Interstitial ad
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;

//Import Widget RatingBar for Native Ads
import android.widget.RatingBar;

//import Mobile Ads Initialize
import com.google.android.gms.ads.AdLoader;
import com.google.android.gms.ads.MobileAds;

//Must add to import native ad lib
import com.google.android.gms.ads.formats.MediaView;
import com.google.android.gms.ads.formats.NativeAdOptions;
import com.google.android.gms.ads.formats.UnifiedNativeAd;
import com.google.android.gms.ads.formats.UnifiedNativeAdView;
import com.google.android.gms.ads.initialization.InitializationStatus;
import com.google.android.gms.ads.initialization.OnInitializationCompleteListener;

//Variable Unified Native Ad
private  UnifiedNativeAd nativeAd;



Anda mungkin juga suka...

Artikel Populer

Enable Notifications    Ok No thanks