Amazon mobile ads not working

I have implemented Amazon Mobile Ads in accordance with this guide: https://developer.amazon.com/public/apis/earn/mobile-ads/docs/quick-start

But I'm having problems displaying ads, and it looks like my application is somehow rejected by the Amazon ad server:

02-11 11: 48: 33.774: D / AmazonMobileAds AdLayout (10350): Ad size is determined automatically. 02-11 11: 48: 33.779: D / AbsListView (10350): onVisibilityChanged (), visibility: 4 02-11 11: 48: 33.779: D / AbsListView (10350): unregisterIRListener () called 02-11 11: 48: 33.799: D / AbsListView (10350): onVisibilityChanged () is called, visibility: 0 02-11 11: 48: 33.799: D / AbsListView (10350): unregisterIRListener () is called 02-11 11: 48: 34.099: D / AmazonMobileAds AdRequest WebRequest (10350): URL: http://aax-us-east.amazon-adsystem.com/x/msdk?appId= & dinfo =% 7B% 22scalingFactor% 22% 3A% 222.0% 22% 2C% 22screenSize% 22 % 3A% 22720x1280% 22% 2C% 22 orientation% 22% 3A% 22portrait% 22% 2C% 22os% 22% 3A% 22Android% 22% 2C% 22model% 22% 3A% 22GT-I9305% 22% 2C% 22osVersion% 22 % 3A% 224.3% 22% 2C% 22connectionType% 22% 3A% 22Wifi% 22% 2C% 22carrier% 22% 3A% 22Chunghwa% 20Telecom% 22% 2C% 22language% 22% 3A% 22en% 22% 2C% 22make % 22% 3A% 22samsung% 22% 2C% 22country% 22% 3A% 22US% 22% 7D & PKG =% 7B% 22B% 22% 3A% 2215% 22% 2C% 22lb l% 22% 3A% 22Baby% 20Monitor% 22% 2C% 22vn% 22% 3A% 220.5% 22% 2C% 22pn% 22% 3A% 22com.astrotek.babymonitor% 22% 7D & aa = Mozilla% 2F5. 0% 20% 28Linux% 3B% 20U% 3B% 20Android% 204.3% 3B% 20en communication% 3B% 20GT -I9305% 20Build% 2FJSS15J% 29% 20AppleWebKit% 2F534.30% 20% 28KHTML% 2C% 20like% 20Gecko% 29% 20Version% 2F4.0% 20Mobile% 20Safari% 2F534.30 & ad-id = A6Ndy818A0Pko7-rm16G81E & isTest = true & adsdk = amznAdSDK-android-5.1.153 & slot = portrait & SZ = automatic & mxsz = 720x0 & sha1_udid = 262c355fe50b5d6934081c9bce568ac7fed963cb 02-11 11: 48: 34.629: I / dalvikvm (10350): Jit: resizing JitTable from 4096 - 8192 02-11 11: 48: 34.834: W / AmazonMobileAdsLoad AdoLo DISABLED_APP. Try again after 30 seconds; code: 400 02-11 11: 48: 34.834: D / AmazonMobileAds AdController (10350): adFailed 02-11 11: 48: 34.834: W / MainActivity (10350): ad is not loaded. Code: NO_FILL, Message: Server message: DISABLED_APP. Please try again in 30 seconds.

Some information that may make a difference:

  • The SDK is the latest (downloaded from https://developer.amazon.com/public/apis/earn/mobile-ads )
  • Most of the code is the same as the sample project (FloatingAdActivity.java)
  • If I change the application key in the same way as the sample project ("sample-app-v1_pub-2"), it works
  • The application is registered but not yet published.
  • I am not based in the USA.

What should I change for my app to display Amazon ads?

+7
android amazon amazon-appstore
source share
2 answers

It turned out that the problem is at the end of the Amazon, contacted them and got a fix in a day.

The process was quite simple: I used my contact portal for developers: https://developer.amazon.com/help/contact-us.html , as the theme "Ads for mobile ads", and the content of my initial question is above as a Message. Then they were able to identify the problem and fixed it.

+8
source share

I also had this problem, with a similar error log. After waiting 30-60 minutes, he left by himself. (I did not contact Amazon support and did not change anything in my code).

It looks like adUnits needs to be "warmed up" until the ads are delivered for the first time.

0
source share

All Articles