getPortraitAnchoredAdaptiveBannerAdSize

actual fun getPortraitAnchoredAdaptiveBannerAdSize(context: Any?, width: Int): AdSize

Gets the portrait anchored adaptive banner ad size.

Return

The portrait anchored adaptive banner ad size.

Parameters

context

The context.

width

The width of the ad.

expect fun getPortraitAnchoredAdaptiveBannerAdSize(context: Any?, width: Int): AdSize

Gets an anchored adaptive banner ad size for portrait orientation.

Return

The adaptive AdSize.

Parameters

context

Not used on iOS. Can be null.

width

The width of the ad container.

actual fun getPortraitAnchoredAdaptiveBannerAdSize(context: Any?, width: Int): AdSize