I have integrated FBAudienceNetwork in iOS for native ad.
It works fine for test ad. When I addTestDevice with deviceHash it shows demo ad.
But when I don't add the device and clearTestDevices, it does not show any add, it gives an error: Ad can't be loaded: No-fill.
Can you please let me know what I have to do to show real ads?
Here is the code:
private func addTestDevicesForFacebookAds(){
FBAdSettings.isTestMode()
let key = FBAdSettings.testDeviceHash()
FBAdSettings.setLogLevel(FBAdLogLevel.log)
FBAdSettings.addTestDevice(key)
FBAdSettings.testAdType = .vid_HD_16_9_15s_Link
}
private func clearTestDevicesForFacebookAds() {
FBAdSettings.clearTestDevices()
}
question from:
https://stackoverflow.com/questions/65888917/fbaudience-network-only-showing-test-ad-demo-ad 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…