Property | Defined By | ||
---|---|---|---|
height : int | AdSize | ||
heightInPixels : int [read-only] | AdSize | ||
type : String [read-only] | AdSize | ||
width : int | AdSize | ||
widthInPixels : int [read-only] | AdSize |
Method | Defined By | ||
---|---|---|---|
AdSize(width:int = 320, height:int = 50) | AdSize | ||
fromObject(data:Object):AdSize [static] | AdSize |
Constant | Defined By | ||
---|---|---|---|
AUTO_HEIGHT : int = -2 [static]
Constant that will cause the height of the ad to scale based
on the height of the device in the current orientation. | AdSize | ||
BANNER : AdSize [static]
Mobile Marketing Association (MMA) banner ad size (320x50 density-independent pixels). | AdSize | ||
FLUID : AdSize [static]
A dynamically sized banner that matches its parent's width and expands/contracts its height to match the ad's content after loading completes. | AdSize | ||
FULL_BANNER : AdSize [static]
Interactive Advertising Bureau (IAB) full banner ad size (468x60 density-independent pixels). | AdSize | ||
FULL_WIDTH : int = -1 [static]
Constant that will cause the width of the ad to match the width
of the device in the current orientation. | AdSize | ||
LARGE_BANNER : AdSize [static]
Large banner ad size (320x100 density-independent pixels). | AdSize | ||
LEADERBOARD : AdSize [static]
Interactive Advertising Bureau (IAB) leaderboard ad size (728x90 density-independent pixels). | AdSize | ||
MEDIUM_RECTANGLE : AdSize [static]
Interactive Advertising Bureau (IAB) medium rectangle ad size (300x250 density-independent pixels). | AdSize | ||
SEARCH : AdSize [static]
A special variant of FLUID to be set on SearchAdView when loading a DynamicHeightSearchAdRequest. | AdSize | ||
SMART_BANNER : AdSize Deprecated: Use adaptive banner sizing [static]
A dynamically sized banner that is full-width and auto-height. | AdSize | ||
WIDE_SKYSCRAPER : AdSize [static]
IAB wide skyscraper ad size (160x600 density-independent pixels). | AdSize |
height | property |
public var height:int
heightInPixels | property |
heightInPixels:int
[read-only] public function get heightInPixels():int
type | property |
type:String
[read-only] public function get type():String
width | property |
public var width:int
widthInPixels | property |
widthInPixels:int
[read-only] public function get widthInPixels():int
AdSize | () | Constructor |
public function AdSize(width:int = 320, height:int = 50)
width:int (default = 320 )
| |
height:int (default = 50 )
|
fromObject | () | method |
AUTO_HEIGHT | Constant |
public static const AUTO_HEIGHT:int = -2
Constant that will cause the height of the ad to scale based on the height of the device in the current orientation. An AUTO_HEIGHT ad determines its height during initialization of the AdView and never changes after that.
BANNER | Constant |
public static const BANNER:AdSize
Mobile Marketing Association (MMA) banner ad size (320x50 density-independent pixels).
FLUID | Constant |
public static const FLUID:AdSize
A dynamically sized banner that matches its parent's width and expands/contracts its height to match the ad's content after loading completes.
FULL_BANNER | Constant |
public static const FULL_BANNER:AdSize
Interactive Advertising Bureau (IAB) full banner ad size (468x60 density-independent pixels).
FULL_WIDTH | Constant |
public static const FULL_WIDTH:int = -1
Constant that will cause the width of the ad to match the width of the device in the current orientation. A FULL_WIDTH ad determines its width during initialization of the AdView and never changes after that.
LARGE_BANNER | Constant |
public static const LARGE_BANNER:AdSize
Large banner ad size (320x100 density-independent pixels).
LEADERBOARD | Constant |
public static const LEADERBOARD:AdSize
Interactive Advertising Bureau (IAB) leaderboard ad size (728x90 density-independent pixels).
MEDIUM_RECTANGLE | Constant |
public static const MEDIUM_RECTANGLE:AdSize
Interactive Advertising Bureau (IAB) medium rectangle ad size (300x250 density-independent pixels).
SEARCH | Constant |
public static const SEARCH:AdSize
A special variant of FLUID to be set on SearchAdView when loading a DynamicHeightSearchAdRequest.
SMART_BANNER | Constant |
public static const SMART_BANNER:AdSize
A dynamically sized banner that is full-width and auto-height.
WIDE_SKYSCRAPER | Constant |
public static const WIDE_SKYSCRAPER:AdSize
IAB wide skyscraper ad size (160x600 density-independent pixels). This size is currently not supported by the Google Mobile Ads network; this is intended for mediation ad networks only.