Adsense 广告不显示在 cordova webview 上

Adsense ads are not displayed on cordova webview

我正在构建一个 cordova 应用程序,我想在其中展示 adsense 广告。但是没有显示广告。

尝试检查代码并喜欢以下警告

index.html 代码:

<div class="card1">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- wasd-1 -->
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-9663169732625617" data-ad-slot="7097833261" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>

错误:

Failed to load resource: the server responded with a status of 403 ()
ads:1 

Failed to load resource: the server responded with a status of 403 ()
The resource https://pagead2.googlesyndication.com/pagead/js/r20190612/r20190131/show_ads_impl.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
ads:1 

Failed to load resource: the server responded with a status of 403 ()

您不能将 adsense 加载到常规 Webview 中,因为 Google 本身会阻止它。相反,为此获取一个 adsense Cordova 插件。另请注意,要从中获得相关收入,您每天需要数千次展示和百分之一的点击。