Reward Based Video Ad Failed to Load - Chartboost

152 views
Skip to first unread message

Jack Walker

unread,
Sep 5, 2017, 6:04:59 AM9/5/17
to Google Mobile Ads SDK Developers
Hi, when trying to load an ad request, I receive the following:

'Chartboost Integration Warning: +[Chartboost cacheRewardedVideo:] has been disabled for this session. This app has no active publishing campaigns, please create a publishing campaign in the Chartboost dashboard and wait at least 30 minutes to re-enable +[Chartboost cacheRewardedVideo:]. If you need assistance, please visit http://chartboo.st/publishing.

Reward based video ad failed to load: No ad returned from any ad server.'


Although on Chartboost, it says my publishing campaign is active.

My Ad Unit ID is: ca-app-pub-7039390731388004/3457078997


Thanks

Deepika Uragayala- MobileAds SDK team

unread,
Sep 5, 2017, 3:59:21 PM9/5/17
to Google Mobile Ads SDK Developers
Hi Jack,

I was able to load ads from Chartboost using your Ad Unit ID. Can you try again now using our documentationMost likely you were using a newly created Ad Unit ID that would take a few hours to start serving ads.

Regards,
Deepika Uragayala
Mobile Ads SDK Team

Jack Walker

unread,
Sep 5, 2017, 8:34:46 PM9/5/17
to Google Mobile Ads SDK Developers
Thanks, I can get test ads to load now.

Although, once they load and are watched, none of the following functions are run:

func rewardBasedVideoAd(_ rewardBasedVideoAd: GADRewardBasedVideoAd, didRewardUserWith reward: GADAdReward) {

    print("Reward received with currency: \(reward.type), amount \(reward.amount).")

}


func rewardBasedVideoAdDidOpen(_ rewardBasedVideoAd: GADRewardBasedVideoAd) {

    print("Opened reward based video ad.")

}


func rewardBasedVideoAdDidStartPlaying(_ rewardBasedVideoAd: GADRewardBasedVideoAd) {

    print("Reward based video ad started playing.")

}

    

func rewardBasedVideoAdDidClose(_ rewardBasedVideoAd: GADRewardBasedVideoAd) {

    print("Reward based video ad is closed.")

}

    

func rewardBasedVideoAdWillLeaveApplication(_ rewardBasedVideoAd: GADRewardBasedVideoAd) {

    print("Reward based video ad will leave application.")

}


Do I have to call these manually?


Thanks

Deepika Uragayala- MobileAds SDK team

unread,
Sep 6, 2017, 12:30:01 PM9/6/17
to Google Mobile Ads SDK Developers
Hi Jack,

You need to setup event notifications and listen to callbacks being sent by GADRewardVideoAd through its delegate. The way to do this is to first make sure the class conforms to GADRewardBasedVideoAdDelegate and then assign the delegate like this to the GADRewardVideoAd class. You will then get callbacks for the Reward Video Ad being requested and shown.

Let me know if you have any other questions. I'll be happy to help.

Regards,
Deepika Uragayala
Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages