RewardedVideoAd.onError初始化不执行

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:00 726 0 全屏看文

AI助手支持GPT4.0

RewardedVideoAd.onError初始化不执行
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小游戏 Bug 激励视频广告 微信安卓客户端 7.0.14 2.7.0

问题:进入小游戏后,初始化时绑定RewardedVideoAd.onError监听,当用户无广告,拉取失败时,无错误回调,开发者无法判断具体错误原因。

影响:这样的话,我们就没办法在用户进入小游戏初始化的时候判断用户是否有广告了,也就无法对应的展示广告触发按钮了。

另:需要点击广告触发场景,再次拉取广告后才会执行错误回调。

请官方人员帮忙解决,谢谢!

Framework type problem type API / component name terminal type wechat version basic library version small game bug incentive video advertisement wechat Android client 7.0.14 2.7.0 problem: after entering the small game, it is bound during initialization RewardedVideoAd.onError Monitoring: when the user has no advertisement and the pull fails, there is no error callback, so the developer can't determine the specific cause of the error. Impact: in this way, we can't judge whether users have ads when they enter the game initialization, and we can't display the corresponding trigger button for ads. Another: you need to click the advertisement to trigger the scene and pull the advertisement again before executing the error callback. Please help to solve the problem, thank you!

回答:

Forever:

参考一下官方提供的小游戏api调用demo(https://github.com/wechat-miniprogram/minigame-demo)?

小游戏运营专员-宏:

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

Kyle:你好,提供问题素材如下:
机型:vivo Xplay5A
安卓:5.1.1 
系统版本:Funtouch OS_3.0 Lite
微信版本:7.0.16
代码示例:

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
个人主体小游戏注销时间
获取AccessToken失败
getPotentialFriendList err_code -80002
调用sitesearch接口出现47001 data format error的错误?
V3代金券的背景色 background_color 字段如何填
随便看看
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9047
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7471
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6127