question

Games2win avatar image
Games2win asked

No ads for manual sized ads in Amazon SDK 5.4

We are having problems with the Amazon Ads SDK v5.4. 1) In 5.1, because our in-game banner ad units never fill the width of a game screen, the following code works for us :- this.mAmazonAdView = new AdLayout((Activity) context, AdSize.SIZE_600x90); Once we upgrade to the latest SDK, we never see any ads. Here is what appears in the console :- 08-18 18:19:06.891: D/AmazonMobileAds AdRequest WebRequest HttpURLConnectionWebRequest(14231): Request Body: {"appId":"51db5886abdd47d3834299807c6f5207","slots":[{"slot":"landscape","slotId":1,"sz":"auto","mxsz":"720x90"}],"dinfo":{"screenSize":"1280x800","scalingFactor":"1.5","orientation":"landscape","os":"Android","model":"KFTT","osVersion":"4.0.3","connectionType":"Wifi","language":"en","make":"Amazon","country":"US"},"pkg":{"v":"1","lbl":"amazon_ad_test","vn":"1.0","pn":"com.games2win.amazontest"},"ua":"Mozilla\/5.0 (Linux; U; Android 4.0.3; en-us; KFTT Build\/IML74K) AppleWebKit\/534.30 (KHTML, like Gecko) Version\/4.0 Safari\/534.30","ad-id":"A_dTyp-dcUkLjJ_eTzou4WQ","isTest":true,"adsdk":"amznAdSDK-android-5.4.78","sha1_udid":"91ea0a06bdeac75781780d23f55a2a196a425e32"} 08-18 18:19:07.375: D/AmazonMobileAds WebRequest(14231): Response: {"errorMessage":"no results","status":"error","errorCode":"503","instrPixelURL":" http://aax-us-east.amazon-adsystem.com/x/px/p/CJ3yZVejdE-QxqzRC3cFUA/"} 08-18 18:19:07.375: W/AmazonMobileAds AdLoader(14231): Server Message: no results; code: 503 08-18 18:19:07.375: D/MoPub(14231): Amazon banner ad failed to load because Server Message: no results. 2) Only when we specify the size using the AUTO-SIZE feature, do we start seeing ads. However, the ad then starts to pan within the ad view when the user touches and drags the ad banner. ( which is obviously not what we want) LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT); adView.setLayoutParams(lp); Any clues on why the old system of specifying manual ad units is no longer working ?
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.

Games2win avatar image
Games2win answered
The answer was simple : Provided by Bipen @ https://forums.developer.amazon.com/forums/thread.jspa?threadID=1382
10 |5000

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

Games2win avatar image
Games2win answered
10 |5000

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