question

Games2win avatar image
Games2win asked

Sizing ads in Unity games

We are using the latest Amazon SDKs in our Unity games, and are unable to control the size of the ad units. Specifically, we want to force 1024x50 ad units in tablet devices, but there are no options to do this. Also, there is no documentation in Unity, on the differences between AdFit.FIT_SCREEN_WIDTH or AdFit.FIT_AD_SIZE, and how they related to the native ad sizes : https://developer.amazon.com/public/apis/earn/mobile-ads/android/docs/concepts#Ad%20Sizes
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.

justin avatar image
justin answered

Hi Games2win,

Unfortunately, developers are not able to request a specific ad size with our cross-platform plugins at this time. The cross-platform plugins use logic to determine the ad size based on the device type in order to provide customers with an optimal ad experience.

As for clarification to the two AdFit options: FIT_SCREEN_WIDTH will select the best ad size and stretch it across the entirety of the screen; FIT_AD_SIZE will select the best ad size without stretching it to the screen, so users may see the side edges as if it's a floating banner.

Thanks for the feedback!

10 |5000

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

Andrew@Amazon avatar image
Andrew@Amazon answered
Hi Games2win, On tablets, the Auto Ad Size will select 600x90, 728x90, or 1024x50. It will select whichever one fits the best into the container provided. So, if the container or screen size is smaller than 1024 wide, it won't be able to fit a 1024x50 ad. Could you describe your use-case to us, why you want to force 1024x50 ads, so we can better understand developers' needs?
10 |5000

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