fixed Size
Returns fixed banner size.
Return
Fixed banner size.
Creates an object of the BannerAdSize class with the specified width and height of the banner. The method is intended for use in Third-Party Mediation. For receiving an adaptive anchor banner located at the top or bottom of the screen use stickySize, for banner in the feed use inlineSize.
Parameters
context
The Context.
width
The width of the ad container in density-independent pixels (dp).
height
The height of the ad container in density-independent pixels (dp).