getPortraitInlineAdaptiveBannerAdSize

Gets the portrait inline adaptive banner ad size.

Return

The portrait inline adaptive banner ad size.

Parameters

width

The width of the ad.


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

Deprecated

Use @Composable version of same function instead.

Gets the portrait inline adaptive banner ad size.

Return

The portrait inline adaptive banner ad size.

Parameters

context

The context.

width

The width of the ad.

Gets an inline adaptive banner ad size for portrait orientation.

Return

The adaptive AdSize.

Parameters

width

The width of the ad container.


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

Gets an inline 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.

Gets an inline adaptive banner ad size for portrait orientation.

Return

The inline adaptive banner ad size.

Parameters

width

The width of the ad.


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

Gets an inline 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.