Improper screen-size loading
-
Hi,
I am here regarding the same screen-size issue but with some 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 to fix this viewport issue in the amp? Is it possible to edit that width, and it’ll still be responsive? or set the viewport so that ad don’t exceed that limit?
- The topic ‘Improper screen-size loading’ is closed to new replies.