广告尺寸。

320x50

标准横幅广告 手机和平板电脑 GAD_SIZE_320x50
300x250 IAB 中矩形 平板电脑 GAD_SIZE_300x250
468x60 IAB 全尺寸横幅广告 平板电脑 GAD_SIZE_468x60
728x90 IAB 页首横幅 平板电脑 GAD_SIZE_728x90
上面是admob在ios上的尺寸。出处:https://developers.google.com/mobile-ads-sdk/docs/ios/intermediate#bannersizes


尺寸(宽度x高度) 说明 适用范围 AdSize 常量
320x50 标准横幅广告 手机和平板电脑 BANNER
300x250 IAB 中矩形 平板电脑 IAB_MRECT
468x60 IAB 全尺寸横幅广告 平板电脑 IAB_BANNER
728x90 IAB 页首横幅 平板电脑 IAB_LEADERBOARD

上面是admob在android上的尺寸。出处:https://developers.google.com/mobile-ads-sdk/docs/android/intermediate#bannersizes



ADBannerContentSizeIdentifierPortrait

Indicates that the banner view is in portait mode. The exact size of the portait view is dependent on the iOS device the advertisement is displayed on. On iPhone, a portrait banner is 320 points by 50 points in size. On iPad, a portrait banner is 768 points by 66 points in size.

Available in iOS 4.2 and later.

Deprecated in iOS 6.0.

Declared in ADBannerView_Deprecated.h.

ADBannerContentSizeIdentifierLandscape

Indicates that the banner view is in landscape mode. The exact size of the view is dependent on the iOS device the advertisement is displayed on. On iPhone, a landscape banner is 480 points by 32 points in size. On iPad, a landscape banner is 1024 points by 66 points in size.

Available in iOS 4.2 and later.

Deprecated in iOS 6.0.

Declared in ADBannerView_Deprecated.h.


上面是iad在iphone/ipad上的尺寸。出处:http://developer.apple.com/library/ios/#documentation/userexperience/Reference/ADBannerView_Ref/Reference/Reference.html







/**
  *适用于iPad 的排行榜尺寸。
  *与此广告位相应的广告尺寸是 CGSizeMake (728,90)
*/
#define IM_UNIT_728x90 11

/**
  *适用于 iPhone 和 iPod Touch 的标准富媒体广告尺寸。
  *与此广告位相应的广告尺寸是 CGSizeMake(320, 50)
*/ 
#define IM_UNIT_320x50 15

上面是inmobi在iphone,ipad上的尺寸。出处:http://developer.inmobi.com/wiki/index.php?title=SDK_350_Integration_Guide_for_iOS_(zh_CN)





/**
* InMobi标准广告尺寸,320x48像素,适用于所有设备尺寸
*/
      static final int INMOBI_AD_UNIT_320X48 = 9;
/**
* InMobi中等矩形广告尺寸,像素 300x250,适用于所有设备尺寸。
*/
      static final int INMOBI_AD_UNIT_300X250 = 10;
/**
* InMobi通栏广告尺寸,像素 728x90,适用于平板电脑屏幕尺寸。
*/
      static final int INMOBI_AD_UNIT_728X90 = 11;
/**
* InMobi 全横幅广告尺寸,像素468x60,适用于平板电脑屏幕尺寸。
*/
      static final int INMOBI_AD_UNIT_468X60 = 12;
/**
* InMobi 摩天大楼广告尺寸,120x600像素,适用于平板电脑屏幕尺寸。
*/
      static final int INMOBI_AD_UNIT_120X600 = 13;
/**
* InMobi 富媒体横幅广告尺寸,像素 320X50。
*/
      static final int INMOBI_AD_UNIT_320X50 = 15;

上面是inmobi的android广告尺寸,出处。http://developer.inmobi.com/wiki/index.php?title=SDK_350_Integration_Guide_for_Android_(zh_CN)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值