0

我正在为客户开发 Facebook 即时游戏,我的任务是整合一些奖励视频广告。

我已经放置了加载视频广告的基本代码,我的客户说他们能够成功地观看视频。

但是,我无法在我的帐户/设备上看到它。我总是收到 ADS_NO_FILL 错误。

作为测试,我尝试播放其他小游戏的视频广告,但我也无法查看它们。然而,我的客户说他们也可以查看其他小游戏上的广告。

如果有人知道会发生什么,那就太好了。这是预期的吗?一直得到ADS_NO_FILL正常吗?

这是我正在使用的代码以防万一:

FBInstant.getRewardedVideoAsync(AD_PLACEMENT_ID).then((rewarded) => {

    // Load the Ad asynchronously
    DebugScreen.log('Load the Ad asynchronously'); 
    preloadedRewardedVideo = rewarded;
    return preloadedRewardedVideo.loadAsync();

}).then(() => {
    DebugScreen.log('Rewarded video preloaded..');

    preloadedRewardedVideo.showAsync().then(() => {
        // Perform post-ad success operation
        DebugScreen.log('Video watched successfully');       
    }).catch((e) => {
        DebugScreen.log(e.message);
    });

}).catch((err) => {
    DebugScreen.log('Video failed to preload.. msg: ' + err.message + ', code: ' + err.code);
});
4

0 回答 0