NativeAdAdvanced - 不正确的原生广告响应。单击操作未正确指定

NativeAdAdvanced - Incorrect native ad response. Click actions were not properly specified

我正在尝试在我的应用中实施 NativeAd。 昨天之前一切正常,现在正在打印这些错误日志。

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

所以我不能再展示原生广告了。 这是我处理请求的方式。

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那么广告就可以重新下载了。但是填充率很低

看起来SDK正在拒绝从AdMob服务器发送下来的响应,这真的很奇怪。我不认为这是一个可以在 Whosebug 上解决的问题,所以我建议在 AdMob's SDK support forum 中创建一个 post,支持团队可以在其中尝试深入研究这个问题。