question

newuser-dea3dce8-0a53-4d1c-b5e1-89fe318515ad avatar image

Amazon Ads not showing test ads in iOS app using SDK

Hi,

I am creating new ios app key but still not showing Amazon Test Ads in the app.

Log :

AmazonAd [Debug]: Ad Failed to load. Error code 1: Try again in 9.788489 seconds

AmazonAd [Debug]: Response: 200 no error

Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service

sdk
10 |5000

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

Sheldon@Amazon avatar image
Sheldon@Amazon answered

Hello,

Thank you for posting on forums.

The first thing to check if you are testing it in Europe, is whether your request payload contain a consent string. For reference, please see "Q: Has your SDK been updated for GDPR?" here: https://developer.amazon.com/docs/mobile-ads/mb-faq.html#general--overview

Also please note that using AdTargetingOptions can limit your fill rate due to no ads that meet your requirements being available at the time. Certain ad sizes may also experience limited fill rates. Please look through these Knowledge Base articles and the Frequently Asked Questions as they can be relevant for your situation:

https://forums.developer.amazon.com/articles/18195/disabled-app-changes.html
https://forums.developer.amazon.com/articles/18197/why-am-i-receiving-no-fill-errors.html
https://forums.developer.amazon.com/articles/18196/why-is-my-fill-rate-dropping.html
https://developer.amazon.com/public/apis/earn/mobile-ads/docs/faq
https://developer.amazon.com/appsandservices/apis/earn/mobile-ads/docs/event-tracking-and-errors

If you are still experiencing any issues, please enable debug logging and send us an excerpt of your log file and if possible a snippet of code where you implemented mobile ads by signing in to your developer account and write to us using the contact us forum:
https://developer.amazon.com/public/apis/earn/mobile-ads/docs/testing-your-app#Debugging

Also, how many times have you tried a bid request with enableTesting = false? The fill rate for production bid requests is not consistent, so seeing "no fill" is standard. Test Mode (enableTesting = true) guarantees test ads, not production ads.


Regards,

Sheldon

10 |5000

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

MapleSimon avatar image
MapleSimon answered

We are also experiencing something strange with test ads all of a sudden.

We are using AmazonAd SDK v3.1.0 which works fine when run in production but as soon as we set the isTestRequest flag:


AmazonAdOptions *options = [AmazonAdOptions options];
options.isTestRequest = YES;

we get NoFill errors which should not be possible when testing:



Please note we've been integrating AMAN in a lot of apps and haven't had issues in the past so it sounds like a new issue.


1614369714370.png (3.6 KiB)
2 comments
10 |5000

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

Hello MapleSimon,


As mentioned earlier, please note that using AdTargetingOptions can limit your fill rate due to no ads that meet your requirements being available at the time. Certain ad sizes may also experience limited fill rates. Please look through these Knowledge Base articles and the Frequently Asked Questions as they can be relevant for your situation:

https://forums.developer.amazon.com/articles/18195/disabled-app-changes.html
https://forums.developer.amazon.com/articles/18197/why-am-i-receiving-no-fill-errors.html
https://forums.developer.amazon.com/articles/18196/why-is-my-fill-rate-dropping.html
https://developer.amazon.com/public/apis/earn/mobile-ads/docs/faq
https://developer.amazon.com/appsandservices/apis/earn/mobile-ads/docs/event-tracking-and-errors

If you are still experiencing any issues, please enable debug logging and send us an excerpt of your log file and if possible a snippet of code where you implemented mobile ads by signing in to your developer account and write to us using the contact us forum:
https://developer.amazon.com/public/apis/earn/mobile-ads/docs/testing-your-app#Debugging


Regards,

Sheldon

0 Likes 0 ·

Hello Sheldon,

I have compared my source code with the SimpleAdSample source and the only difference between a test ad appearing or not is using different app keys.

// Sample app key works
[[AmazonAdRegistration sharedRegistration] setAppKey:@"123"];

vs

// Our app key existing on the dashboard doesn't work
[[AmazonAdRegistration sharedRegistration] setAppKey:@"[REDACTED]"];

As you have suspected, it appears like our test app id has been disabled. Moving forwards, I will be using "123" instead of a test app id when testing SDK integrations.

Thanks for the support,

Simon

0 Likes 0 ·