Replies: 0
Hi,
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 (100vw) 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.
Is it possible to fix the width, and the ad will remain responsive? OR any other way that it will not exceed the width. I’ve tried reading the related documents but didn’t get the solution. Help, please.