Replies: 0
Hi,
I am here (regarding) the same screen-size issue but with some more information. Now, I’ve realized that it’s only because of the ads I am using and not any ad plugin.
Image
This is the amp ad code I am using –
<amp-ad width="100vw" height="320"
type="adsense"
data-ad-client="ca-pub-3613xxxxxxxxx"
data-ad-slot="4xxxxxx"
data-auto-format="rspv"
data-full-width="">
<div overflow=""></div>
</amp-ad>
The problem is when [width = 100% of viewport] then that incorrect screen is loading in amp pages don’t know why? I can edit that width, but it’ll become a ‘fixed ad,’ which is not good. Even after fixing the width, the page isn’t showing any ads.
Do you have any solution or suggestion to fix this viewport issue in the amp? Is it possible to edit that width, and it’ll still be responsive?