Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

What are the descriptions for Huawei AdsKit AdListener.onAdFailed error codes?

It works as expected in test mode, but not in production. I'm getting onAdFailed(3) : I/HiAdSDK.h: onAdFailed, errorCode:700 in the log for banner ads and I/HiAdSDK.InterstitialAdManager: onAdFailed, errorCode:204 for interstitial ads.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
4.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

It seems I've found the explanation in FAQ. To be more detailed about code 3:

The ad request is successful, but the server does not return any available ad material.

Also there are predefined enum values.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...