Close button for AdMob banner

2019-07-21 05:19发布

问题:

Is there any way to set a close button at a AdMob's banner? I mean those small 'x' to dismiss the banner...

I'm currently adding my banner to the layout like this:

<com.google.ads.AdView
        android:id="@+id/adView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        ads:adSize="SMART_BANNER"
        ads:adUnitId="my_id_here"
        ads:testDevices="TEST_EMULATOR"
        ads:loadAdOnCreate="true" />

回答1:

There is currently no way to include an X button on a banner ad using the SDK. Hopefully this feature becomes available sometime down the road.



标签: android admob