Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.3k views
in Technique[技术] by (71.8m points)

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

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...