Here is the logs of my app
04-04 01:08:32.437 23303-23303/ D/ViewRootImpl: ViewPostImeInputStage processPointer 0
04-04 01:08:32.567 23303-23303/ D/ViewRootImpl: ViewPostImeInputStage processPointer 1
04-04 01:08:33.887 23303-23303/ D/ViewRootImpl: ViewPostImeInputStage processPointer 0
04-04 01:08:33.997 23303-23303/ D/ViewRootImpl: ViewPostImeInputStage processPointer 1
04-04 01:08:34.347 23303-23303/ I/Timeline: Timeline: Activity_launch_request id: time:28158657
04-04 01:08:34.387 23303-23677/ V/FA: Recording user engagement, ms: 243060
04-04 01:08:34.387 23303-23677/ V/FA: Connecting to remote service
04-04 01:08:34.387 23303-23677/ V/FA: Activity paused, time: 43122785
04-04 01:08:34.387 23303-23677/ D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=243060, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-9083480509803982646}]
04-04 01:08:34.407 23303-23677/ V/FA: Connection attempt already in progress
04-04 01:08:34.407 23303-23303/ V/FA: onActivityCreated
04-04 01:08:34.457 23303-23303/ D/TextView: setTypeface with style : 0
04-04 01:08:34.457 23303-23303/ D/Ad: onCreate:
04-04 01:08:34.557 23303-23303/ W/System: ClassLoader referenced unknown path: /data/data/com.google.android.gms/app_chimera/m/0000001f/n/armeabi-v7a
04-04 01:08:34.557 23303-23303/ W/System: ClassLoader referenced unknown path: /data/data/com.google.android.gms/app_chimera/m/0000001f/n/armeabi
04-04 01:08:34.557 23303-23303/ D/ResourcesManager: For user 0 new overlays fetched Null
04-04 01:08:34.567 23303-23303/ D/DynamitePackage: Instantiated singleton DynamitePackage.
04-04 01:08:34.567 23303-23303/ D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
04-04 01:08:34.747 23303-23303/ D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
04-04 01:08:34.777 23303-23303/ I/Ads: Updating ad debug logging enablement.
04-04 01:08:34.817 23303-23303/ I/Ads: Starting ad request.
04-04 01:08:34.817 23303-23303/ I/Ads: Use AdRequest.Builder.addTestDevice("A0B2481B7E47DF9CAC36B6AC708BD7E3") to get test ads on this device.
04-04 01:08:34.827 23303-23303/ W/Ads: Not retrying to fetch app settings
04-04 01:08:34.847 23303-23303/ D/ViewRootImpl: #1 mView = com.android.internal.policy.PhoneWindow$DecorView{a2a47b4 I.E...... R.....ID 0,0-0,0}
04-04 01:08:34.857 23303-23677/ V/FA: Activity resumed, time: 43123259
04-04 01:08:34.867 23303-23677/ D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=MainActivity, firebase_previous_id(_pi)=-9083480509803982646, firebase_screen_class(_sc)=Ad, firebase_screen_id(_si)=-9083480509803982645}]
04-04 01:08:34.917 23303-23677/ V/FA: Connection attempt already in progress
04-04 01:08:34.927 23303-23677/ D/FA: Logging event (FE): ad_query(_aq), Bundle[{firebase_event_origin(_o)=am, firebase_screen_class(_sc)=Ad, firebase_screen_id(_si)=-9083480509803982645, ad_event_id(_aeid)=-9083480509803982644}]
04-04 01:08:34.937 23303-23313/ I/art: Background partial concurrent mark sweep GC freed 224877(9MB) AllocSpace objects, 28(1880KB) LOS objects, 38% free, 25MB/41MB, paused 9.276ms total 151.764ms
04-04 01:08:34.967 23303-23689/ W/Ads: Update ad debug logging enablement as false
04-04 01:08:34.967 23303-23677/ V/FA: Connection attempt already in progress
04-04 01:08:34.967 23303-23677/ D/FA: Connected to remote service
04-04 01:08:34.967 23303-23677/ V/FA: Processing queued up service tasks: 5
04-04 01:08:34.977 23303-23303/ D/ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 48 - 0, 0) vi=Rect(0, 48 - 0, 0) or=1
04-04 01:08:40.127 23303-23677/ V/FA: Inactivity, disconnecting from the service
04-04 01:08:44.427 23303-23303/ V/ActivityThread: updateVisibility : ActivityRecord{966a02f token=android.os.BinderProxy@522ea76 {/com.mdf.ambrowser.home.MainActivity}} show : false
04-04 01:08:44.427 23303-23303/ I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@80c2c87 time:28168738
04-04 01:08:44.427 23303-23303/ I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@522ea76 time:28168739
04-04 01:09:36.717 23303-23303/ E/Ads: Timed out waiting for WebView to finish loading.
04-04 01:10:49.247 23303-23898/ V/FA: Recording user engagement, ms: 134396
04-04 01:10:49.247 23303-23898/ V/FA: Connecting to remote service
04-04 01:10:49.247 23303-23898/ V/FA: Activity paused, time: 43257652
04-04 01:10:49.257 23303-23898/ D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=134396, firebase_screen_class(_sc)=Ad, firebase_screen_id(_si)=-9083480509803982645}]
04-04 01:10:49.277 23303-23898/ V/FA: Connection attempt already in progress
04-04 01:10:49.277 23303-23898/ D/FA: Connected to remote service
04-04 01:10:49.277 23303-23898/ V/FA: Processing queued up service tasks: 2
04-04 01:10:51.317 23303-23303/ V/ActivityThread: updateVisibility : ActivityRecord{f600572 token=android.os.BinderProxy@80c2c87 {/
com.mdf.ambrowser.home.download.Ad}} show : true
04-04 01:10:54.277 23303-23898/ V/FA: Activity resumed, time: 43262688
04-04 01:10:54.297 23303-23303/ I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@80c2c87 time:28298603
04-04 01:10:59.297 23303-23898/ V/FA: Inactivity, disconnecting from the service
-----
There is no problem in code impletation because when i make this activity as launcher in manifestfile it show ads
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
But when i remove intent filter and visit that activity after some action that activity not show ads