Giter Site home page Giter Site logo

Comments (5)

ericleich avatar ericleich commented on July 24, 2024

For 1), that request in the charles log is for a 400x333 ad against a Native express ad unit. Did you send over the right charles log?

For 2), the onAdLoaded callback currently does happen before the full video is fully loaded, but it's generally expected that the video will finish loading before it ever needs to buffer. How often is this happening? I'd expect this to be a corner case that only shows up when you have a spotty connection.

from googleads-mobile-ios-examples.

acvrp-lab avatar acvrp-lab commented on July 24, 2024

hmmm,ok,this time i disabled other ad types.
https://github.com/cngamegirl/cngamegirl.github.io/blob/master/admobbug2.chls.zip
https://github.com/cngamegirl/cngamegirl.github.io/blob/master/admobbug2.png
the ads seem to be containing same contents. first two times ad is ok. the third time only the above image showed up. the same happened when i test on device before, only a image like this that you can scroll left and right. no video, no reward callback.

for 2), i am not sure how bad our office network is and how often this will happen..... but we think it's a great frustration for our app users if it ever happens, we havent put admob reward ads in production environment as of now

from googleads-mobile-ios-examples.

2819936788 avatar 2819936788 commented on July 24, 2024

hellow i am only test rewardBasedVideoAd that error
Error Domain=com.google.ads Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDescription=Request Error: No ad to show., NSLocalizedFailureReason=Request Error: No ad to show.}

from googleads-mobile-ios-examples.

ericleich avatar ericleich commented on July 24, 2024

@azurebld

From the Charles log, I do see rewarded requests now. The ad that's returning does seem to be a video ad. I'm not sure why it wouldn't play the video, but it does sound like a bug. I will have to circle back and follow up with you.

For 2), I'll share the feedback that you want some callback to know when the video has fully loaded.

from googleads-mobile-ios-examples.

ericleich avatar ericleich commented on July 24, 2024

For 1), there is a bug in the SDK. If the video doesn't load, we do show just the end card. This is fine for an interstitial placement but not for rewarded. This will be fixed, but I don't have an ETA to share.

For 2), it isn't just a simple answer to prefetch the entire video. It's a balance between prefetching enough and not wasting network usage for an ad that may not be shown. Plus, ExoPlayer has a buffer policy of 30s, so it's currently not feasible to fully cache long videos. That said, the team is investigating how to better optimize precaching.

I'm going to close this issue since I've confirmed it's not a problem with the samples themselves. If you have additional questions regarding this, please ask on the Google Mobile Ads SDK developer forum.

from googleads-mobile-ios-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.