The Amazon Mobile Ads API now offers more ways to help you monetize your mobile apps and games. Starting today, we will display ads to customers in the United Kingdom, and in the coming months, we will add support for Germany. On top of that, we are launching full screen interstitial ads across the Mobile Ad Network.
Enabling Europe Ad Support in Your Apps
Our expansion into Europe gives developers the opportunity to earn more money from advertising spending in Europe’s top two advertising market segments. The strong eCPM and high quality ads from Amazon will carry over to all supported market segements.
"Amazon always exceeds my expectations. $1.36 eCPM for UK banner ads is unheard of!”* – Steve Boymel, Farlex
To display ads on your app in Europe, here is what to do:
- If your app is new to the Amazon Mobile Ad Network, simply integrate the latest version of the Amazon Mobile Ads API included in the Amazon Mobile App SDK to get started.
- If you have already integrated an older version of the Amazon Mobile Ads API (version 5.1.153 or older), just recompile the latest version of the Amazon Mobile Ads API.
- If you have already integrated a newer version of the Amazon Mobile Ads API (version 5.1.236 or later), just send ad requests to Amazon and start earning!
Announcing Interstitial Ad Format Support for All Supported Market Segments
Interstitial ads use the entire screen to fully engage users. Industry-wide, interstitial ads generate greater revenue than traditional banner ads.
Figure 1- The same Amazon Interstitial Ad in Portrait on Phone and Landscape on a Tablet
We use responsive design when showing interstitial ads to ensure your user experience is not affected. Ads will automatically adjust to the screen size of the device on which your customers are running your app.
We know that every millisecond counts when it comes to the responsiveness of your apps. We preload interstitial ads to minimize the impact on app latency. As the developer, you decide when you want the ad to display (for example, once your user has reached a new level of your game).
“We decided to add interstitial ads from Amazon since the banner ads were outperforming other ad networks. The quality of Amazon’s interstitial ads has exceeded our expectations and our earnings increased 43%!”* - Gordon Edwards
Interstitial ads can be integrated in as little as an hour and offer revenue tracking through the same Amazon developer portal as banner ads. As with banner ads, you can distribute an app that incorporates the Amazon Mobile Ads API through other Android stores as long you distribute it through Amazon.
Integrating Interstitial Ads in Your Apps
To display interstitial ads on your app, integrate the latest version of the Amazon Mobile Ads API. To display ads in Europe, you may not need to do any additional work. Interstitial ads will then automatically be loaded when the app is first run. You should display them at a transition point in your app (for example, game level transition). The user will always have the option to close the ad.
Let’s take a look at an interstitial ad using the sample app from the unzipped Amazon Mobile Ad API folder located in /Android/Ads/samples/InterstitialAdSample. Running the sample app for the first time you will see a button to show an ad and another button to load a new ad.
Figure 2- Interstitial ad sample app from Amazon Mobile App SDK
Clicking on the Load Ad button will preload a new interstitial ad to cache and then when you click on the Show Ad button it will be displayed.
Figure 3- A high quality Interstitial ad running on a Kindle Fire HDX 7" in landscape mode
Users have the option to close the ad by tapping on the X in the top right. Users can get more information by tapping on the “See more” button. If users tap for more information they will see a new browser window open with the url provided by the ad.
Notice that the ad automatically resizes and fits to the portrait sized screen if you rotate the device.
Figure 4- A high quality Interstitial ad running on a Kindle Fire HDX 7" in portrait mode
Just as you would do for banner ads, you use the Amazon Mobile Ads API to set up interstitial ads. You will need to first register for a free Amazon developer account. Once you do, you will receive an app id that you can use to begin coding. During this time you should set up a tax identity inside the developer console. This way you can continue to code and test your app while the verification process is happening. Once inside your Android development environment, you will need to reference the Amazon Mobile Ads jar file from the SDK and update permissions in your Android app manifest. For a full walkthrough of this process check out the Amazon Mobile Ads API quickstart guide here.
You get the same customization capabilities for interstitial ads as you do for banner ads. This includes setting target values when you are requesting an ad for age, gender, relocation or minimum CPM floor price. For a full list of targeting options check out the developer portal here.
Once you have completed these steps you can start to request ads. Your app will retrieve and display an interstitial ad using an instance of InterstitialAd. To load an ad, call the InterstitialAd.loadAd method, which uses an asynchronous task to request an ad from the Amazon Mobile Ad Network. It is important to note that only one ad can be loaded by a given InterstitialAd object at a given time, and only one interstitial ad can be displayed in your app at a given time.
InterstitialAd.loadAd will return false if a request for a new ad is ignored because of another pending ad request. To check if there is an ad loading, you can call the method InterstitialAd.isLoading. To check if there is an ad showing, you can call the method InterstitialAd.isShowing.
Below is an example of a simplified InterstitialAd.loadAd call placed in the onCreate function of an Activity that loads the next level in a game. The interstitial ad is displayed as soon as it is ready, and the next level is started after the user has dismissed the ad.
The Amazon Mobile Ad Network now offers more ways to help you monetize your mobile apps and games. Interstitial ads provide advertisers with a unique opportunity to engage with your audience in a meaningful way, leading to superior monetization. Adding support for interstitial ads in your apps is simple, and most developers are able to integrate them within an hour. Similarly, showing ads to EU users will allow you to earn more money from your apps with minimal work. Apps using earlier versions of the API need only recompile with the new Amazon Mobile Ads API jar file in their app to see EU ads: no coding changes are required. Apps using later versions of the API require no changes at all.
To learn more about the Amazon Mobile Ads API, check out our developer portal here as well as our blog with tips on ad mediation and tracking ad events inside your apps.
*Your results may vary