question

Kervan ASLAN avatar image
Kervan ASLAN asked

Amazon interstitial ads didnt show in Unity 5

Hello everyone, I'm trying to use Amazon Interstitial Ads in my Unity game. When I run project in Unity editor. I get results below - [i]CreateInterstitialAd[/i] > "identifier = 0" , "adType = FLOATING" - [i]LoadInterstitialAd[/i] > "loadingStarted = False" - [i]ShowInterstitialAd[/i] > "adShown = False" When I build project and run in android phone. I get results below - [i]CreateInterstitialAd[/i] > "identifier = 1" , "adType = INTERSTITIAL" - [i]LoadInterstitialAd[/i] > "loadingStarted = True" - [i]ShowInterstitialAd[/i] > "adShown = False" Why didn't show ads ? What am I doing wrong? Here is my code. http://paste.ubuntu.com/12124985/ [code] using UnityEngine; using System.Collections; using com.amazon.mas.cpt.ads; public class AmazonAdsTest : MonoBehaviour { IAmazonMobileAds mobileAds= AmazonMobileAdsImpl.Instance; ApplicationKey key = new ApplicationKey(); ShouldEnable enable = new ShouldEnable(); // Use this for initialization void Start(){ key.StringValue = "618b8efd521c46ea938275c63b308879"; enable.BooleanValue = true; mobileAds.SetApplicationKey(key); mobileAds.EnableLogging(enable); mobileAds.EnableTesting(enable); mobileAds.EnableGeoLocation (enable); } void OnGUI() { if (GUI.Button (new Rect (10, 10, 150, 50), "CreateInterstitial")) { Ad response = mobileAds.CreateInterstitialAd(); string adType = response.AdType.ToString(); long identifier = response.Identifier; Debug.Log (identifier + " " + adType); } if (GUI.Button (new Rect (10, 80, 150, 50), "LoadInterstitial")) { LoadingStarted response = mobileAds.LoadInterstitialAd(); bool loadingStarted = response.BooleanValue; Debug.Log(loadingStarted); } if (GUI.Button (new Rect (10, 150, 150, 50), "ShowInterstitial")) { AdShown response = mobileAds.ShowInterstitialAd(); bool adShown = response.BooleanValue; Debug.Log("adShown: " + adShown); } } } [/code] And here is my AndroidManifest.xml http://pastebin.com/JdMZFwQ0 [code] [/code]
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Ross@Amazon avatar image
Ross@Amazon answered
The application using app key 618b8efd521c46ea938275c63b308879 is currently disabled. Please contact us for more details: https://developer.amazon.com/appsandservices/support/contact/contact-us.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.