Is there a way to get landscape ads with admob? I've got my ads appearing landscape but they are only about half the width of the screen.
I realise it is an old question but now it is possible to achieve what the OP had asked for. Smart Banners are available, just set the value for your adSize as SMART_BANNER.
ads:adSize="SMART_BANNER"
Documentation Reference
That is the normal behavior because the ads for phones have a fixed size no matter the orientation of the phone, see this link for more information. On a tablet on the other hand you have more options for ads size.
So there isn't much to do , just work with the fixed size you are given and cover the empty space you might get from ads not filling the phone width in landscape mode(if you designed the layout in this way).
Related
I have submitted an android tv app to the play store and got rejection email explaining the reason that:
Not designed in landscape orientation. Your app has vertical letterboxing when displayed on TV's. Please design your app to be displayed in landscape orientation.
I have tried removing margins from the screen designs but it didn't helped me. Can anyone help me in solving this issue. I have already added the leanback launcher intent and software.leanback uses feature tag with true value.
Thanks In Advance.
You don't want to just remove padding/margins without explicitly testing it. You have to deal with overscan on TVs, so having anything important at the very edge means it might not be visible on some devices. On ATV, the normal values are 48dp horizontally and 27dp vertically. If you're using the Leanback library, this is handled for you.
Vertical letterboxing is almost always a case of something that's inherently portrait orientation being show in landscape.
You should verify that none of your activities have a screenOrientation set (unless it's landscape). It's pretty common for people to forget one particular screen is forced to portrait (e.g., a login screen from a 3rd party SDK). A quick launch of each Activity/Fragment on an ATV emulator will also help you catch anything wildly wrong.
If your app has video, you also want to make sure you're reasonably matching the aspect ratio. For example, you should display a 16x9 video instead of a 2x3 video on landscape.
I have almost same problem:
To fix this issue, please ensure that your app/game is displayed in landscape orientation and the content fills the entire screen.
Alternatively, if your app requires content to be displayed in its original aspect ratio or is of older quality, please include a disclaimer in your app description or within the app prior to the content playing. You may want to refer to our TV Layouts documentation for additional guidance.
I choosed Alternate solution because the sent me a screenshot of old video in 4:3 scale.
I symply added to app description text about possibility to show content in 4:3 aspect ratio. I hope ot will help. Will it?
According to the android docs, these are the following ad sizes you can implement. The problem is, in my small layout, the ad is too big. Even in the smallest size:
Is there any way to get my ads smaller than Banner? It is way to big for the Small screen size.
Thanks,
Ruchir
You should check out the Android-specific documentation on AdMob banner sizes:
Note how the sizes mentioned above are not quite the same as in your own table. BANNER is 320x50, which may already be small enough for small. If not, you'll also see SMART_BANNER mentioned in the last row. I'll just copy-paste that section below too (it's pretty well-described), but be sure to also check out the link above, as things can (and will) change in time.
In your app where you're using admob, the SDK will request whatever size the requesting AdView was instantiated with. If there isn't enough space on the device's screen to display the ad, nothing will be shown.
Please check the links below :
admob adsize for ad height
https://developers.google.com/admob/android/banner
Wondering if there are any android advertisement platform/SDK's that would let me pick the size for the ad? I have attached a screen shot of an app layout and I am interested in replacing one or two of the tiles with an Ad... Is there an android ad platform that you would recommend?
I have been digging into some of the ad sdk's and the closest I could find was the rectangle ad's offered by millennial media. Although I am not sure if they would let me pick an aspect ratio/size that is closest to their recommended aspect ratio of 1.2
I also looked at AdMob but it looks like only support banners or full page ads..
I can confirm that Admob does only offer banner or interstitial ads.
I'm working with a few different ad networks, and they all work fine and dandy on most devices, but on devices with a high screen density, they try to be helpful and scale themselves up. But that's pretty much the opposite of what I need.
My layout is very specific to different screen sizes, and when I request ads with a specific pixel size from several different ad networks, they are scaled based on the screen density. My question is this:
How can I scale the views back down to the pixel size I asked for? If it helps, the ad networks I've had trouble with include JumpTap, AdMob, and, to a lesser extent, Millennial Media.
I've been implementing ads in an android application, but I wanted to make one that was 200x100px. All I could find were banner ads and none of them could be a custom size, or at least close to the desired size. Are there any mobile ad networks that would provide this? Thanks.
Check out
https://support.google.com/adsense/bin/answer.py?hl=en&utm_medium=link&utm_campaign=ww-ww-et-asfe_&utm_source=aso&answer=185668
But I am not sure if we can have small adds for high density screens. Which means it is compulsory to keep add width and height to wrap content and the content automatically either takes complete width or is not shown