Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android AdMob Vertical ads

Tags:

android

admob

My app is mostly in a landscape layout and the regular rectangle ads does not fit well with my overall design.

Is it possible to create a vertical ad using AdMob? I mean an ad that's in the Google skyscraper design (adsense) As shown in the photo, I'd like my add to be in the shape of the red rectangle.

enter image description here

like image 732
Aviran Avatar asked Sep 28 '12 17:09

Aviran


2 Answers

Android:rotation="90" on the adView does the trick.

like image 145
Aviran Avatar answered Oct 25 '22 04:10

Aviran


AdMob offers only the following banner formats:

320x50 Standard Banner

300x250 IAB Medium Rectangle

468x60 IAB Full-Size Banner

728x90 IAB Leaderboard Tablets

You can modify the size of the View that shows the ad, but the documentation says that:

No ads will be returned if your view size is too small.

Source: https://developers.google.com/mobile-ads-sdk/docs/admob/intermediate

like image 21
Paul Avatar answered Oct 25 '22 02:10

Paul