NativeAdAdvanced-错误的本地广告响应。点击操作未正确指定 [英] NativeAdAdvanced - Incorrect native ad response. Click actions were not properly specified
问题描述
我正在尝试在我的应用中实施NativeAd。
直到昨天一切正常,现在正在打印这些错误日志。
I'm trying to implement NativeAd in my app. Everything worked fine until yesterday, it's now printing these error logs.
I/Ads: WebView loading for native ads.
I/Ads: Javascript has loaded for native ads.
I/Ads: Received log message: <Google:HTML> Incorrect native ad response. Click actions were not properly specified
onAdFailedToLoad errorCode = 0
所以我可以不再显示原生广告。
这是我的请求方式。
So I can't show native ads anymore. Here's how I do the requests.
private AdRequest adRequest = new AdRequest.Builder()
.build();
private NativeAdOptions nativeAdOptions = new NativeAdOptions.Builder()
.setAdChoicesPlacement(ADCHOICES_TOP_RIGHT)
.setRequestMultipleImages(false)
.setReturnUrlsForImageAssets(true)
// Methods in the NativeAdOptions.Builder class can be
// used here to specify individual options settings.
.build();
AdLoader adLoader = new AdLoader.Builder(mContext, adUnitId)
.forAppInstallAd(new NativeAppInstallAd.OnAppInstallAdLoadedListener() {
@Override
public void onAppInstallAdLoaded(NativeAppInstallAd appInstallAd) {
refreshAd(appInstallAd);
}
})
.forContentAd(new NativeContentAd.OnContentAdLoadedListener() {
@Override
public void onContentAdLoaded(NativeContentAd contentAd) {
refreshAd(contentAd);
}
})
.withAdListener(adListener)
.withNativeAdOptions(nativeAdOptions)
.build();
adLoader.loadAd(adRequest);
如果我注释了 forAppInstallAd
,则广告可以再次下载。但是填充率非常低。
If I comment out forAppInstallAd
then the ads can be downloaded again. But the fill rate is very low.
推荐答案
SDK似乎拒绝了AdMob服务器发送的响应。真的很奇怪我认为这不是StackOverflow上可以解决的问题,因此建议您在 AdMob的SDK支持论坛,支持团队可以在其中尝试解决问题。
It looks like the SDK is rejecting the response sent down from the AdMob server, which is really weird. I don't think this is an issue that can be solved on StackOverflow, so I'd recommend creating a post in AdMob's SDK support forum, where the support team can try to dig into the issue.
这篇关于NativeAdAdvanced-错误的本地广告响应。点击操作未正确指定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!