Properties
A constant for auto-height ads.
A dynamic ad size that can be used for height, indicating that the ad should determine its own height.
Full banner ad size (468x60).
A 468x60 full banner ad.
A constant for full-width ads.
A dynamic ad size that matches the width of the screen.
Large banner ad size (320x100).
A 320x100 large banner ad.
Leaderboard ad size (728x90).
A 728x90 leaderboard ad.
Medium rectangle ad size (300x250).
A 300x250 medium rectangle ad.
Wide skyscraper ad size (160x600).
A 160x600 wide skyscraper ad.
Functions
Selects the appropriate ad size for the current platform.
Provides the appropriate AdSize based on the platform.
Gets the anchored adaptive banner ad size for the current orientation.
Gets an anchored adaptive banner ad size for the current orientation.
Gets the inline adaptive banner ad size for the current orientation.
Gets an inline adaptive banner ad size for the current orientation.
Gets the inline adaptive banner ad size.
Gets an inline adaptive banner ad size for any orientation.
Gets the landscape anchored adaptive banner ad size.
Gets an anchored adaptive banner ad size for landscape orientation.
Gets the landscape inline adaptive banner ad size.
Gets an inline adaptive banner ad size for landscape orientation.
Gets the portrait anchored adaptive banner ad size.
Gets an anchored adaptive banner ad size for portrait orientation.
Gets the portrait inline adaptive banner ad size.
Gets an inline adaptive banner ad size for portrait orientation.