Hi,
thanks for your reply! But isn’t it weird that the ads were/are show(ing) when I watch the articles being logged in?
I did set a width now, but unfortunately, they still don’t show. But it’s supposed to be what’s used on desktop, tablet, and also non-AMP mobile requests (so not sure if setting a width would be an efficient solution). This is the code I have now (not sure if the slot number is sensitive information, probably not, but just in case replaced it with single digits):
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1173067649194925"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block; text-align:center;width:696px"
data-ad-layout="in-article"
data-ad-format="fluid"
data-ad-client="ca-pub-1173067649194925"
data-ad-slot="1">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
[ADINSERTER ROTATE]
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1173067649194925"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block;width:696px"
data-ad-format="autorelaxed"
data-ad-client="ca-pub-1173067649194925"
data-ad-slot="2">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
[ADINSERTER ROTATE]
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1173067649194925"
crossorigin="anonymous"></script>
<ins class="adsbygoogle"
style="display:block;width:696px"
data-ad-client="ca-pub-1173067649194925"
data-ad-slot="3"
data-ad-format="auto"
data-full-width-responsive="true">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
[ADINSERTER AMP]
<amp-ad width="100vw" height="320"
type="adsense"
data-ad-client="ca-pub-1173067649194925"
data-ad-slot="4"
data-auto-format="rspv"
data-full-width="">
</amp-ad>
[ADINSERTER ROTATE]
<amp-ad width="100vw" height="320"
type="adsense"
data-ad-client="ca-pub-1173067649194925"
data-ad-slot="5"
data-auto-format="mcrspv"
data-full-width="">
</amp-ad>
Was working before, when I had them inserted via the theme options into the article content.
Might be that I use some of the non-AMP scripts with the same data-ad-slot number at other spots on the page (sidebar, below content maybe). Is that a problem?
Thanks!
-
This reply was modified 2 years, 3 months ago by
ecronik.