question

newuser-e60fff04-f31b-406c-9b6b-7b0075c6a29a avatar image

Mopub Adapter not working in SDK 5.7.2

Followed the instructions to add amazon as a custom native network with mopub as the mediator to my android app. Grabbed the AmazonEventBanner.java adapter from here: https://developer.amazon.com/public/resources/development-tools/sdk

Everything looks good except on line Line 141 of the adapter you provided there's an error that AdSize.SIZE_300x50; is missing. According to the release notes you guys removed it in SDK 5.7.2. Is there an updated version of AmazonEventBanner.java that I can use with 5.7.2?

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

Hi,

Thanks for writing in.

The ad size you are looking for is 320x50.

Please see the documentation on compatible ad sizes.

10 |5000

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