-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native ad not populating in scroll view until user scroll #887
Comments
Possible duplicate of #875? |
Is this a generic implementation issue or does this work depending on implementation? I need to put native ads into my app, but don't want to get started if it means I cannot actually push it to production. |
@mulderpf it does work, it's just that the ads take a long time to load and render on screen. This can look janky, especially if the ads are integrated into a scrollable list between widgets. Also, if the ads appear within a scrollable list, sometimes the user has already scrolled past the ad by the time the ad has loaded and rendered. |
@Wes1324 this has been escalated to the engineering team and I will respond here as soon as I have an update. Thanks. |
I have the same problem . the ad takes 2-3 seconds to display when the user scrolls. |
@Knackynouille do you have the same problem using the sample app and following the steps in the original post? |
I noticed Filip Hráček talking about this very issue at 17:34 in his video about the Flutter casual games toolkit. It seems like he got around it by preloading the ads. I'm not doing much on ads at the moment and won't have time to look into this for a while, but it feels like the google_mobile_ads package should handle this preloading if possible. |
@Wes1324 good find but I think there are two issues being described. The issue that I've noticed: The ad loads successfully but the view is blank until the user starts to scroll. The issue the video seems to be describing is just latency during ad loading. That being said, preloading ads is a valid strategy. We are always exploring SDK-driven pre-loaded ads in our iOS/Android SDKs but nothing concrete at this time. For now, you can use ad load calls to build up a cache of preloaded ads before you intend to show them, so that ads can be shown with zero latency when needed. However; since ads expire after an hour, you should clear this cache and reload with new ads every hour. |
There is any exemple code of this ? A same cached Ad to be used on N pages. Because of that, I'm currently using only Fixed banner ads at bottom of home menu navigator. No ban for more than a year. |
Hi @marcellocamara, at this time there no example code of this (provided by Google). You can also check the forum for any insight. |
Closing this out - isolating the issue to a new bug, tracking the "The ad loads successfully but the view is blank" here #1171 |
[REQUIRED] Step 1: Describe your environment
Plugin Version
3.0.0
[REQUIRED] Step 2: Describe the problem
Seeing an issue with a native ad appearing in app only after scrolling (and the ad is loaded correctly).
Steps to Reproduce
Sample application
To reproduce:
If issue didn't reproduce then repeat. It doesn't reproduce every time. It takes me 5 minutes to reproduce that issue, but it may take more or less time.
Expected results:
I expected the content of the native ad to appear on screen once it has been loaded successfully.
Actual results:
Native ad was "blank" until I started to scroll
Logs
The text was updated successfully, but these errors were encountered: