Adsense объявления не отображаются на веб-сайте Cordova - PullRequest
1 голос
/ 18 июня 2019

Я создаю приложение 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 ()

1 Ответ

1 голос
/ 18 июня 2019

Вы не можете загрузить AdSense в обычный веб-просмотр, потому что сам Google заблокирует это. Вместо этого получите плагин AdSense Cordova для этого. Также обратите внимание, что для получения соответствующего дохода вам нужны тысячи показов и сотые доли кликов в день.

...