Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When you win a bid, you might want to resize the banner ad view to the size of the winning creative.
To retrieve the height and width of the winning creative, use the getCreativeHeight and getCreativeWidth methods.
Methods
The following methods are supported in this feature:
| Method | Description |
|---|---|
getCreativeWidth() |
Retrieve the width of the creative for the banner ad view. |
getCreativeHeight() |
Retrieve the height of the creative for the banner ad view. |
Example
BannerAdView bav = new BannerAdView(this);
bav.getCreativeWidth();
bav.getCreativeHeight();