AmazonAds is a native extension that enables theÂ use of Amazon Mobile Ads. The API is simple to use and understand, featuring two methods to display ads. The first one displays a bannerÂ usingÂ a uniqueÂ string name to identify the ad. The string name used to display the ad can also be used to remove it in the future. The other method displaysÂ interstitials ads, which are not identified. A developer can display (or remove) only oneÂ interstitial at a time.
AmazonAds.setAppKey("AMAZON_APP_ID",false); AmazonAds.showAdView('banner_name'); AmazonAds.removeAdView('banner_name'); AmazonAds.showInterstitial(); AmazonAds.removeInterstitial();