flutter_native_admob icon indicating copy to clipboard operation
flutter_native_admob copied to clipboard

"<Google:HTML> Not all asset views lie inside the native ad view" message

Open angel1st opened this issue 5 years ago • 4 comments

Hi there, Here is the way I call native admob:

...
                    Container(
                      height: 300,
                      child: NativeAdmob(
                        adUnitID: adMobRepository.nativeAdId,
                        loading: ProgressIndicatorWidget(),
                        type: NativeAdmobType.full,
                        //controller: _nativeAdController,
                      ),
                    ),
...

What I have just noticed - right after the ad is successfully loaded, I have this message received in the console:

I/Ads ( 9832): Received log message: Google:HTML Not all asset views lie inside the native ad view. This indicates an integration problem. Such implementations will not be supported in the future. Please make sure that all native ad assets are rendered inside the native ad view.

Please note, the app runs on an emulator but with real ad unit id code.

angel1st avatar Jul 31 '20 10:07 angel1st

@angel1st I think the container height is not enough for all ad asset views. You can increase the container height to check if still have log ?

phungrk avatar Jul 31 '20 14:07 phungrk

@phungrk - the message remains despite of container's height.

angel1st avatar Aug 06 '20 05:08 angel1st

The same message appears for me as well despite of the container's height(IOS Simulator).

<Google> User interactions must be disabled on the asset view to enable click handling. userInteractionEnabled has been set to NO on <UIButton: 0x7fe7dfcb6820; frame = (0 0; 0 0); opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x600000413140>>. <Google> User interactions must be disabled on the asset view to enable click handling. userInteractionEnabled has been set to NO on <flutter_native_admob.StackLayout: 0x7fe7dfcb5ef0; baseClass = UIStackView; frame = (0 0; 0 0); userInteractionEnabled = NO; layer = <CATransformLayer: 0x60000041f620>>.

<Google> <Google:HTML> Not all asset views lie inside the native ad view. This indicates an integration problem. Such implementations will not be supported in the future. Please make sure that all native ad assets are rendered inside the native ad view.

Simulator Screen Shot - iPhone 5s - 2020-10-24 at 12 21 28

Hoost avatar Oct 24 '20 09:10 Hoost

If this help : https://github.com/sakebook/flutter_native_ads/commit/675bf466d87ba7e35ac25babc7921819ffeeeb10#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed

bounty1342 avatar Jan 11 '21 16:01 bounty1342