question

vntis avatar image
vntis asked

No ad to show

ive just summited an App (name: Message Scheduler) which integrated Amazon Mobile Ads but it didnt show when i run app. my code:
AdRegistration.enableLogging(false);
AdRegistration.enableTesting(false);

adView = (AdLayout)findViewById(R.id.ad_view);
adView.setListener(this);

try {
AdRegistration.setAppKey(APP_KEY); // ive replaced by my Application Key
} catch (Exception e) {
Log.e(LOG_TAG, "Exception thrown: " + e.toString());
return;
}

AdTargetingOptions adOptions = new AdTargetingOptions();
adView.loadAd(adOptions);
mobile ads
10 |5000 characters needed characters left characters exceeded

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

vntis avatar image
vntis answered
i see the problem. im outside the USA Message was edited by: vntis
10 |5000 characters needed characters left characters exceeded

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

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Vntis, Could you set enableLogging to true and see in the logcat what is the reason mentioned there for not loading the ad.
10 |5000 characters needed characters left characters exceeded

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

pitup3 avatar image
pitup3 answered
i am facing the same problem i have done what you suggested AdRegistration.enableLogging(true); AdRegistration.enableTesting(false); here is logcat output, whichalways display when i load ads W/AmazonMobileAds AdLoader(12969): Server Message: no results. Try again in 30 seconds; code: 503 null
10 |5000 characters needed characters left characters exceeded

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

UglyIcons avatar image
UglyIcons answered
Amazon serves ads only to US users, so I think it's ok. If you enable test mode you should see ads even outside US. In the reports you'll see all requests but then a lower number of impressions based on the number of US users...
10 |5000 characters needed characters left characters exceeded

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