Admob Banner randomly changing from BANNER to FULL_BANNER size with Jetpack Compose

I am integrating Admob's banners in my app, this app runs both in AndroidTV and Android, where it's running in mobile the dimensions must be 320x50(BANNER) which is part of the standard sizes in the docs, but it turns of nowhere to 468x60(FULL_BANNER), this behavior happens oftentimes when you run the app. I am using Jetpack Compose for this, and the add is placed inside a LazyColumn which is the equivalent to a recycler view

My code for the banner is like this:

enum class BannerSize {

    internal fun map(): AdSize = when (this) {
        NORMAL -> AdSize.BANNER

     This Composable goes inside a lazy column with other composable where I have a 
     when statement, where I look if the index is 0 or 5 which are the specific 
     indexes I want to place the ads.
internal fun BannerAd(
    modifier: Modifier = Modifier,
    size: BannerSize = BannerSize.NORMAL,
    id: String = "TODO",
    pos: String = "TODO",
    adId: String,
) {
    val isInEditMode = LocalInspectionMode.current
    if (!isInEditMode) {
            modifier = modifier
            contentAlignment = Alignment.Center
        ) {
                modifier = modifier
                factory = { context ->
                        tag = "Ads",
                        message = "Creating Ad, id: $id, adId: $adId, pos: $pos, size: $size"
                    AdView(context).apply {
                        adListener = object : AdListener() {
                            override fun onAdFailedToLoad(p0: LoadAdError) {
                                Napier.e(tag = "Ads", message = p0.message)
                        adSize =
                        adUnitId = adId
                                    Bundle().also {
                                        it.putString("pos", pos)
    } else {

enter image description here

Has someone encountered something like this while integrating ads with Compose? I've looking for some questions related to this, but I haven't found any

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum